I am confused. I’ve googled all the internet.
It seems that ArchLabs doesnt use xinit as a session manager. At least, there are no files in /etc/X11/xinit or ~/.xinitrc.
I used lightDM display manager, and there was Xsession file in /etc/lightdm folder. Now I’ve disabled lightdm service and enabled LXDM. I’ve also installed lxsession-gtk3. But I haven’t found a slightest manual in the internet on how to make lxsession to work. They all just say do sudo pacman -S lxsession which is done of course. They say, there 'd be a config file for lxsession in ~/.configs or at least /etc/xdg/lxsession (there is NO such folder).
There is a folder /usr/share/xsessions which contain only bspwm.desktop (I am using bspwm window manager).
Th question of the day.
Do I need to create all these folders and files for lxsession manually, how do I set lxsession on autostart and how to know what is my session manager and where are it’s configs? Is there a universal way to chek it?
It seems I have neither xinit as a session manager nor lightDM nor Lxsession.
I have no idea what I have and where are the configs.
I am totally confused.
P. S. I know these are stupid questions so I am sorry, but a little help with explanations would be very appreciated.
I’ve realized that the display manager chooses my session manager.
I’ve found the configs, and they are commented i.e. inactive.
I guess I do not have any session manager and I have only bspwm.desktop which automatically launches from /usr/share/xsessions ? Is that possible?
And does display manager tries to launch all desktop entries in /…/xsessions or, if the session manager is specified, only the session manager, which’s configs define all other entiries?
I think that’s the session manager for LXDE so it would only be used for that desktop environment.
If you want to use it with bspwm then try adding this line to ~/.config/bspwm/bspwmrc:
Not sure if that would actually work though.
Sounds reasonable to me: if there are no xsessions listed in /etc/lxdm/lxdm.conf and only one file in /usr/share/xsessions/then that would be run. Additionally, ~/.dmrc can be used for user-specific configuration.
You can also check /var/lib/lxdm/lxdm.conf to see the last-used sessions.
No, seems it’s not. I’ve checked it. It is very strange, all I’ve found is a desktop application in applications folder, and also when I remove polkit-gnome, my nm-applet stops working (at least it disappears from tint2).
Both when I do so and when I remove polkit-gnome, the warning message doesn’t pop up, but the output in the terminal is the same, and tint2 also disappears.
It seems that lxsession doesn’t really work without full LXDE installed.
That’s strange considering it’s suggested in a list of graphical authentication agents here: https://wiki.archlinux.org/index.php/Polkit#Authentication_agents
It gives lxappearance the opportunity to change color scheme manually, and considering it provides it’s own polkit, I thought it’s a good idea to have it installed instead of gnomes and stuff.
But it seems it’s a no-go.
Oh. I am an idiot again, it was really there. The warning message had confused me, I thought that the content of a message I was getting in the terminal was actually a content of the file, nevermind, thank you.