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
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)
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
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!
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.
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.
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.
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.
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![]()
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
So I assume, when I need and want use my Polish keyboad only, I type 'pl' not 'us,pl'?
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?I chose Alt+Shift to toggle between keyboard layouts
Last edited by GizmoPlushie; 05-26-2010 at 09:47 AM. Reason: additional question added
Lenovo ThinkBook 15 Gen 4 Notebook 15.6" FHD Intel Core i7-1255U 8GB RAM
$549.99
CHUWI 13.3in Aerobook Intel Core M3 Laptop Computer 8GB 256GB SSD Windows 11 H
$151.99
HP Engage Flex Mini Desktop PC Intel Core i5-10500T Intel UHD 8GB RAM 256GB SSD
$247.49
Dell Latitude 3380 Laptop Computer Windows 10 PC Core i5 8GB RAM 1TB HDMI WiFi
$161.96
Intel Core i9-13900K Raptor Lake 24-Core (8P+16E) Desktop Processor CPU
$474.98
Intel - Core i5-13600K 13th Gen 14 cores 6 P-cores + 8 E-cores 24M Cache, 3.5...
$314.99
Intel Xeon CPU E5-2620 V4 2.10GHz 20MB Cache 8 Core LGA2011-3 Processor SR2R6
$2.84
Dell Inspiron 15 Touch Screen Laptop Intel Core i5 8GB 512GB SSD - Carb...
$379.99
Dell 14" TOUCHSCREEN IntelQuadCore 16GB RAM up to 512GB SSD Fingerprint BT Win11
$235.00
Dell T7810 Workstation 1x E5-2603 v3 8GB RAM Nvidia/AMD GPU No HDD OS
$100.00