Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 4
    -query was added in setxkbmap 1.2.0 Commented Apr 6, 2013 at 1:49
  • You get the current layouts and variants and many additional info with setxkbmap -print -verbose 10 Commented May 13, 2016 at 20:22
  • To set it, for example both layouts cz and us, the latter with variant dvorak (for a 104 key keyboard), use setxkbmap -model pc104 -layout cz,us -variant ,dvorak Commented May 13, 2016 at 20:27
  • 31
    doesn't let you know the active one for multiple layouts, which is what the OP asked. Bummer this got to the top. Commented Jun 16, 2020 at 13:06