SCIENTIFIC-LINUX-USERS Archives

February 2012

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Stephen John Smoogen <[log in to unmask]>
Reply To:
Stephen John Smoogen <[log in to unmask]>
Date:
Tue, 28 Feb 2012 15:27:58 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (35 lines)
On 27 February 2012 21:06, Todd And Margo Chester
<[log in to unmask]> wrote:
> Hi All,
>
> My Cap Lock killer stopped working when I upgraded
> to 6.2:
>
>      xmodmap -e "remove lock = Caps_Lock"
>
> Anyone have a tip on how to get my Cap Lock killer
> to start working again?  (The Cap Lock key is evil.
> Just kidding.  Perhaps.)

Does the following work for you?

#!/bin/sh
setxkbmap -layout "$(setxkbmap -print | awk -F + '/xkb_symbols/ {print
$2}')" -option ctrl:nocaps

It is what I use in RHEL6.2


> Many thanks,
> -T



-- 
Stephen J Smoogen.
"The core skill of innovators is error recovery, not failure avoidance."
Randy Nelson, President of Pixar University.
"Years ago my mother used to say to me,... Elwood, you must be oh
so smart or oh so pleasant. Well, for years I was smart. I
recommend pleasant. You may quote me."  —James Stewart as Elwood P. Dowd

ATOM RSS1 RSS2