You are not logged in.
Since a while some commands in my xinitrc are failing on boot. I'm booting straight into X / dwm with systemd, this is my xinitrc:
#!/bin/sh
/usr/bin/xset r rate 200 30
/usr/bin/xcalib $HOME/documents/MacbookAir.icc
/usr/bin/imlibsetroot --composite -p c $HOME/pictures/arch-wallpaper-1920.png
/usr/bin/urxvtd -q -o -f
/usr/bin/urxvtc
/usr/bin/xmodmap $HOME/.Xmodmap
/usr/bin/xbacklight -set 15
$HOME/.dotfiles/home/stats.sh &
/usr/bin/dwm
The two bold entries are failing and have to run manually again after login, the other lines work alright.
Any ideas?
ᶘ ᵒᴥᵒᶅ
Offline
I recall a similar problem with .Xmodmap. I replaces it with 'setxkbmap -option caps:escape' as it was the only thing I needed it for.
I have some xset commands in my .xinitrc and the all work - 'xset r rate 200 30' too.
How do you know they don't work? 'xset -q'?
$ xset q
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000000
XKB indicators:
00: Caps Lock: off 01: Num Lock: off 02: Scroll Lock: off
03: Compose: off 04: Kana: off 05: Sleep: off
06: Suspend: off 07: Mute: off 08: Misc: off
09: Mail: off 10: Charging: off 11: Shift Lock: off
12: Group 2: off 13: Mouse Keys: off
auto repeat delay: 200 repeat rate: 30
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100<snip>
Offline
How do you know they don't work? 'xset -q'?
Without the xset command the keyrate is very low and the delay is high, so i immediately notice it... It must be some race condition, but i'm reluctant to put time delays on them because that feels so hacky.
ᶘ ᵒᴥᵒᶅ
Offline
I'm not using systemd.
If I needed a delay could put
(sleep 30 && <some command or script>) &into my /etc/rc.local.
Offline