LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-06-2006, 08:25 PM   #1
the_new_z
LQ Newbie
 
Registered: Mar 2006
Location: The Netherlands
Distribution: Ubuntu 6.06 LTS Server
Posts: 22

Rep: Reputation: 15
Keyboard Layouts in IceWM


Hello,

I have been using IceWM under openSUSE 10.0 for about a month now and I am really happy with it. However, today I had to do a translation job and I came across the problem of switching keyboard layouts. I tried to google the problem, but none of the solutions was for IceWM.

Can anybody give me a clue as to how this switching between 2 layouts is done?

Thank you, guys.
 
Old 04-06-2006, 08:36 PM   #2
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
icewm uses icewmconf or something like that. i'm not sure if you can change the keyboard with it though.

otherwise try
loadkeys fr
to change to french.

Take a look at
man loadkeys
 
Old 04-07-2006, 05:41 AM   #3
the_new_z
LQ Newbie
 
Registered: Mar 2006
Location: The Netherlands
Distribution: Ubuntu 6.06 LTS Server
Posts: 22

Original Poster
Rep: Reputation: 15
Thank you, bosewicht.

However, I don't use any config tool with IceWM. I do it directly from the config files and there I couldn't find anything to configure the keyboard layouts.

I tried loadkeys but I only get the following message that I don't quite understand.

Loading /usr/share/kbd/keymaps/i386/qwerty/ru1.map.gz
Couldnt get a file descriptor referring to the console.

Any other ideas?
 
Old 04-08-2006, 02:03 PM   #4
the_new_z
LQ Newbie
 
Registered: Mar 2006
Location: The Netherlands
Distribution: Ubuntu 6.06 LTS Server
Posts: 22

Original Poster
Rep: Reputation: 15
OK, problem solved. A dude at LXer pointed to in the right direction.


I used KDE's xkb app to get the necessary layouts and created a new entry in IceWM's keys file looking like this:

key "Ctrl+Alt+1" -setxkbmap -model toshiba_s3000 -layout us -variant basic
key "Ctrl+Alt+2" -setxkbmap -model toshiba_s3000 -layout bg -variant phonetic

So now I can switch at will. The difficult part was to figure out that once switched to the bg layout it does not recognize the characters, so using the numbers ("ctrl+shift+number" instead of "ctrl+shift+letter") was a solution.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
switching between keyboard layouts trawler Linux - Software 1 10-22-2005 06:51 AM
how can I toggle different keyboard layouts? kentri9 Linux - Newbie 14 10-09-2004 04:46 PM
keyboard layouts problem. fredgt Linux - Hardware 6 10-06-2004 11:09 AM
Dual keyboard layouts benne Linux - Software 1 09-25-2004 02:04 PM
keyboard layouts misulo Fedora 0 08-17-2004 01:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration