Ho switch foreign keyboard?
Hi, I initially set up my system with a French keyboard but have now got my hands on one from the US. I know I can switch in XF86Config for X, but how or where do I switch at the command prompt? Thanks. Jonathan
Re: Ho switch foreign keyboard?
Jonathan Gift [EMAIL PROTECTED] wrote: I initially set up my system with a French keyboard but have now got my hands on one from the US. I know I can switch in XF86Config for X, but how or where do I switch at the command prompt? Try 'setxkbmap'. Cheers, -- Colin Watson [EMAIL PROTECTED]
Re: Ho switch foreign keyboard?
Colin Watson wrote: Thanks for getting back to me! Try 'setxkbmap'. I looked it up and itr seems to deal with X11 only? That correct? I can switch the X keyboard easily. Linux also botts initially in English. It's when the boot is finished that the command prompt keyboard ia French. That's what needs changing? Wil xkbsel do that? I looked in my files and found a reference to kbdconfig? Of any use? Jonathan
Re: Ho switch foreign keyboard?
On Mon, 29 Jan 2001 at 11:17:17 +0100, Jonathan Gift wrote: Colin Watson wrote: Thanks for getting back to me! Try 'setxkbmap'. I looked it up and itr seems to deal with X11 only? That correct? I can switch the X keyboard easily. Ah, right. I misunderstood you (thinking that you wanted a way to change the keymap on the fly rather than having to edit XF86Config and restart X). Linux also botts initially in English. It's when the boot is finished that the command prompt keyboard ia French. That's what needs changing? Wil xkbsel do that? I looked in my files and found a reference to kbdconfig? Of any use? kbdconfig is what you want, I think. Just run it and you'll get a series of menus where you can select your keymap, and optionally set the boot-time default as well. -- Colin Watson [EMAIL PROTECTED]
Re: Ho switch foreign keyboard?
I put this in my .bashrc ... function aoeu() { if [ -n $DISPLAY ]; then setxkbmap -layout us; else loadkeys /usr/share/keymaps/i386/qwerty/us-latin1.kmap.gz; fi; } function asdf() { if [ -n $DISPLAY ]; then setxkbmap -layout dvorak; else loadkeys /usr/share/keymaps/i386/dvorak/dvorak.kmap.gz; fi; } Substitute dvorak for whatever your preferred other keymap. On Mon, Jan 29, 2001 at 11:17:17AM +0100, Jonathan Gift wrote: Colin Watson wrote: Thanks for getting back to me! Try 'setxkbmap'. I looked it up and itr seems to deal with X11 only? That correct? I can switch the X keyboard easily. Linux also botts initially in English. It's when the boot is finished that the command prompt keyboard ia French. That's what needs changing? Wil xkbsel do that? I looked in my files and found a reference to kbdconfig? Of any use? Jonathan