Page 1 of 1

Switch languages in Kiosk [Solved]

Posted: 30 Jan 2014, 11:43
by svarog
Hi
I need switchable languages in Porteus-Kiosk-3.0-i486
Changing "squashfs-root/etc/xdg/openbox/autostart" with

Code: Select all

setxkbmap -layout us,ru -option “grp:alt_shift_toggle”
doesn't work.
Also I have try to copy "/usr/share/X11/xorg.conf.d/90-keyboard-layout.conf" to "/etc/X11/xorg.conf.d" and add to that copy

Code: Select all

Option "XkbLayout" "us,ru"
Option "XKbOptions" "grp:alt_shift_toggle"
Also no luck

What i'm doing wrong?

Re: Switch languages in Kiosk

Posted: 30 Jan 2014, 14:48
by fanthom
hi svarog,

works here.
make sure you use " not “ so your code should look like:

Code: Select all

setxkbmap -layout us,ru -option "grp:alt_shift_toggle"
and not:

Code: Select all

setxkbmap -layout us,ru -option “grp:alt_shift_toggle”
btw: moving your thread to 'User's modifications to the Kiosk ISO' section of the forum.

Re: Switch languages in Kiosk

Posted: 31 Jan 2014, 04:32
by svarog
It works! I've just copied quotes from other place of this file, and it works! Thank you, fanthom!