Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 7165

XMonad, Ubuntu: switch non-US keyboard layout to US before pressing any shortcut [closed]

$
0
0

I've got a few additional layouts in my system. XMonad and Firefox shortcuts don't work at all until switching to the US. I was struggling to add a context to the batch process:

> cat run_firefox.sh#!/bin/bashCURRENT_LAYOUT=$(setxkbmap -query | grep layout | awk '{print $2}')setxkbmap usfirefoxsetxkbmap $CURRENT_LAYOUT

But it still doesn't work.


XMonad shortcuts Ctrl + Alt + ... and Shift + Alt + ... works well with any layout (if I understood correctly, because under the corresponding hotkeys I use functions from XMonad libraries).

XMonad shortcuts Alt + ... (for instance, standard dmenu run shortcut) don't work.

So, the question is how to run XMonad shortcuts that start with combinations of Alt + ... and applications with US layout in the context?

Or, generally, how I can manage it?


Viewing all articles
Browse latest Browse all 7165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>