I am new to Arch and did a fresh install.
I have configured it to use dwm and I start it with startx. The problem is that some commands in xinitrc seem to not run. It clearly works to some extend, because dwm is starting, but i can't say the same for other commands.
My xintirc is located: ~/.xinitrc (or /home/xor/.xinitrc) and looks like this:
exec dwm
set xkbmap de
feh --bg-scale ~/background.png
xinput set-prop "UNIW0001:00 093A:0255 Touchpad" 349 1
xinput set-prop "UNIW0001:00 093A:0255 Touchpad" 326 1
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
It should start dwm(which it does), set the keyboard layout to german qwertz(which works), set a background image(which does not work) adjust some touchpad settings(which does not work), and do something with the nvidia driver(Not exactly sure what it does, i guess it enables the card/driver, but I know that the drivers work and I can use my GPU).
I can paste the not working commands in a terminal and they work.
Is there somewhere an error log for the file xinit, and what is the problem in my case?
Thanks for help!
Asked by theboringkid
(23 rep)
Apr 5, 2022, 07:11 AM
Last activity: Oct 12, 2022, 10:45 PM
Last activity: Oct 12, 2022, 10:45 PM