[kde-linux] Run command at KDE session start

Steven Pasternak stevenp500 at bellsouth.net
Mon Jan 30 22:41:04 UTC 2006


Ibrahim Mubarak wrote:
> Hi,
>
> I was successfull at binding my multimedia keyboard extra keys to xmms
> actions. Man I am so excited ;). The last step is to make this setup
> work for every session. To do so, I need to run "xmodmap ~/.Xmodmap" at
> the KDE session startup. I looked around in the KDE User Guide and
> googled my way to some articles, but none helped me. Can anyone here
> tell me where to put this command so that it is executed at every
> session by my user?
>  
> Thanks,
> ib
>
> PS : I am running KDE 3.5 on a debian sid system
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> ___________________________________________________
> This message is from the kde-linux mailing list.
> Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.
>
>   
Just put a simple shell script under ~/.kde/Autostart that looks like:
#!/bin/bash
xmodmap ~/.Xmodmap

Just remember to make it executable.
-Steven



More information about the kde-linux mailing list