Page 1 of 1
Default keyboard layout
Posted: 19 Jan 2011, 16:41
by Distorted
Is it possible to change the default keyboard layout? I hate to change the layout every time i boot up.
Re: Default keyboard layout
Posted: 19 Jan 2011, 16:49
by francois
From memory, in the control panel, right click on the us flag. Then go into configure to get panels, the right one being permitting changes of the keyboard options. Delete or use arrows provided to get you preffered keyboard on top.
Re: Default keyboard layout
Posted: 19 Jan 2011, 19:14
by Distorted
Did you now just explain how to change the layout? Basically i want to set my settings in a way that when i even use the Always Fresh option on startup it uses the keyboad layout i want it to use.
Re: Default keyboard layout
Posted: 19 Jan 2011, 20:09
by crashman
@Distorted
You can use 'Language-selection-tool' - create your nationale.lzm package and put to base system.
Re: Default keyboard layout
Posted: 19 Jan 2011, 20:32
by KSA_ARAB
from terminal execute this and replace XX by your language layout
Code: Select all
setxkbmap -layout us,XX -option "grp:alt_shift_toggle"
then you can change by Alt+Shift.
or save this to execute it automatically when boot
Code: Select all
echo "setxkbmap -layout us,XX -option "grp:alt_shift_toggle"" >> /etc/rc.d/rc.local
Re: Default keyboard layout
Posted: 20 Jan 2011, 15:04
by Distorted
tnx alot
Re: Default keyboard layout
Posted: 22 Jan 2011, 02:31
by wread
Eleganter ist to save /mnt/live/memory/changes/root/.kde/share/kxkbrc in /mnt/sdxx/porteus/rootcopy/root/.kde/share/kxkbrc after you configure keyboards according to your taste!
Re: Default keyboard layout
Posted: 22 Jan 2011, 13:57
by Toto
wread wrote:Eleganter ist to save /mnt/live/memory/changes/root/.kde/share/kxkbrc in /mnt/sdxx/porteus/rootcopy/root/.kde/share/kxkbrc after you configure keyboards according to your taste!
You can also change this file after extracting KDE module and recreate this....
Personally, I use this solution to get a azerty keyboard with always fresh option.
Re: Default keyboard layout
Posted: 22 Jan 2011, 20:42
by Blaze
Open /root/.kde/share/config/kxkbrc
And edit it. For example:
Code: Select all
[Layout]
DisplayNames=us,ru
IndicatorOnly=false
LayoutList=us,ru
Model=pc104
ResetOldOptions=true
ShowFlag=true
ShowSingle=false
SwitchMode=Global
Use=true
Open /root/.kde/share/config/kdeglobals
Find
Code: Select all
"Switch to Next Keyboard Layout=..."
Replace with
Code: Select all
Switch to Next Keyboard Layout=Alt+Shift_L;Alt+Shift_R
Re: Default keyboard layout
Posted: 23 Jan 2011, 19:42
by Distorted
I still have a problem with this subject, when i restart, even when i keep the changes, they layout is still wrong, when i look in the settings everything looks how it has to be but i have to reaply it in order for it to work.
Re: Default keyboard layout
Posted: 23 Jan 2011, 20:08
by fanthom
@Distorted
That's because KDE and LXDE settings overrides each other. Please remove one desktop or set the same settings for both.
Lxde: /root/.config/autostart/xkb.desktop
KDE-3: /root/.kde/share/config/kxkbrc
KDE-4: /root/.kde4/share/config/kxkbrc