View Single Post
Posts: 77 | Thanked: 63 times | Joined on Sep 2009
#20
Originally Posted by poser View Post
Does anybody know the point of the blank "-I" (as in "eye") argument? Does it rely on any assumptions about the present working directory from which the command is executed?
It only works for me if I specify two -I, the first one blank. My guess is that the first blank -I clears the default path. The man page for setxkbmap (on Debian Lenny) doesn't mention anything about this:

-I directory
Adds a directory to the list of directories to be used to
search for specified layout or rules files.

But the man page for xkbcomp (on Debian Lenny) says:

-Idir Specifies top-level directories to be searched for files
included by the keymap description. After all directories
specified by -I options have been searched, the current direc-
tory and finally, the default xkb directory (usually
/usr/lib/X11/xkb) will be searched.

To prevent the current and default directories from being
searched, use the -I option alone (i.e. without a directory),
before any -I options that specify the directories you do want
searched.

Originally Posted by poser View Post
Variations on the setxkbmap command get me variations on the error...but nothing that makes me happy.
It may help figuring out what is going on if you can report what the variations on the setxkbmap command are and what variations on the error result.