Hey Fellas,
So as stated, I stopped using LightDm and I’m trying out Ly.
Everything seems to be working… I had to give a direct path to check-network in my polybar module config.
My Main issue right now is I lost rofi/drun… Not sure what happend, did lightdm actually turn it on? Or how do I get the service running again, any help would be great.
All the other keybindings seem to be working…just not super for rofi/drun or super + x for shutdown menu…basically anything rofi… Profile is .xprofile… and I copied my $path directly into Ly config and still no bueno.
I switched back to lightdm and all works again… Ly is cool and look forward to making the switch soon. I may do another install I don’t mind borking to figure it all out on
Pretty sure I answered this in another chat but I’ll elaborate here a bit. The problem is that ly doesn’t source ~/.xprofile like most DMs do. This script is also sourced in ~/.xinitrc and it enables us to have system-wide commands that run regardless of session. Commands specific to a WM/DE will be launched via their startup files (i3 config, openbox rc.xml, bspwmrc, etc…).
After reading the docs and code for ly I found that it looks for ~/.xsession and sources it before launching the session much like other DMs do with ~/.xprofile.
The simple solution:
cp ~/.xprofile ~/.xsession
# profit
Scripts in ~/bin will now be found by just running them like any other program, no need to specify the full path. Our ~/.xprofile adds ~/bin to the PATH, the above will fix this as well.
The other option is to add a bit to ly’s xsetup.sh script, sourcing ~/.xprofile
# line 94
if [ -f "$USERXSESSION" ]; then
. "$USERXSESSION"
# add the following two lines above the existing `fi`
elif [ -f "$HOME/.xprofile" ]; then
. "$HOME/.xprofile"
fi