Current-Users archive

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

Re: Does "xmodmap ~/.Xmodmap" in ~/.xsession work for you?



Hi,

Option  "XkbOptions"    "ctrl:nocaps"

in /etc/X11/xorg.conf overwrite my settings.

Instead of ctrl:nocaps line, I will use the following in ~/.Xmodmap
and I am happy.

! equivalent to ctrl:nocaps in xorg.conf
remove Lock = Caps_Lock
add Control = Caps_Lock
keysym Caps_Lock = Control_L

Thank you.

From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>, Date: Mon, 11 Feb 2013 
10:31:09 +0900 (JST)

> Hi,
> 
> I have simple ~/.Xmodmap.
> 
> % cat ~/.Xmodmap
> ! Make Super_R as Ctrl
> remove mod4 = Super_R
> add control = Super_R
> 
> And I have the following hunk in ~/.xsession.
> 
> usermodmap=$HOME/.Xmodmap
> if [ -f $usermodmap ]; then
>     xmodmap $usermodmap
> fi
> 
> xmodmap ~/.Xmodmap in ~/.xsession have invoked by startx,
> but no effect for me.
> 
> However xmodmap ~/.Xmodma in my mlterm window has effects.
> 
> 
> My NetBSD environment is NetBSD/amd64 6.99.16 of yesterday with native X.
> % uname -a
> NetBSD tellurium.elements.tetera.org 6.99.16 NetBSD 6.99.16 (NODKWEDGE) #100: 
> Sun Feb 10 21:01:50 JST 2013  
> root%tellurium.elements.tetera.org@localhost:/usr/obj/sys/arch/amd64/compile/NODKWEDGE
>  amd64
> 
> 
> Does your xmodmap ~/.Xmodmap in ~/.xsession work properly?
> 
> Thank you.
> 
> --
> Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
> PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index