Apostolos\’ Daily Plate

Disabling IIIMF

Posted in OpenIndiana, OpenSolaris by asyropoulos on Οκτώβριος 23, 2010

OpenSolaris and the current version of OpenIndiana uses IIIMF (Internet Intranet Input Method Framework). Unfortunately, this tool does not function properly in OpenIndiana especially when Greek is the basic language. If one wants to get reed of IIIMF, then there are a number of things that must be done:

  1. Disable IIIMF from the System ▸ Preferences  ▸ Startup Applications Preferences.
  2. Create file /etc/hal/fdi/policy/10-x11-input.fdi that roughly contains the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <deviceinfo version="0.2">
    <device>
    <match key="info.capabilities" contains="input.keys">
    <merge key="input.x11_options.XkbRules" type="string">base</merge>
    <merge key="input.x11_options.XkbLayout" type="string">us,gr</merge>
    <merge key="input.x11_options.XkbVariant" type="string">,polytonic</merge>
    <merge key="input.x11_options.XkbOptions"
     type="string">grp:alt_shift_toggle,terminate:ctrl_alt_bksp,kpdl:comma</merge>
    </match>
    </device>
    </deviceinfo>
  3. Replace file /usr/share/X11/locale/el_GR.UTF-8/Compose and file /usr/share/X11/locale/en_US.UTF-8/Compose with the actual Xorg Compose files from http://cgit.freedesktop.org/xorg/lib/libX11/ In particular, download the latest libX11 source and find the corresponding files in folder nls. Note that this folder contains files named Compose.pre. These files are not directly usable. One needs to «translate» all XCOMM strings to #s.
  4. Reboot your system and you are ready!
Advertisements

The healthiest home in town

Posted in Περιβάλλον by asyropoulos on Οκτώβριος 16, 2010