Problem with keyboard layout [Porteus v1.1 x86_64]

Non release banter
User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Problem with keyboard layout [Porteus v1.1 x86_64]

Post#1 by Blaze » 26 Jan 2012, 09:29

Hello everybody.

I have problem with keyboard layout (alt+shift does not work) in my Russian localization for Porteus v1.1 x86_64.

Download my Russian localization for Porteus v1.1 x86_64

Can you help me to fix it?

Thanks.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Problem with keyboard layout [Porteus v1.1 x86_64]

Post#2 by Hamza » 26 Jan 2012, 17:13

Code: Select all

setxkbmap ru
NjVFQzY2Rg==

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: Problem with keyboard layout [Porteus v1.1 x86_64]

Post#3 by Blaze » 27 Jan 2012, 07:46

Hi Hamza.

Code: Select all

[Desktop Entry]
Type=Application
Name=~/.config/autostart/xkb.desktop
Comment=Keyboard Layout Switcher settings
Exec=setxkbmap -layout ru,us -option grp:alt_shift_toggle
OnlyShowIn=LXDE
It does not work for me.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Problem with keyboard layout [Porteus v1.1 x86_64]

Post#4 by fanthom » 27 Jan 2012, 08:24

@Blaze
this is a bug in 'kmap=' cheat implementation. please update 002/opt/porteus-scripts/paths with following code:

Code: Select all

KMAP=`egrep -o " kmap=[^ ]+" /proc/cmdline | cut -d= -f2`                                                                                   
[ "$KMAP" = "" ] || setxkbmap $KMAP -option "grp:alt_shift_toggle"
during boot time you will have to provide more than one (and less than four as setxkbmap supports only 3 maps) keyboard mappings (separated by comma) to be able to switch between them. example:
'kmap=ru,us' or 'kmap=pl,de,us'

@Ahau
please update chetcode description on your side.
Please add [Solved] to your thread title if the solution was found.

Post Reply