Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard layout handler settings do not survive reboot #39

Closed
tigran123 opened this issue Feb 23, 2018 · 7 comments
Closed

Keyboard layout handler settings do not survive reboot #39

tigran123 opened this issue Feb 23, 2018 · 7 comments

Comments

@tigran123
Copy link

tigran123 commented Feb 23, 2018

Superficially this sounds similar to issue #4 but it is not quite the same. Namely, I have added a "Keyboard Layout Handler" to the panel for switching between GB and RU (phonetic) layouts (via Ctrl-Shift). This works in the current session, but as soon as I reboot the Keyboard Layout Handler in the panel is left with just gb.

In theory this would be no big deal if I could workaround by executing a command in the terminal like this:

$ setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll gb,ru

However, this would provide only the Russian typewriter layout and not the Russian phonetic layout. I don't know how to specify the phonetic variant on the setxkbmap command line (it is not obvious from the manpage).

Anyway, the correct fix is for these settings to survive reboot.

@tigran123
Copy link
Author

I have figured out the command to specify the variant, so this bug is no longer as critical as it was:

$ setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll gb,ru -variant ',phonetic'

@spl237
Copy link
Contributor

spl237 commented Apr 29, 2018

The latest version of rc_gui now sets the keyboard in /etc/default/keyboard, so this should now be fixed.

@ant-222
Copy link

ant-222 commented Mar 24, 2020

@spl237

The latest version of rc_gui now sets the keyboard in /etc/default/keyboard, so this should now be fixed.

This error is still persent in a fresh Raspbian downloaded a week ago:

Linux raspberrypi 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l GNU/Linux

@spl237
Copy link
Contributor

spl237 commented Mar 24, 2020

It is not an error - you are using an unsupported plugin. The keyboard language should be set using the Raspberry Pi Configuration or Mouse and Keyboard Settings applications. The plugin you are using sets keyboard language using a non-standard method.

@ant-222
Copy link

ant-222 commented Mar 24, 2020

Oh. But:

Preferences -> Keyboard and Mouse -> Keyboard

will not let me define two layouts for a bilingual user. What Raspberri Pi Configuraiton do you mean?

@ant-222
Copy link

ant-222 commented Mar 24, 2020

spl237:

It is not an error - you are using an unsupported plugin.

Then is it an error that that plugin was available in my LXDE out-of-the-box?

@spl237
Copy link
Contributor

spl237 commented Mar 24, 2020

We ship all the plugins that LXDE provide, and add our own as well. (If we removed the LXDE ones, we'd get complaints.) If an LXDE plugin - which this is - doesn't work properly (as indeed some don't), raise an issue with the LXDE authors, not with us.

Bilingual support is not a high priority, particularly given the current situation in the world.

@raspberrypi-ui raspberrypi-ui locked as resolved and limited conversation to collaborators Mar 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants