Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Changing keyboard leyouts after boot in 6.2

  1. #1
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198

    Changing keyboard leyouts after boot in 6.2

    I have a serious problem. I am using en_US keyboard most of the time, but ocasionally I have to write some documents in my language using bulgarian phonetic keyboard and I need to be able to change between us and bg keyboards on the fly.
    Is there any way I can change keyboards.
    I tryed fbxkb, but it gives me this error at start :
    fbxkb : X error: BadAtom (invalid Atom parameter)

  2. #2
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198
    I figured it out - it's a bit complicated at least for me. If someone has the same problem - post a reply and I will post the solution in the forum

  3. #3
    Junior Member
    Join Date
    May 2010
    Posts
    3

    same problem, different language

    I have the German-language version of Adriane 6.2, and a Brazilian Portuguese keyboard (there are two main types, this is the kind with deadkey accents). Cheatcode options change the language *and* keyboard to the same ~locale~ (those were supposed to be quotation marks, btw). If there were a Brazilian Portuguese option, that would be ok if it had the right Brazilian keyboard, but as far as I can see there isn`t a cheatcode for this.

    A more recent post complained about the lack of KDE functionality in Adriane, and maybe this has something to do with it. Suggested solutions I have found online for similar problems tell you to go to KMenu - Settings - Control Panel - Regional something, and I can find neither settings nor control panel. If it did exist, maybe it still wouldn`t allow you to solve this type of problem where the language and the keyboard are different, and they are less common languages or keyboards.

    Mecho, please do tell me the solution you found. One that wasn`t ~complicated~ would be even better (as Knoppix is a live CD) if anyone has any ideas!

  4. #4
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198
    Sorry for the late answer. I am not sure if I understand correctly. Are you running Knoppix from CD or USB ? And if I understand right you want to boot Knoppix with German locale, but be able to switch between German and Brazilian Portuguese layouts. Or you want to boot in German with Brazilian keyboard layout.
    If you run Knoppix from USB it is a simple thing, but if you run it from CD you have to remaster it which is a lengthy process.

  5. #5
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198
    If you are running from CD you can manually set your keyboard every time you boot Knoppix. The command would be something like:
    setxkbmap -layout "br"

    You might have to specify your laptop model too:

    example: setxkbmap -layout "br" -model "thinkpad"

    Provided that there is brazilian fonts available in the CD of which I am not sure
    Last edited by mecho; 05-11-2010 at 08:36 AM.

  6. #6
    Junior Member
    Join Date
    May 2010
    Posts
    3
    Thanks mecho - that has solved my problem completely. No fonts needed, just the right ">@)=" in the right places. I live in Brazil, so the keyboard is Brazilian. It'd be good if Knoppix included cheatcodes for less common languages.

    Good luck with your problem. Btw, I suspect it won't help (apart from anything else, probably only works on Windows), but might be of interest, have a look at this site:

    http://www.tavultesoft.com/keyman/

    which is a program that changes your keymap and also offers help with input, for a variety of scripts including the likes of Arabic. I used it for Ancient Greek, which has a number of tricky diacritics.

  7. #7
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198
    If anyone needs keyboard layout changing in persistent Knoppix - simply install the necessary local fonts, then create in any location a shell script containing the setxkbmap command with layout switching option:

    Example: setxkbmap -option '' 'us,bg' ',phonetic' 'grp:alt_shift_toggle,grp_led:scroll'

    then create .desktop file in /etc/xdg/Autostart which is targeting the shell script and optionally lxde panel may be configured to display the layout switcher.
    In the above example Alt+Shift triggers the switch between layouts
    Last edited by mecho; 05-12-2010 at 01:41 PM.

  8. #8
    Member registered user
    Join Date
    Apr 2010
    Posts
    35
    I don't know how to create "shell script" either. Sorry for my n00b question, but I'm a newbie and an extremely curious one

  9. #9
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198
    Make a file some-name.sh. PLace your script inside. Example:

    #!/bin/bash

    setxkbmap -option '' 'us,bg' ',phonetic' 'grp:alt_shift_toggle,grp_led:scroll'

    Save it and and type in terminal: chmod +x /path-to-directory/some-name.sh to make it executable
    Path-to-directory is the directory where you stored your file and some-name.sh is the name of your file. Name it any way you want. To run it at startup follow my previous message.
    setxkbmap sets the keyboard map in X - you can choose your languages where 'us,bg' is phonetic is my cyrillic keyboard layout. Notice the COMA before it. It tells to setxkbmap that it applies to the second option - in my case BG. And the last section is for the keyboard switcher. I chose Alt+Shift to toggle between keyboard layouts

  10. #10
    Member registered user
    Join Date
    Apr 2010
    Posts
    35
    So I assume, when I need and want use my Polish keyboad only, I type 'pl' not 'us,pl'?

    I chose Alt+Shift to toggle between keyboard layouts
    I think it's possible to load it permanently at startup and there is no need to switch between, when there is only one layout?
    Last edited by GizmoPlushie; 05-26-2010 at 09:47 AM. Reason: additional question added

Page 1 of 2 12 LastLast

Similar Threads

  1. Changing Boot Graphic
    By revmouse in forum Customising & Remastering
    Replies: 2
    Last Post: 10-28-2005, 06:19 PM
  2. Problem changing keyboard setting
    By rayk in forum Hardware & Booting
    Replies: 1
    Last Post: 10-26-2005, 06:37 AM
  3. Changing the Boot-up Configuration
    By TommyHill in forum Hardware & Booting
    Replies: 1
    Last Post: 08-11-2005, 04:58 AM
  4. /etc/fstab is changing every boot
    By CKLM in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 08-17-2004, 02:38 PM
  5. Boot keyboard
    By Nadrach in forum Laptops
    Replies: 2
    Last Post: 02-16-2004, 01:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


For Cisco SFP-10G-SR Transceiver 10GBASE-SR 10G SFP Module 850nm Multimode fiber picture

For Cisco SFP-10G-SR Transceiver 10GBASE-SR 10G SFP Module 850nm Multimode fiber

$39.59



For Cisco SFP-GE-T, Ubiquti Transceiver 1G SFP-T 1000BASE-T Copper SFP to RJ45 picture

For Cisco SFP-GE-T, Ubiquti Transceiver 1G SFP-T 1000BASE-T Copper SFP to RJ45

$69.29



SFP-10G-SR V03 Original CISCO 10-2415-03 850nm 10GBASE-SR SFP+ Multi mode Module picture

SFP-10G-SR V03 Original CISCO 10-2415-03 850nm 10GBASE-SR SFP+ Multi mode Module

$6.80



Cisco SFP-10G-SR V03 10-2415-03 10GBASE Multimode Fiber Optic Transceiver Module picture

Cisco SFP-10G-SR V03 10-2415-03 10GBASE Multimode Fiber Optic Transceiver Module

$6.63



Cisco SFP-10G-SR *Cisco Genuine* 10Gb Multimode SFP+ Module - 1 Year Warranty picture

Cisco SFP-10G-SR *Cisco Genuine* 10Gb Multimode SFP+ Module - 1 Year Warranty

$6.70



NEW Sealed Cisco SFP-10G-SR-S 10G SR SFP+ Module 850nmMM *US Shipping* picture

NEW Sealed Cisco SFP-10G-SR-S 10G SR SFP+ Module 850nmMM *US Shipping*

$20.00



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$24.00



Genuine Cisco GLC-SX-MMD 1000Base-SX SFP Transceiver Module picture

Genuine Cisco GLC-SX-MMD 1000Base-SX SFP Transceiver Module

$7.25



NEW Sealed Original Cisco SFP-10G-SR 10G SR SFP+ Module 850nmMM *US Shipping* picture

NEW Sealed Original Cisco SFP-10G-SR 10G SR SFP+ Module 850nmMM *US Shipping*

$18.00



Nokia GPON SFP Module 3FE46899AB ONU I-Temp 1310 TX picture

Nokia GPON SFP Module 3FE46899AB ONU I-Temp 1310 TX

$19.99