.Xmodmap has no effect

2009-03-08 Thread Ed Jabbour
Below is my ~/.Xmodmap.  It's an attempt to make the key assignments permanent 
rather than running xmodmap each login.   It's not working.  Syntax wrong?

keycode 162 = XF86AudioPlay
keycode 164 = XF86AudioStop
keycode 144 = XF86AudioPrev
keycode 153 = XF86AudioNext
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 160 = XF86AudioMute


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: .Xmodmap has no effect

2009-03-08 Thread Frank
On Sun, 2009-03-08 at 17:30 -0400, Ed Jabbour wrote:
 Below is my ~/.Xmodmap.  It's an attempt to make the key assignments 
 permanent 
 rather than running xmodmap each login.   It's not working.  Syntax wrong?
 
 keycode 162 = XF86AudioPlay
 keycode 164 = XF86AudioStop
 keycode 144 = XF86AudioPrev
 keycode 153 = XF86AudioNext
 keycode 174 = XF86AudioLowerVolume
 keycode 176 = XF86AudioRaiseVolume
 keycode 160 = XF86AudioMute
 

AFAIK you have to run xmodmap each login. Try with the -verbose option to turn 
on logging.




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: .Xmodmap has no effect

2009-03-08 Thread Daniel Dickinson
On Sun, 08 Mar 2009 17:49:55 -0400
Frank debianl...@videotron.ca wrote:

 On Sun, 2009-03-08 at 17:30 -0400, Ed Jabbour wrote:
  Below is my ~/.Xmodmap.  It's an attempt to make the key
  assignments permanent rather than running xmodmap each login.
  It's not working.  Syntax wrong?
  
  keycode 162 = XF86AudioPlay
  keycode 164 = XF86AudioStop
  keycode 144 = XF86AudioPrev
  keycode 153 = XF86AudioNext
  keycode 174 = XF86AudioLowerVolume
  keycode 176 = XF86AudioRaiseVolume
  keycode 160 = XF86AudioMute
  
 
 AFAIK you have to run xmodmap each login. Try with the -verbose
 option to turn on logging.

Actually looking at /etc/X11/Xsession.d/foo (forget which one)

it is probably that XKB is active as well (apparently they don't
play nice together).  Do you (OP) have keyboard model setup or an xkb
startup file?

Unfortunately I'm still trying to figure out how to do this without
invoking whatever monster it is that made the Xsession people prevent
loading xmodmap and xkb at the same time.

-- 
And that's my crabbing done for the day.  Got it out of the way early, 
now I have the rest of the afternoon to sniff fragrant tea-roses or 
strangle cute bunnies or something.   -- Michael Devore
GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C  http://gnupg.org


signature.asc
Description: PGP signature


Re: .Xmodmap has no effect

2009-03-08 Thread edju
On Sunday 08 March 2009 20:37:09 Daniel Dickinson wrote:
 On Sun, 08 Mar 2009 17:49:55 -0400

 Frank debianl...@videotron.ca wrote:
  On Sun, 2009-03-08 at 17:30 -0400, Ed Jabbour wrote:
   Below is my ~/.Xmodmap.  It's an attempt to make the key
   assignments permanent rather than running xmodmap each login.
   It's not working.  Syntax wrong?
  
   keycode 162 = XF86AudioPlay
   keycode 164 = XF86AudioStop
   keycode 144 = XF86AudioPrev
   keycode 153 = XF86AudioNext
   keycode 174 = XF86AudioLowerVolume
   keycode 176 = XF86AudioRaiseVolume
   keycode 160 = XF86AudioMute
 
  AFAIK you have to run xmodmap each login. Try with the -verbose
  option to turn on logging.

 Actually looking at /etc/X11/Xsession.d/foo (forget which one)

 it is probably that XKB is active as well (apparently they don't
 play nice together).  Do you (OP) have keyboard model setup or an xkb
 startup file?

 Unfortunately I'm still trying to figure out how to do this without
 invoking whatever monster it is that made the Xsession people prevent
 loading xmodmap and xkb at the same time.

Well, uhhh, hmmm - dunno.  Anyway, stuck a bash script into Autostart that 
runs xmodmap on the Xmodmap file (renamed) and all is well.  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org