You are not logged in.

#1 2020-09-04 14:56:34

lzgief
Member
Registered: 2020-09-04
Posts: 1

Bspwm after logging as a user can't use shortcuts, as root - can

I have installed bspwm, sxhkd and lightdm. Configured according to wiki. Yet as root i can use all of sxhkd shortcuts and none as user.

[root@arch ~]# cat .config/bspwm/bspwmrc 
#! /bin/sh

pgrep -x sxhkd > /dev/null || sxhkd &

bspc monitor -d I II III IV V VI VII VIII IX X

bspc config border_width         2
bspc config window_gap           5

bspc config split_ratio          0.52
bspc config borderless_monocle   true
bspc config gapless_monocle      true

bspc rule -a Gimp desktop='^8' state=floating follow=on
bspc rule -a Chromium desktop='^2'
bspc rule -a mplayer2 state=floating
bspc rule -a Kupfer.py focus=on
bspc rule -a Screenkey manage=off
[root@arch ~]# cat .xinitrc 
sxhkd &
termite &
exec bspwm

Offline

#2 2020-09-04 14:59:46

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,517
Website

Re: Bspwm after logging as a user can't use shortcuts, as root - can

Stop running X as root.  That's NEVER a good idea.  If you only configured your keybindings for the root account, that's why they'd not work as a user.

If you are having trouble with the user sessions, post the configs from the user, not from root.

And again, stop running X as root.

Did I mention, don't run X as root?  Ever.

Last edited by Trilby (2020-09-04 15:00:50)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB