Slackware This Forum is for the discussion of Slackware Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
08-30-2009, 10:09 AM
#1
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 6,719
Thanked: 213
keyboard layout sw 13.0
[
Log in to
get rid of this advertisement]
Just a note, because I use the dvorak keyboard layout and on sw 13.0 'xorgsetup' doesn't do anything.
As noted in changes and hints:
Quote:
If you need to use a non-US keyboard layout, then copy the file located at
/usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi to /etc/hal/fdi/policy
and edit it to suit your needs. Have a look at the contents of that file
for an example and more information.
http://slackware.mirrors.tds.net/pub..._AND_HINTS.TXT
So basically what I had to do was run this:
Code:
cp /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi /etc/hal/fdi/policy
nano /etc/hal/fdi/policy/10-keymap.fdi
For dvorak for example you change:
Code:
<!-- Edit (as needed) these four lines in the copied fdi file -->
<merge key="input.xkb.rules" type="string">base</merge>
<merge key="input.xkb.model" type="string">evdev</merge>
<merge key="input.xkb.layout" type="string">us</merge>
<merge key="input.xkb.variant" type="string" />
to
Code:
<!-- Edit (as needed) these four lines in the copied fdi file -->
<merge key="input.xkb.rules" type="string">base</merge>
<merge key="input.xkb.model" type="string">evdev</merge>
<merge key="input.xkb.layout" type="string">us</merge>
<merge key="input.xkb.variant" type="string">dvorak</merge>
And finally run:
Code:
/etc/rc.d/rc.hald restart
Then log back into xorg and everything should work.
08-31-2009, 03:15 AM
#2
HCL Maintainer
Registered: Jun 2003
Location: Dali, China
Distribution: Slackware
Posts: 6,620
Thanked: 50
yo ... no more zero replies
09-24-2009, 04:18 PM
#3
LQ Newbie
Registered: Oct 2006
Posts: 21
Thanked: 1
So i have the following 10-keymap.fdi file for my Greek language:
Code:
<!-- Edit (as needed) these four lines in the copied fdi file -->
<merge key="input.xkb.rules" type="string">base</merge>
<merge key="input.xkb.model" type="string">evdev</merge>
<merge key="input.xkb.layout" type="string">us</merge>
<merge key="input.xkb.variant" type="string">gr</merge>
I restart the hal deamon .
How i change to greek??????
09-24-2009, 05:11 PM
#4
LQ Newbie
Registered: Aug 2005
Location: France
Distribution: Slackware
Posts: 9
Thanked: 1
Hi
For a non-US keyboard, you replace the
layout key.
Mine is french :
Code:
<!-- Edit (as needed) these four lines in the copied fdi file -->
<merge key="input.xkb.rules" type="string">base</merge>
<merge key="input.xkb.model" type="string">evdev</merge>
<merge key="input.xkb.layout" type="string">fr</merge>
<merge key="input.xkb.variant" type="string"/>
If you have a previous xorg.conf, just input XkbLayout in the layout key, and XkbVariant in the variant key.
09-26-2009, 03:37 AM
#5
LQ Newbie
Registered: Oct 2006
Posts: 21
Thanked: 1
OK Done ...Thanks cendryon...
I add greek language and with alt-shift buttons change the layout.
Here is my 10-keymap.fdi file, as a reference:
Code:
<!-- Edit (as needed) these four lines in the copied fdi file -->
<merge key="input.xkb.rules" type="string">base</merge>
<merge key="input.xkb.model" type="string">evdev</merge>
<merge key="input.xkb.layout" type="string">us,el</merge>
<merge key="input.xkb.options" type="string">grp:alt_shift_toggle,grp_led:scroll,compose:menu</merge>
<merge key="input.xkb.variant" type="string" />
09-26-2009, 03:38 AM
#6
LQ Newbie
Registered: Oct 2006
Posts: 21
Thanked: 1
OK Done ...Thanks cendryon...
I add greek language and with alt-shift buttons change the layout.
Here is my 10-keymap.fdi file, as a reference:
Code:
<!-- Edit (as needed) these four lines in the copied fdi file -->
<merge key="input.xkb.rules" type="string">base</merge>
<merge key="input.xkb.model" type="string">evdev</merge>
<merge key="input.xkb.layout" type="string">us,el</merge>
<merge key="input.xkb.options" type="string">grp:alt_shift_toggle,grp_led:scroll,compose:menu</merge>
<merge key="input.xkb.variant" type="string" />
10-05-2009, 04:39 PM
#7
LQ Newbie
Registered: Sep 2003
Posts: 28
Thanked: 3
Building on Mpregos solution regarding Greek, you can change the last line as follows in order to be able to type the euro symbo using altgr and e:
<merge key="input.xkb.variant" type="string">,extended</merge>
For more information on the various options see here [in Greek]
http://members.hellug.gr/djart/grlinux-3.html
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 06:45 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News
LQ Podcast
LQ Radio