LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 02-18-2014, 02:10 AM   #1
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Rep: Reputation: 73
keyboard layouts in xfce?


Hello!
I switching from KDE to XFCE ( slackware 14.1), and lot of things in XFCE is good, except one who i cannot manage in right way - this is keyboard layouts for russian, and especially latvian language.
in russian i use "ru (legacy)", and there all is ok, except of punctuation - ":,." and so symbols is on numeric key, in upper row. i want it to it side around "enter" key, as it is in keyboard layout in KDE.
in latvian there is even worse. in KDE for latvian default layout is old good "via ALT" - i get national symbols like āšēīč , when i press aseic in the same time as ALT key. it is ancient standart, on windows from win95 times and so on. it is also default layout in KDE, but not in XFCE. in XFCE that layout not exist at all!
there is "F" layout, tilde, apostrophe layout and so on - all of that is very uncomfortable. why there is no right layout? as i understand, KDE not use standart (xkbd ?) layout manager, but use their own?
anyway then, why in standart layout manager not a good, usable national layouts?
and who i can do in that direction?
 
Old 02-18-2014, 05:14 AM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
Try this:

Code:
cp /usr/share/X11/xorg.conf.d/90-keyboard-layout.conf /etc/X11/xorg.conf.d/90-keyboard-layout.conf
Then edit the line in /etc/X11/xorg.conf.d/90-keyboard-layout.conf:

Code:
	Option "XkbLayout" "gb"
Replacing gb with whatever you need. Think that works.

Last edited by brianL; 02-18-2014 at 05:16 AM.
 
Old 02-18-2014, 06:04 AM   #3
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Original Poster
Rep: Reputation: 73
Quote:
Originally Posted by brianL View Post
Try this:

Code:
cp /usr/share/X11/xorg.conf.d/90-keyboard-layout.conf /etc/X11/xorg.conf.d/90-keyboard-layout.conf
Then edit the line in /etc/X11/xorg.conf.d/90-keyboard-layout.conf:

Code:
	Option "XkbLayout" "gb"
Replacing gb with whatever you need. Think that works.
look at that things. but i need 3 layouts, between who i can switching - i can there define all three?
and why / where i can look what layouts is available?
 
Old 02-18-2014, 06:16 AM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by WiseDraco View Post
look at that things. but i need 3 layouts, between who i can switching - i can there define all three?
and why / where i can look what layouts is available?
About the 3 layouts: the only thing I can think of is running xorgsetup, it asks about additional keyboard layouts.
 
Old 02-18-2014, 06:25 AM   #5
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Original Poster
Rep: Reputation: 73
ok. but you are sure, in that way i can get right keyboard layouts, who i need? because in XFCE, sure, is latvian, and also russian layouts - but there is no right one, what i need. in KDE is it, in XFCE - not...
 
Old 02-18-2014, 06:30 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
No, I'm not sure that the way I suggested is the only way or the best way. I've only ever had to choose one layout, so my knowledge is limited. Hopefully, someone else with more knowhow will notice this thread.
 
Old 02-18-2014, 12:21 PM   #7
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,143

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
You should be able to add the keyboard applet to the panel. That will show you which keyboard you're currently using and let you select your koyboard drivers, change the current driver, and specify how a change will work: global, current application, or current window.

The actual keyboard layouts should not be affected by your desktop: they come with the distro. My lv file in CentOS has four variants* to choose from. The problem is really down to Slackware: it's a US distro, after all.

* i.e.
http://en.wikipedia.org/wiki/QWERTY
http://odo.lv/xwiki/bin/download/Mai...rd/Adapted.png
http://odo.lv/xwiki/bin/download/Mai.../Ergonomic.png
http://odo.lv/xwiki/bin/download/Rec...ard/Modern.png

See
http://odo.lv/LatvianKeyboard
for more details.

If necessary, you can always edit ...xkb/symbols/lv yourself. It's very easy to do: I have several custom keyboard drivers.

Last edited by DavidMcCann; 02-18-2014 at 02:02 PM. Reason: correction
 
Old 02-19-2014, 12:49 AM   #8
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Original Poster
Rep: Reputation: 73
i have keyboard applet, and there is no problem. my problem is in that, i do not have old-way lv keyboard layout - there, in xfce is 6 variants of latvian layouts, but not right one. in KDE is right one, in XFCE - not.
not sure about qwerty in your link, but modern, adopted and ergonomic choices i have, and that not that, what i want. that is a bit strange for me, at all, a KDE and XFCE have different layouts to choice...
 
Old 02-19-2014, 11:25 AM   #9
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,143

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Just copy the file supplied with KDE and install it with Xfce.

This problem is not too strange. Slackware defaults to KDE because that's what Pat and most users want. Alternative versions of distros often have old components or things left out. If you think Slackware's Xfce is not so good, you should see Mageia's!

Last edited by DavidMcCann; 02-19-2014 at 11:28 AM.
 
Old 02-19-2014, 04:30 PM   #10
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
Would this plugin help:

http://slackbuilds.org/repository/14...e4-xkb-plugin/
 
Old 02-19-2014, 04:47 PM   #11
Captain Pinkeye
Member
 
Registered: Oct 2012
Location: The Czech Republic
Posts: 280

Rep: Reputation: 98
Quote:
Originally Posted by WiseDraco View Post
i have keyboard applet, and there is no problem. my problem is in that, i do not have old-way lv keyboard layout - there, in xfce is 6 variants of latvian layouts, but not right one. in KDE is right one, in XFCE - not.
not sure about qwerty in your link, but modern, adopted and ergonomic choices i have, and that not that, what i want. that is a bit strange for me, at all, a KDE and XFCE have different layouts to choice...
Just checked my Xubuntu, it has 7 latvian layouts, not 6 -- don't forget you can choose the 'parent name' layout too (the one visible even if you don't unroll the layout submenu in the 'Keyboard Layouts' panel). That's usually the default one. The āšēīč letters works fine with it, using the right alt.
 
1 members found this post helpful.
Old 02-19-2014, 04:54 PM   #12
Captain Pinkeye
Member
 
Registered: Oct 2012
Location: The Czech Republic
Posts: 280

Rep: Reputation: 98
Quote:
Originally Posted by WiseDraco View Post
look at that things. but i need 3 layouts, between who i can switching - i can there define all three?
The allmighty Arch wiki is your friend
using the comma (,) in the configurationfile options:
Code:
Option "XkbLayout" "cz,us"
Option "XkbVariant" ",dvorak".
Quote:
and why / where i can look what layouts is available?
In the /usr/share/X11/xkb/rules/base.lst file
It's in Xubuntu and Arch, it should be in Slackware too.

This stuff worked pretty well in my Slackware/i3wm setup some time ago.
 
Old 02-19-2014, 05:10 PM   #13
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
And see this page in SlackDocs:

http://docs.slackware.com/howtos:win...layout_in_xfce
 
Old 02-21-2014, 02:31 AM   #14
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Original Poster
Rep: Reputation: 73
Quote:
Originally Posted by Captain Pinkeye View Post
Just checked my Xubuntu, it has 7 latvian layouts, not 6 -- don't forget you can choose the 'parent name' layout too (the one visible even if you don't unroll the layout submenu in the 'Keyboard Layouts' panel). That's usually the default one. The āšēīč letters works fine with it, using the right alt.

yes, thanks - i find that solution myself, but anyway thanks.
in KDE is a bit different look where you can choose layout, and i do not think firstly, i can have upper level "latvian" layout - think it is like a directory, under who is all layouts.
but anyway, XFCE layout choosing scheme is a bit lame - in KDE under "latvian" is all latvian layouts - exactly 15 ! variants.
in XFCE under "latvian" is only some of this. another part is under "US" and so on, who is principially wrong.
but general question is resolved, thanks.
 
Old 02-21-2014, 02:33 AM   #15
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Original Poster
Rep: Reputation: 73
Quote:
Originally Posted by brianL View Post
always see - it is for absolutely different thing. i do not problem with layout switching, but with right layouts.
 
  


Reply

Tags
keyboard, layouts, xfce, xkbd



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
[SOLVED] xfce does not save my keyboard layouts across suspend-resume bogzab Slackware 3 11-17-2012 11:37 AM
Keyboard layouts in XFCE Lord_Grave Linux - Desktop 4 12-04-2010 06:29 AM
How to add keyboard layouts in xfce? harakanvarpaita Linux - Desktop 0 11-23-2007 01:26 PM
bewildered keyboard layouts in xfce harakanvarpaita Linux - Desktop 0 11-13-2007 12:51 AM
Keyboard layouts and languages in Xfce okok Linux - Newbie 1 05-04-2006 04:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 05:42 PM.

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