Date: Wed, 25 Mar 2015 14:31:55 +0100 From: Marko Turk <marko@markoturk.info> To: freebsd-questions@freebsd.org Subject: Re: tried everything (Swap Caps_Lock and Control_L) nothing works! Message-ID: <20150325133155.GA56359@vps.markoturk.info> In-Reply-To: <20150325125708.GH3131@itcom245.staff.itd.umich.edu> References: <20150325125708.GH3131@itcom245.staff.itd.umich.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 25, 2015 at 08:57:08AM -0400, William Bulley wrote: > This is really annoying. I know I have used xmodmap(1) in the past > and it served me well. I now have a Dell keyboard on a Dell system > and I can't get the caps lock key swapped with the left control key. >=20 > Here is what I have now (yes, both -- belt and suspenders...): >=20 > unix% head -6 $HOME/.xmodmaprc > remove Lock =3D Caps_Lock > remove Control =3D Control_L > keysym Control_L =3D Caps_Lock > keysym Caps_Lock =3D Control_L > add Lock =3D Caps_Lock > add Control =3D Control_L > unix% grep modmap .xinitrc > /usr/local/bin/xmodmap $HOME/.xmodmaprc > unix% grep swap /etc/X11/xorg.conf > Option "XkbOptions" "ctrl:swapcaps" > unix% pkg info | grep xorg-server > xorg-server-1.14.7_2,1 X.Org X server and related programs >=20 > I have rebooted the system as well as restarting Xorg to make sure > everything was running from a fresh beginning. >=20 > One of the above should have worked, but in my xterm window(s) the > caps lock is still CAPS LOCK, sigh... Can anyone provide a clue? >=20 Hi, this works for me (I put it in .xinitrc): setxkbmap -option ctrl:nocaps BR, Marko --n8g4imXOkfNTN/H1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVErjLAAoJEDcRe7P/w1sjocAP/2hrzq2hxB1Mp3uE6DGkqtIy hZmv+PQQ0vlqpK+op2L6UqXoW8lymcNyBDA2qm7n9hbQL9e0GT06EtXrwoZy8rSd 3oKeWOQUoXLo6OACJXqPkeY2gsWWxbMFFcKWJR0ZzrWP14N3gFwjN1+2vyRxwr7p 3aqop7nMHCHkgIb40p54Ta3tFJhCohN7oCPGMMJ16BhF/ZmkXVVLRCEyCiCnhFZZ n0/sF2aLt/FLqNLX7lcMmPJgGyt5+6z2pYMAiY3P0T5Egf4/mq0ElR/d7IUkzgI0 20Wn8lQSMSyJUEyX+DvF60p+dlm9lrnbkDTV28qVTzmKMZHPjJG5LQzMQ9EL3iKz hHqKqNgkePdFUtF6bli+vDt2MJpl1j1hp+t0i6VSP1qRasbxW/iPjXLKuBlHmQsQ qsm4vI8MKQZ+ZxY2WaoVAg8hqTfc/yx3OlUHB6zhIpVPGvK80TnS1z3Hh2UtyJ9i gI8k0moDbhTBStfV97wyTrQsvKyQzVxEJ1QKJlWB2ZUQlYrJb8RQuQ8CxgGG6blr m/1k7B9tYldw3m0dGw2zNPePBU/xXBE4MEuhuYZtO2TeFTqKaoBNpKqFsVBGQach i6yCG3DLjDS5dZdaxnvBUcK8AZoAQtNu6L35fz2hLpC/cOqjsc6WlG79poOqN/If 0RoS8o+205oLqpxG3aZi =KbMD -----END PGP SIGNATURE----- --n8g4imXOkfNTN/H1--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150325133155.GA56359>