Please support VectorLinux!

Author Topic: Xmodmap and caps lock  (Read 1079 times)

mich

  • Member
  • *
  • Posts: 2
Xmodmap and caps lock
« on: October 22, 2007, 04:05:37 am »
My left shift key is broken, so i want to use my caps lock as a shift key

i changed .Xmodmap in my home folder into:

remove Lock = Caps_Lock
keysym Caps_Lock = Shift_L
add Shift = Shift_L

and in a terminal i executed:

xmodmap .Xmodmap

so far so good, but i want to make it permanently, i don't manage to do that:

in my .bashrc in my homefolder it says:

xmodmap ~/.Xmodmap

but logging in again, nothing changed.

What do i do wrong?

Thanks for help

kidd

  • Packager
  • Vectorian
  • ****
  • Posts: 682
Re: Xmodmap and caps lock
« Reply #1 on: October 22, 2007, 04:37:03 am »
Which window manager are you using?

Some wm have a rc file (~/.ratpoisonrc for me) that is executed when you enter session.

there I have a line with

xmodmap .xmodmaptweaks


mich

  • Member
  • *
  • Posts: 2
Re: Xmodmap and caps lock
« Reply #2 on: October 22, 2007, 04:46:46 am »
i use kde