Re: [kde-linux] Run command at KDE session start
- From: Rick Wagmer <rjw27@xxxxxxxxxxxx>
- Date: Mon, 30 Jan 2006 20:57:11 -0700
On Monday 30 January 2006 19:59, Pollywog wrote:
> On 01/31/2006 12:20 am, 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!)?
>
> I use /etc/kde3/kdm/Xsession so it works for all users.
>
>
> 8)
Thanks for the pointer. After looking at the file (/etc/kde/kdm/Xsession on
Fedora-4), I saw it referenced /etc/X11/xinit/xinitrc-common, which in turn
loaded /etc/X11/Xmodmap (again, these are the paths used by Fedora).
By putting my mappings there, they show up for all users, and presumably, all
desktops. I checked it by logging on to a test account, using Gnome, and my
key mappings showed up there too.
Thanks again for the pointer.
--rick
___________________________________________________
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.
- References:
- [kde-linux] Run command at KDE session start
- From: Ibrahim Mubarak
- Re: [kde-linux] Run command at KDE session start
- From: Rick Wagmer
- Re: [kde-linux] Run command at KDE session start
- From: Pollywog
- [kde-linux] Run command at KDE session start
- Prev by Date: Re: [kde-linux] Run command at KDE session start
- Next by Date: [kde-linux] Scrambled letters in KDE
- Previous by thread: Re: [kde-linux] Run command at KDE session start
- Next by thread: Re: [kde-linux] Run command at KDE session start
- Index(es):