View previous topic :: View next topic |
Author |
Message |
jdewberr-rtp n00b
Joined: 02 Nov 2011 Posts: 1
|
Posted: Wed Nov 02, 2011 8:09 pm Post subject: xmodmap fails/times out in XFCE |
|
|
Hi All,
I use a simple xmodmap ~/.xmodmaprc in my Autostart with XFCE
It works a few minutes and then "quits" making caps_lock be caps_lock again.
Here's my .xmodmaprc file:
jdewberr@jdewberr-lnx ~ $ cat .xmodmaprc
remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Control_L
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Control_L
I've added this as a "hack" to get me around the problem:
jdewberr@jdewberr-lnx ~ $ cat bin/xmod
xmodmap -e 'remove Lock = Caps_Lock'
xmodmap -e 'keysym Caps_Lock = Control_L'
xmodmap -e 'add Control = Control_L'
jdewberr@jdewberr-lnx ~ $
This fails with or without compiz. In compiz I made a quick keybind/command sequence to invoke my xmodmap again.
Tips and assistance greatly appreciated.
--
Joe |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Tue Nov 08, 2011 1:15 pm Post subject: |
|
|
It's probably your keyboard which is entering into sleep mode, or may be which is disconnected and then connected again. Is it a USB one? _________________ The End of the Internet! |
|
Back to top |
|
|
|