View previous topic :: View next topic |
Author |
Message |
koan Apprentice
Joined: 01 May 2006 Posts: 169 Location: Melbourne
|
Posted: Thu Feb 05, 2009 1:56 am Post subject: KDE 4.x and Xmodmap |
|
|
Hello,
The keyboard selector doesn't seem to have made it into kde4 yet, so I am using xmodmap to set up multimedia keys.
I have updated the system xmodmap /etc/X11/Xmodmap with the keys I want. I have checked the X scripts and it would seem like this will get loaded. But when KDE started, the keys are not there. So I can just run xmodmap at startup for KDE.
But what I want to understand is what is happening in the sequence. X11 will load xmodmap first, and presumably KDE is then loading what it thinks the keyboard setup is, and overwriting the xmodmap already set. Or is it?
Does anyone know what part of KDE handles this at startup? |
|
Back to top |
|
|
loisl Apprentice
Joined: 18 Apr 2004 Posts: 167 Location: Egelsbach
|
Posted: Fri Feb 06, 2009 4:23 pm Post subject: |
|
|
koan,
i have placed an executable shell script in the /usr/kde/VERSION/env directory which loads my customized Xmodmap file.
Code: | #!/bin/bash
XMODMAP=/usr/local/share/X11/Xmodmap
[[ -f ${XMODMAP} ]] && /usr/bin/xmodmap ${XMODMAP} |
This works with KDE3 or with KDE4 when You have emerged KDE4 with the kdeprefix USE-flag set. Don't ask me where KDE4 looks for files without USE of kdeprefix |
|
Back to top |
|
|
|