xmodmap for extra keys
Mark Houlder
mark.houlder at ot-t.com
Thu Feb 19 12:26:03 CET 2004
surely if it works in windowmaker, it should work in xfce - as far as
xmodmap is concerned?
if i output the keymap table with
$ xmodmap -pk
the settings are displayed correctly, in both wm and xfce. however, xev
only shows the new mappings under wm, NOT under xfce.
i think i may give up and use lineak or hotkeys, but it's annoying cos i
can't see any reason why it doesn't work
Olivier Fourdan wrote:
>Mark;
>
>If by loading the Xmodmap by hand from an xterm doesn't work, then your
>Xmodmap definition is not correct. xfce doesn't change you hw.
>
>I do have an Xmodmap file loaded and that work.
>
>Olivier;
>
>On Wed, 2004-02-18 at 11:19, Mark Houlder wrote:
>
>
>>that didn't work.
>>
>>in summary, here is what i have:
>>
>>in ~/.Xmodmap:
>>--
>>keycode 227=Multi_key
>>keycode 234=XF86ScrollUp
>>keycode 233=XF86ScrollDown
>>--
>>
>>in ~/.xinitrc and ~/.xfce4/xinitrc:
>>--
>>
>>test -f $HOME/.Xmodmap && xmodmap $HOME/.Xmodmap
>>
>>--
>>
>>in /usr/share/xfwm4/themes/default.keys/keythemerc:
>>--
>>next_workspace_key=XF86ScrollUp
>>prev_workspace_key=XF86ScrollDown
>>--
>>
>>but still, when running xev, no mention of the keycodes from .Xmodmap
>>are visible (as they are under wm and kde), and the shortcuts don't do
>>anything.
>>
>>if i run
>>
>> $ xmodmap ~/.Xmodmap
>>
>>manually from an xterm, it doesn't work either.
>>
>>i was initially tempted to think it was a problem with X, but as it
>>works under wm using all the same files and setup (on the same box), it
>>can't be.
>>
>>
>>
>>
>>Olivier Fourdan wrote:
>>
>>
>>
>>>Mark,
>>>
>>>startxfce4 (and thus the gdm scripts) use $HOME/.xfce4/xinitrc
>>>
>>>Copy /etc/xfce4/xinitrc as an example - Oddly enough, the one we provide
>>>uses that :
>>>
>>>test -f $HOME/.Xmodmap && xmodmap $HOME/.Xmodmap
>>>
>>>Cheers,
>>>Olivier.
>>>
>>>On Tue, 2004-02-17 at 18:19, Mark Houlder wrote:
>>>
>>>
>>>
>>>
>>>>no, i have this line from ~/.xinitrc:
>>>>
>>>> test -f $HOME/.Xmodmap && xmodmap $HOME/.Xmodmap
>>>>
>>>>do i need a seperate xinitrc for xfce4?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>Rich Shepard wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>On Tue, 17 Feb 2004, Mark Houlder wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>I have a T41 thinkpad with some extra keys; i have setup xmodmap mappings
>>>>>>in ~/.Xmodmap which work fine with windowmaker and KDE but not with xfce4.
>>>>>>xev doesn't seem to recognise the key codes undre xfce4... is there
>>>>>>something i'm missing?
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>mark,
>>>>>
>>>>>Do you have this?
>>>>>
>>>>> ~/.xfce/xinitrc:# XKEYS=/etc/X11/xinit/.Xmodmap
>>>>>
>>>>>Rich
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>intY has scanned this email for all known viruses (www.inty.com)
>>>>
>>>>_______________________________________________
>>>>Xfce mailing list
>>>>Xfce at xfce.org
>>>>http://lunar-linux.org/mailman/listinfo/xfce
>>>>http://www.xfce.org
>>>>
>>>>
>>>>
>>>>
>>intY has scanned this email for all known viruses (www.inty.com)
>>
>>_______________________________________________
>>Xfce mailing list
>>Xfce at xfce.org
>>http://lunar-linux.org/mailman/listinfo/xfce
>>http://www.xfce.org
>>
>>
intY has scanned this email for all known viruses (www.inty.com)
More information about the Xfce
mailing list