Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

KDE autostart & xmodmap howto

From: Robert Gomulka <r.gom1977(at)gmail.com>
Date: Thu Sep 27 2007 - 01:18:00 EDT


Hello,
how can I activate my multimedia keys in Debian, which can be done by executing xmodmap with proper arguments? What have I done so far: 1. executing xmodmap manually works. After that my keys work. 2. Put xmodmap invocation into my script in ~/.kde/Autostart. At first I thought that it didn't work, because xmms (important: run by session manager - automatically saved session) didn't act on those keys. However after xmms restart it started working. So I thought that maybe my xmodmap script is called too late - after xmms - and that's why it wasn't working.
3. I have looked on google, looking for information about kde autostart order. I have found the following directive: X-KDE-autostart-phase=1
I put it into desktop file which replaced my script. Result was exactly the same as in 2, so I entered a bug in Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=443953 4. A nice person reading my bugreport suggested using ~/.kde/env/script.sh instead. I followed his suggestions and created such script. Effect? Weird. Script was called on KDE startup (I added debugs writing to file to it), but my keys weren't registered at all. I checked them with xmodmap -pke and saw only other keys related to my keyboard (chosen from KDE control center).

What's your opinion on that?

KDE 3.5.7, Debian SID

Regards,
Robert

-- 
To UNSUBSCRIBE, email to debian-kde-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Thu Sep 27 01:18:13 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 07:58:19 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library