Re: Automating xmodmap keymaps
- From: Andrea Ganduglia <nonews.org@xxxxxxxxx>
- Date: Sun, 11 Apr 2010 18:01:09 +0200
On Sat, Apr 10, 2010 at 6:01 PM, Disc Magnet <discmagnet@xxxxxxxxx> wrote:
Everytime I log into GNOME, I run this command in my home directory.
xmodmap keymaps
How can I automate this?
You can try with .xinitrc and/or .xsession, it should work.
Alternatively, you can try with .bachrc file, but in this way command
will be execute every time you open a shell session (i.e. open a
terminal): I suggest you to prevent this with a little bit code:
if [ `cat /tmp/$USER-keymaps.load` -ne 1 ]; then
xmodmap keymaps
echo 1 > /tmp/$USER-keymaps.load
fi
--
Openclose.it - Idee per il software libero
http://www.openclose.it
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/k2t457d677b1004110901j3f92ae95x9a8a99d6deb164df@xxxxxxxxxxxxxx
- Follow-Ups:
- Re: Automating xmodmap keymaps
- From: Jon Dowland
- Re: Automating xmodmap keymaps
- References:
- Automating xmodmap keymaps
- From: Disc Magnet
- Automating xmodmap keymaps
- Prev by Date: Re: Boot / LVM best practices
- Next by Date: Re: [OT] Ubuntu vs Debian forums (was recompiling the kernel with a different version name)
- Previous by thread: Re: Automating xmodmap keymaps
- Next by thread: Re: Automating xmodmap keymaps
- Index(es):
Relevant Pages
|