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

Command to select a specific keyboard layout? #7884

Closed
Tracked by #4
lolmaus opened this issue Sep 23, 2018 · 6 comments
Closed
Tracked by #4

Command to select a specific keyboard layout? #7884

lolmaus opened this issue Sep 23, 2018 · 6 comments

Comments

@lolmaus
Copy link

lolmaus commented Sep 23, 2018

 * Cinnamon version - 3.8.9
 * Distribution - Mint 19
 * 64 bit

Issue

Unable to select a specific keyboard layout with a terminal command.

Steps to reproduce

Tried these:

  • gsettings set org.gnome.desktop.input-sources current 1
  • gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Eval "imports.ui.status.keyboard.getInputSourceManager().inputSources[1].activate()"
  • setxkbmap works, but it crashes the Cinnamon keyboard layout manager: the tray icon disappears and it is no longer possible to switch via configured hotkey.
@lolmaus
Copy link
Author

lolmaus commented Sep 29, 2018

Please. 😭

@icarter09
Copy link
Member

@lolmaus are you still experiencing this issue?

@lolmaus
Copy link
Author

lolmaus commented Dec 6, 2019

I've configured this with xkb-switch.

But I believe the OS should be capable of this natively.

@camypaj
Copy link

camypaj commented Dec 10, 2019

 * Cinnamon version - 3.8.9
 * Distribution - Mint 19
 * 64 bit

Issue

Unable to select a specific keyboard layout with a terminal command.

Steps to reproduce

Tried these:

* `gsettings set org.gnome.desktop.input-sources current 1`

* `gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Eval "imports.ui.status.keyboard.getInputSourceManager().inputSources[1].activate()"`

* `setxkbmap` works, but it crashes the Cinnamon keyboard layout manager: the tray icon disappears and it is no longer possible to switch via configured hotkey.

Regarding the disappearing applet, I've had a similar experience, documented here:
#8257 (comment)

@icarter09
Copy link
Member

Many thanks for submitting your feature request for Cinnamon. Your feature request has been documented and will be reviewed by the Linux Mint team.

For more information on our workflow and feature requests, read https://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/faq.html.

@eugrus
Copy link

eugrus commented Dec 10, 2023

Still not implemented?

There should be an equivalent to Gnome's
gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'us')]"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants