You are not logged in.

#1 2009-02-28 22:19:21

skorpan
Member
Registered: 2007-11-09
Posts: 81

xmodmap and xinitrc

Hi

I've googled for this problem quite a bit, but I can't figure out what the solution might be.

The problem is that when I use xmodmap in my ~/.xinitrc file, it simply doesn't have any effect once I've logged in. I'm using the latest of "everything" and SLiM as my login manager.

This is my ~/.xinitrc:

export PATH=$HOME/.cabal/bin:$HOME/usr/bin:$PATH &
xsetroot -cursor_name left_ptr &
setxkbmap se dvorak &
urxvtd -f -q &
xmodmap /home/skorpan/.Xmodmap
/home/skorpan/.cabal/bin/xmonad

This is my file ~/.Xmodmap:

remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Caps_Lock
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Control_L

Thanks

Offline

#2 2009-03-17 17:01:39

awfullyawesome
Member
Registered: 2008-08-23
Posts: 12

Re: xmodmap and xinitrc

xmodmap .xmodmap &&
exec awesome

did the trick for me

Offline

#3 2013-09-26 03:43:44

diablo465
Member
Registered: 2013-09-26
Posts: 1

Re: xmodmap and xinitrc

awfullyawesome wrote:

xmodmap .xmodmap &&
exec awesome

did the trick for me

thanks, it also works on my gentoo

Last edited by diablo465 (2013-09-26 03:44:29)

Offline

#4 2013-09-26 03:52:36

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 26,843
Website

Re: xmodmap and xinitrc

Please don't necrobump: https://wiki.archlinux.org/index.php/Fo … Bumping.27


Closing (andmoving to Apps and DEs).


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB