Skip to main content
4 votes

Where do I get xcb_event.h?

sudo apt install apt-file sudo apt install libxcb-util0-dev sudo apt install libxcb-keysyms1-dev will solve your issue. In the future you might want to use: apt-file search /usr/include/xcb/xcb_event....
Artem S. Tashkinov's user avatar
3 votes

Switching keyboard layouts

You are getting "Error loading new keyboard description" because setxkbmap actually needs different layout names than those you are setting in the commands. If you run localectl list-keymaps ...
d00mil's user avatar
  • 131
2 votes
Accepted

Can't start sxhkd as a systemd service

The approach you outline is not possible, or at least, not that I know of. Consider the following counter-example: if you have a multi-head setup, you will login twice. Your systemd will have started ...
Michel's user avatar
  • 213
2 votes
Accepted

Launching urxvt with calendar (cal) using sxhkd

You need to add -hold on urxvt, in order to not destroy its window when the program executed within it exits. urxvt -hold -geometry 20x8 -e cal -m
Krackout's user avatar
  • 2,742
2 votes
Accepted

Setting a keyboard shortcut to interactively select a screenshot (sxhkd/scrot)

According to this similar question the command scrot --select also grabs control of your keyboard (and will cancel the screenshot if a key is pressed). So you need to tell sxhkd to run the scrot ...
Mike Pierce's user avatar
1 vote
Accepted

Switching keyboard layouts

I use setxkbmap to switch between Dvorak and QUERTY. I have a bash script at ~/.local/bin/toggle_kbd (which is included in my PATH), which my window manager has bound to a shortcut. It just runs a ...
Jeremy Meadows's user avatar
1 vote

Switching keyboard layouts

I cannot comment due to a lack of reputation. I don't know the answer, just want to share my thoughts. First the worst case. Could you not recover from not being able to type in your passphrase by ...
bananabook's user avatar
1 vote

xdotool not working with sxhkd?

Most likely xdotool is typing the message while you're still holding ctrl, which leads to ctrl+shift+t, ctrl+e, ... to be pressed instead, therefore not writing anything.
Carla is my name's user avatar
1 vote

Is it possible to change bspwm binds to work like tmux binds?

I can only answer about the "other" tiling window manager. i3 allows you to define modes which sounds like what you want: # Press $mod+o followed by either f, t, Escape or Return to launch ...
laktak's user avatar
  • 6,054
1 vote
Accepted

How to remap a combination of buttons clicks to run a script

You are trying to do chords, they are separated by semicolons like this: button1; button1; button2 ./some_script.sh from the sxhkd man page: When multiple chords are separated ...
Akuseru's user avatar
  • 113

Only top scored, non community-wiki answers of a minimum length are eligible