You are not logged in.
well, to be exact: it seems to work:
this is the script i execute (~/test):
#!/bin/sh
/usr/bin/xmodmap -v /home/rob/.Xmodmap &> /tmp/xmodm
which produces:
$> cat /tmp/xmodm
! /home/rob/.Xmodmap:
! 1: remove lock = Caps_Lock
! Keysym Caps_Lock (0xffe5) corresponds to keycode(s) 0x42
remove lock = 0x42
! 2: add mod4 = Caps_Lock
add mod4 = Caps_Lock
!
! executing work queue
!
remove lock = 0x42
add mod4 = Caps_Lock
but xfce seems to reset that (??)
if i run ~/test afterwards, everything works as expected
☃ Snowman ☃
Offline
Hello, I was having the same problem after upgrading to Xfce 4.6. Even when I ran xmodmap from the command line, the keyboard behavior wasn't changed.
Try going to the Xfce keyboard settings, then to the "layout" tab, and check "Use system defaults." Then log out and back in again. This seemed to be the thing that fixed it for me.
Offline
I am no expert but there is something fishy going on with xfce's keyboard support. Could someone take a look at my problem that I tried to diagnose as best as I could. It seems something similar:
http://bbs.archlinux.org/viewtopic.php?id=67297
Offline
I'm running into a similar issue.
#!/bin/sh
/usr/bin/xmodmap -v -e 'clear Lock' -e 'keycode 66 = Escape' &> /tmp/xmodm
$ cat /tmp/xmodm
! 1: clear Lock
clear lock
! 1: keycode 66 = Escape
keycode 0x42 = Escape
!
! executing work queue
!
clear lock
keycode 0x42 = Escape
It's really weird since if I run that manually, it works perfectly, but it seems to not work as a startup script, even though it runs (and has the same output from both runs of the script)...
Edit: This issue is gone after forcing xfce to use the settings in X for the keyboard as opposed to its own settings. Hmm... maybe xfce resets the keyboard as it starts up, so any temporary mappings are gone? *shrugs* It works for me now, although it was working before I removed some things from starting up and disabled session saving.
Last edited by lollerskates (2009-04-09 22:33:15)
Offline