[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ~/.Xmodmap and Gnome



On Tue, Jul 06, 2004 at 10:56:48PM +0200, Josselin Mouette wrote:

 > If there is the behavior you describe, something must undo what
 > xmodmap has done. Is there someone here with understanding of what
 > GNOME does with XKB?

 This post (mine) won't help one iota, since it's another "I'm also
 clueless about what's going on" but I'm starting to get annoyed by
 it...

 Ever since upgrading to GNOME 2.6 my .Xmodmap file is being silently
 ignored.  _Better_ said all the changes are being overwritten by
 something else.  I suspect another case of "it's either our way or the
 highway".

 This is in my ~/.xsesssion

setxkbmap -symbols 'en_US(pc101)+la+compose(ralt)+group(ctrl_shift_toggle)+us_group2'

for xmodmap in ~/.xmodmap-`hostname` ~/.xmodmap ; do
    if [ -f "$xmodmap" ] ; then
        xmodmap "$xmodmap"
        break
    fi
done

 My keyboard is _not_ behaving exactly like that.

 I _did_ fiddle with gnome-keyboard-properties.

 I start gnome-settings-daemon by hand.  This obviously does something
 to load the keyboard preferences.

 My _guess_ is that the layout(s) are loaded and the options are applied
 therefore undoing whatever customization the user makes with xmodmap.
 This happens, for some reason, at some (small?) time after starting
 gnome-settings-daemon.

-- 
Marcelo



Reply to: