Problem with keyboard layout [Porteus v1.1 x86_64]

Non release banter
Post Reply
User avatar
Blaze
Moderator
Moderator
Posts: 1383
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
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 porteus 4.12.7-porteus #1 SMP PREEMPT Sun Aug 13 17:38:30 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Hamza
Warlord
Warlord
Posts: 1847
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
Moderator
Moderator
Posts: 1383
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
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 porteus 4.12.7-porteus #1 SMP PREEMPT Sun Aug 13 17:38:30 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
fanthom
Site Admin
Site Admin
Posts: 4565
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
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