Questions tagged [sxhkd]
The sxhkd tag has no usage guidance.
16
questions
0
votes
0
answers
43
views
Bspwm session displays only grey screen and keybindings dont work
Here are my bspwmrc and sxhkdrc files
#AUTOSTART
picom --config ~/.config/picom/picom.conf
nitrogen --restore &
$HOME/.config/polybar/launch.sh
pgrep -x sxhkd > /dev/null || sxhkd &
...
0
votes
1
answer
42
views
X11: can't set custom keyboard layout when pressing Super key
I want to change the default QWERTY layout to colemak layout. I use bspwm with its default sxhkd.
I tried setting it in the X11 config file:
/etc/X11/xorg.conf.d/30-keyboard.conf:
Section "...
0
votes
2
answers
166
views
Switching keyboard layouts
END GOAL
I use Arch Linux with bspwm as my window manager and sxhkd as a hotkey daemon. I want to map a certain key combination in my sxhkdrc so that it shuffles through different keyboard layouts. ...
1
vote
1
answer
325
views
Which process handles XF86 keys?
There are multimedia buttons in my keyboard, the key I am actually interested in are Brightness keys (XF86MonBrightness{UP|DOWN}).
I am using bspwm window manager, and without any sxhkdrc config the ...
0
votes
0
answers
158
views
Partially unrecognized shortcuts in sxhkd
I'm on VirtualBox running Arch and Bspwm. My keyboard layout is AZERTY.
The following line of the sxhkdrc file doesn't works as expected. Everything is at default.
super + {_,shift + }{1-9,10}
bspc {...
0
votes
0
answers
386
views
How to remap Fn keys in Linux on Lenovo IdeaPad laptop?
My Lenovo IdeaPad 3 laptop has a row of function keys which also have extra functions like brightness control, volume control etc.
I use Artix Linux and I don't have a desktop environment so I have ...
0
votes
0
answers
188
views
Control mpv and mpd in the same time smarter in sxhkd
I'm using bspwm as my WM, and sxhkd as my hotkeys.
This was my old sxhkdrc that only controled my music(mpd):
...
XF86Audio{Next,Prev,Play,Stop}
mpc {next,prev,toggle,stop}
...
But I changed it ...
1
vote
0
answers
40
views
bind held key without blocking typing
I have a foot pedal that I would like to toggle a file's contents when pressed and released.
I have got the foot pedal acting like a normal key with a keycode and disabled it from repeating with xset -...
0
votes
1
answer
199
views
xdotool not working with sxhkd?
ctrl + 2
xdotool type Test Message
Added the above line to sxhkdrc with no effect. Using different commands works, but for some reason any xdotool command doesn't work... If i run that command in ...
0
votes
1
answer
567
views
Setting a keyboard shortcut to interactively select a screenshot (sxhkd/scrot)
I would like to add a keyboard shortcut using sxhkd let me select a region of my desktop to screenshot using scrot. This should be accomplished by adding this section to my sxhkd file,
ctrl + alt + x
...
1
vote
2
answers
158
views
Is it possible to change bspwm binds to work like tmux binds?
I come from tmux and I was wondering if its possible to configure sxhkd and bspwm to have binds just like it. For example,
Assuming my C-w is my prefix rather than the default C-b tmux prefix
C-w h # ...
1
vote
1
answer
148
views
Why am I having these issues in sxhkd?
First issue:
So, in my sxhkd config, I have these lines:
super + i; b
export b=$(acpi); notify-send -t 2000 $b
super + i; r
export r=$(free -h | awk '{print $6}' | sed 's/available//'); ...
0
votes
1
answer
241
views
How to remap a combination of buttons clicks to run a script
I'm running BSPWM as my tiling window manager, and SXHKD as my mapping tool.
And i want to kill the current window when i click a combination of:
button1 + button1 + button3 (double left click + right ...
1
vote
1
answer
2k
views
Can't start sxhkd as a systemd service
I'm using bspwm on my Arch Linux install and I need to run the sxhkd hotkey daemon to launch my applications.
Up to now, the launch script was in my .config/bspwm/bspwmrc (which is a simple bash ...
2
votes
1
answer
1k
views
Where do I get xcb_event.h?
I'm 'make'-ing SXHKD on MX Linux to try keybindings and I get:
$ make
cc -std=c99 -pedantic -Wall -Wextra -D_POSIX_C_SOURCE=200112L -DVERSION=\"0.6.1\" -c -o sxhkd.o src/sxhkd.c
src/sxhkd.c:...
2
votes
1
answer
395
views
Launching urxvt with calendar (cal) using sxhkd
Hi I'm trying to launch cal with sxhkd. And it doesn't work, the terminal window is closed right after the command is executed.
I tried to do it using the following:
# launch urxvt 20x8 with cal
super ...