Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xmodmap fails/times out in XFCE
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jdewberr-rtp
n00b
n00b


Joined: 02 Nov 2011
Posts: 1

PostPosted: Wed Nov 02, 2011 8:09 pm    Post subject: xmodmap fails/times out in XFCE Reply with quote

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
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Tue Nov 08, 2011 1:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum