On 2007-05-18, Mike McClain <[EMAIL PROTECTED]> wrote:
> On 18 May 2007 Tyler Smith <[EMAIL PROTECTED]> asked:
>> Ok, I sorted this out with
>> 
>> dumpkeys | sed -f /etc/console-tools/remap | loadkeys
>> 
>> I needed to edit the remap file, changing Caps-Lock to Shift_Lock, (or
>> the other way round). This line has to be run as root - where do I put
>> it so that it happens every time I log in or boot?
>
> grep -r /etc/console-tools/remap /etc/*
>
> Will show you that /etc/init.d/console-screen.sh already does what you want.
>

I rebooted this morning, and it didn't work, notwithstanding the
output of grep, which does suggest that it should have. I just ran the
following: 

tyler:~-> cat /etc/console-tools/remap
# This sed script is run across the dumpkeys output to remap keys on the console

# This turns caps lock into control
s/keycode  58 = Shift_Lock/keycode  58 = Alt/;

tyler:~-> dumpkeys | grep " 58"
keycode  58 = Shift_Lock      
tyler:~-> 

So whatever happens in the files you had me grep, it's not modifying
the keymap...

Tyler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to