Re: [FC2] Automatically starting xmodmap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 16 Jun 2004 20:50:59 +1000
Steffen Kluge <kluge@xxxxxxxxxxxxxx> wrote:

> On Wed, 2004-06-16 at 11:07, Jean Calixte wrote:
> > I use the command
> > 
> > xmodmap -e "add mod3 = Super_L"
> > 
> > to map the Windows key to a few keyboard shortcuts. I'm annoyed at
> > the fact that I have to run this command manually to get the key to
> > map. Is there a file I can edit to set up which commands I want to
> > run at system startup? I'm also using the Gnome environment.
 
> In RedHat releases up to 9 (and may be FC1) you used to stick those
> commands into ~/.Xmodmap, which was read by /etc/X11/gdm/Xsession.
> Alas, in FC2 this file doesn't exist anymore, the X session is setup
> somehow differently.
> 
> However, /etc/X11/gdm/Init/Default loads /etc/X11/Xmodmap, so you
> might try to put your xmodmap commands there.

xmodmap takes a filename as an argument (see "man xmodmap") so you could just copy /usr/X11R6/lib/X11/etc/xmodmap.std to ~/.Xmodmap, edit as required, and put "exec xmodmap ~/.Xmodmap"  in your ~/.Xclients to run when you log in. 


-- 

-John (john@xxxxxxxxxxx)



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux