Skim doesn't work after installation, XIM_PROGRAM variable unset

Bug #403004 reported by Zorael
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
skim (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: skim

After an installation of the skim package, the xinput.d alternative /etc/X11/xinit/xinput.d/skim is created, but it is malconfigured. The XIM_PROGRAM variable is unset, which makes programs that rely on SCIM's XIM wrapper functionality not work with the input method. Examples include OpenOffice.org and xterm. This is not a new issue, as I've been using the workaround since at least Gutsy (into Karmic).

The top of /etc/X11/xinit/xinput.d/skim needs to be modified from:

     XIM=SCIM
     XIM_PROGRAM=

to

     XIM=SCIM
     XIM_PROGRAM=/usr/bin/scim
     XIM_ARGS="-d"
     XIM_PROGRAM_SETS_ITSELF_AS_DAEMON=yes

I've even seen reports that the default xinput.d/scim-bridge looks like the following after an 8.10 installation.

     XIM=SCIM
     if [ -e /usr/bin/skim ]; then
     XIM_PROGRAM=" "
     else
     XIM_PROGRAM=/usr/bin/scim-bridge
     fi
     XIM_ARGS="-d"

Which curiously *explicitly* cripples Skim/SCIM if you happen to use xinput.d/scim-bridge alternative and you have Skim installed. I'm not sure what the rationale is here.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.