Skip to content

Command to select a specific keyboard layout? #7884

@lolmaus

Description

@lolmaus
 * 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions