Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Easy switching between different variants of a keyboard layout 2

Status
Not open for further replies.

WebDrake

Programmer
Sep 29, 2005
106
PL
Hello all,

I'm using SuSE Linux 10.0 with KDE 3.4.2 Level "b" on my Dell Inspiron laptop.

The keyboard layout is United Kingdom, and this works fine; but I have found it impossible to have an easy way to switch between the basic and international variants of this layout. Most of the time the basic layout is fine, but sometimes (since I often work outside the UK and write quite a bit in languages other than English) I need to make extensive use of accents, etc.

Using the KDE Control Module, I have selected "enable keyboard layouts", but can only select one United Kingdom layout, either "basic" or "intl"; I can't have both, or at least can't work out how to. Selecting "United Kingdom" from the "Available layouts" removes it from the list.

The result is that the only way I can switch between "basic" and "intl" is to actually go into the KDE control module and change the selected variant.

How can I change this? What I want is to be able to switch easily between "basic" and "intl", preferably by something like pressing both shift keys; but being able to right-click on the KDE Keyboard Tool tray icon and select one or the other would be fine.

Note that since I'm using SuSE 10.0, I'd rather have a solution that involves using YaST/SaX2/KDE Control Center rather than editing config files manually. ;-)

Many thanks,

-- Joe
 
You can set the keyboard by command like this:
Code:
setxkbmap -rules xorg -model -pc104 -layout en -variant "nodeadkeys"
How to invoke such a script from KDE with Icons or shortcuts is not known by me.

seeking a job as java-programmer in Berlin:
 
Put this into a file called kb1.sh and make it executable.
Put the file in the directory that opens when you open a terminal window. Open the window, type kb1 <enter>
Close the window.




BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!
 
Belated thanks for these replies. I was hoping someone could tell me precisely how to do it with the KDE Keyboard Tool, since it must be possible, but these solve the immediate problem for now! :)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top