Re: [kde-linux] Run command at KDE session start



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@xxxxxx>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtcentre.org

Attachment:pgpkNvPpNubeP.pgp
Description: PGP signature

___________________________________________________
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.


Relevant Pages