Xfce Forum

Sub domains
 

You are not logged in.

#1 2011-09-05 23:08:45

Shay
Member
Registered: 2011-09-01
Posts: 6

where to put xmodmap command to have it executed at every startup?

. . . best way to switch ctrl and CapsLock? I've done this for years and can never remember how.

Offline

#2 2011-09-06 19:49:15

mmassonnet
Member
From: the milky way galaxy
Registered: 2006-07-30
Posts: 99
Website

Re: where to put xmodmap command to have it executed at every startup?

The xinitrc file provide by Xfce, which is always parsed when you use startxfce4, will read the file "$HOME/.Xmodmap".

  $  grep -i xmodmap /usr/local/etc/xdg/xfce4/xinitrc
/usr/local/etc/xdg/xfce4/xinitrc:117:test -r $HOME/.Xmodmap && xmodmap $HOME/.Xmodmap

Mike

Offline

#3 2011-09-07 13:55:01

wkr
Member
Registered: 2011-01-01
Posts: 88

Re: where to put xmodmap command to have it executed at every startup?

Hi mmassonnet
I'm a noob so I did'nt understand your reply. Should I write "$  grep -i xmodmap /usr/local etc " in ~/.xinitrc ?
I have always failed to disable permanently Capslock in Xfce.

Offline

#4 2011-09-07 19:02:01

mmassonnet
Member
From: the milky way galaxy
Registered: 2006-07-30
Posts: 99
Website

Re: where to put xmodmap command to have it executed at every startup?

You can put your xmodmap entries inside the file ~/.Xmodmap

This file is parsed automatically when running startxfce4


Mike

Offline

#5 2011-09-08 18:01:04

wkr
Member
Registered: 2011-01-01
Posts: 88

Re: where to put xmodmap command to have it executed at every startup?

Thanks, I will try it

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.006 seconds, 7 queries executed - Memory usage: 522.8 KiB (Peak: 524.88 KiB) ]