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

Re: dvorak keyboard



> On Tue, Jul 30, 2002 at 03:11:31PM +0000, Jason Lunz wrote:
>> alias aoeu='if [ $DISPLAY ]; then setxkbmap us; else loadkeys us; fi'
>> alias asdf='if [ $DISPLAY ]; then setxkbmap dvorak; else loadkeys
>> dvorak; fi'
>
> that's an awesome little trick!  of course, it doesn't help if the
> innocent must get logged in first.  to facilitate normal people i
> usually put a `loadkeys us' in my bash logout script, so i don't
> leave the text console unusable.  another trick would be to bind a
> loadkeys us in /etc/inittab to that alternate key sequence.
>

I use the following ~/.menu/keyboard file:

?package(xbase-clients):needs="x11" section=Keyboard title="US"
command="setxkbmap us"?package(xbase-clients):needs="x11" section=Keyboard title="Dvorak"
command="setxkbmap dvorak"

So the Wife can chonge it without using the keyboard.






Reply to: