[kde-linux] Run command at KDE session start

Kevin Krammer kevin.krammer at gmx.at
Tue Jan 31 00:51:24 UTC 2006


On Tuesday 31 January 2006 01:20, Rick Wagmer wrote:
> On Monday 30 January 2006 15:34, Kevin Krammer wrote:
> > On Monday 30 January 2006 23:28, 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?
> >
> > create directory ~/.kde/env and put a file in there including this
> > command. Only necessity is to have an .sh extension, nothing else (will
> > be sourced by startkde)
> >
> > Cheers,
> > Kevin
>
> Is there a common place to put this, so it happens for all users?  How
> about with X start up, in case someone runs something other than KDE (don't
> know why, but it could happen!)?

Yes, I think X has some initiation scripts as well, but I unfortunately don't 
know any details about them.

For KDE you can move the above mentioned file to KDEPREFIX/env (where 
KDEPREFIX means the directory KDE is installed under)

Cheers,
Kevin

-- 
Kevin Krammer <kevin.krammer at gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtcentre.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20060131/eeebe9bc/attachment.sig>


More information about the kde-linux mailing list