You are not logged in.
Recently I got lightdm to work, but this seems to effect dwm in some way.
Before lightdm I used "startx" to start dwm and other stuff. I put my settings from ".xinitrc" in a ".xprofile" file
and everything works fine besides one thing:
I cant execute my bash scripts with keybindings anymore! (dwmblocks cant execute my scripts either, but I think its the same problem)
Normal programms like alacritty or brave work normal.
And the scripts themselves work fine, when I run them in the terminal.
Sadly I got no real clues why this is happening.
The only hint I got is that neofetch now shows "DE: custom", it didnt show this when I used startx.
I link a few files below:
.xprofile: http://ix.io/2vqy
config.def.h-snippet: http://ix.io/2vqA
Last edited by Tempest002 (2020-08-27 22:50:25)
Offline
Don't fork setxkbmap, xrandr and xwallpaper.
Are "my bash scripts" in $PATH?
("echo $PATH > /tmp/path.dbg" in your xprofile - the $PATH in the interactive shell is irrelevant)
Offline
Don't fork setxkbmap, xrandr and xwallpaper.
I guess I dont really need setxkbmap if I set it with loadkeys, but how should I run xrandr and xwallpaper?
Should I put them into .bash_profile or use the autostart patch of dwm or something?
And yes my scripts folder is in $PATH, already checked that.
[ins]/home/sebi/Scripte[/ins]:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perlOffline
Don't fork == remove the trailing "&" - otherwise you're provoking race conditions.
How *exactly* did you check that?
Again: the output in your interactive shell (a terminal running bash) is irrelevant here. You want to know whether the correct $PATH exists in xprofile.
Offline
How or where did you check the PATH exactly? Where is /home/sebi/Scripte added to your PATH?
EDIT: too slow ...
Last edited by Trilby (2020-08-27 20:43:38)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
@seth, sorry took a sec to understand what you mean.
Now I put the echo command you gave me in my .xprofile and here is path.dbg
/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perlAnd behold, my script folder is not there.
What can I do to fix it?
Offline
export the extended $PATH in xprofile.
Offline
It worked, my keybindings work again!
Thank you for the second time ![]()
Offline
Please remember to mark your thread [SOLVED] (edit the title of your first post).
Offline