Three keyboard layouts

'User made' tutorials related to Porteus Kiosk edition.
Official kiosk documentation can be find here: http://porteus-kiosk.org/documentation.html
Ur0ck89
Ronin
Ronin
Posts: 1
Joined: 28 Mar 2022, 11:11
Distribution: 5.3

Three keyboard layouts

Post#1 by Ur0ck89 » 17 Apr 2022, 14:04

Hi,

There was a need for three keyboard layouts, in the configuration parameters I found only the following:

primary_keyboard_layout=pl
secondary_keyboard_layout=de

If I add layouts separated by commas,

secondary_keyboard_layout=de, us

switching stops working.

Thanks.

test123
White ninja
White ninja
Posts: 4
Joined: 04 Oct 2022, 12:21
Distribution: 5

Three keyboard layouts

Post#2 by test123 » 04 Oct 2022, 13:10

Were you able to find a solution to the problem? And I tried to separate with a comma - it didn't work. I tried adding a new Tertiary line, but it still didn't work.

User avatar
francois
Contributor
Contributor
Posts: 6433
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Three keyboard layouts

Post#3 by francois » 04 Oct 2022, 13:47

This Ur0ck89 member did not came back since april. What do you want exactly? Your writings do not make sense to me.
Prendre son temps, profiter de celui qui passe.

test123
White ninja
White ninja
Posts: 4
Joined: 04 Oct 2022, 12:21
Distribution: 5

Three keyboard layouts

Post#4 by test123 » 04 Oct 2022, 17:44

I want to have 3 keyboard layouts - en, bg and bg:phonetic. how to achieve this as during installation i can only select two out of the three?

User avatar
francois
Contributor
Contributor
Posts: 6433
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Three keyboard layouts

Post#5 by francois » 04 Oct 2022, 19:44

I don't know if you can get a third one. If you have the chance that a developper reads you post maybe you will get that favor.

Meanwhile, you can use the setxkbmap command from terminal to get the keyboard you would like to work with at any time.

Code: Select all

guest@porteus:~$ setxkbmap us
guest@porteus:~$ setxkbmap bg
guest@porteus:~$ setxkbmap bg phonetic
Once these three have been written within the terminal application or if you save sessions, use the upper arrow key to select the keyboard setting that you prefer.

You can even make a script of it.
Hope this helps.
Prendre son temps, profiter de celui qui passe.

test123
White ninja
White ninja
Posts: 4
Joined: 04 Oct 2022, 12:21
Distribution: 5

Three keyboard layouts

Post#6 by test123 » 04 Oct 2022, 20:14

Thanks i will try!

test123
White ninja
White ninja
Posts: 4
Joined: 04 Oct 2022, 12:21
Distribution: 5

Three keyboard layouts

Post#7 by test123 » 10 Oct 2022, 20:19

I tried it and it works. I did it and it even worked with one line command - setxkbmap -option grp:alt_shift_toggle "us,bg,bg" -variant ",bds,phonetic". How can I make it run automatically on system startup?

Post Reply