Default keyboard layout
Default keyboard layout
Is it possible to change the default keyboard layout? I hate to change the layout every time i boot up.
- francois
- Contributor
- Posts: 6315
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Default keyboard layout
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.
Prendre son temps, profiter de celui qui passe.
Re: Default keyboard layout
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
@Distorted
You can use 'Language-selection-tool' - create your nationale.lzm package and put to base system.
You can use 'Language-selection-tool' - create your nationale.lzm package and put to base system.
Re: Default keyboard layout
from terminal execute this and replace XX by your language layout
then you can change by Alt+Shift.
or save this to execute it automatically when boot
Code: Select all
setxkbmap -layout us,XX -option "grp:alt_shift_toggle"
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
tnx alot 

- wread
- Module Guard
- Posts: 1253
- Joined: 09 Jan 2011, 18:48
- Distribution: Porteus v5.0-kde-64 bits
- Location: Santo Domingo
- Contact:
Re: Default keyboard layout
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!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!
The Porteus Community never sleeps!
Re: Default keyboard layout
You can also change this file after extracting KDE module and recreate this....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!
Personally, I use this solution to get a azerty keyboard with always fresh option.
- Blaze
- DEV Team
- Posts: 3654
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
- Contact:
Re: Default keyboard layout
Open /root/.kde/share/config/kxkbrc
And edit it. For example:
Open /root/.kde/share/config/kdeglobals
Find
Replace with
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
Find
Code: Select all
"Switch to Next Keyboard Layout=..."
Code: Select all
Switch to Next Keyboard Layout=Alt+Shift_L;Alt+Shift_R
Linux 5.15.11-porteus #1 SMP Sat Dec 25 13:08:57 MSK 2021 x86_64 Intel(R) Core(TM) i5-6600K CPU @ up to 4.60GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
Re: Default keyboard layout
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.
- fanthom
- Moderator Team
- Posts: 5591
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: Default keyboard layout
@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
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
Please add [Solved] to your thread title if the solution was found.