Different session profiles in Zorin Lite

I'm wondering if there's a way to create different sessions for the same user or if I need to create new user accounts.
Since I’m currently trying out different window managers and compositors and need to change some configurations for that, it’s quite cumbersome to switch back and forth between the default state and the desired settings. The settings/files affected are Session and Startup, Compositor (Window manager tweaks), ~/.profile, ~/.config/gtk-3.0 and ~/.config/gtk-4.0.
I'd like to have some different profiles, e.g. for
Zorin Lite original
Zorin Lite with CSD enabled
Zorin Lite with picom compositor
and so on...

Is that possible?

Yes, you can. These are stored in /usr/share/xsessions/

Create a .desktop file for each one.
Like zorin-lite-orig.desktop
and
zorin-lite-picom

[Desktop Entry]
Name=zorin-lite-picom
Comment=Zorin Lite with Picom
Exec=/usr/local/bin/start-zorin-picom
Type=Application

Create an entry for the LightDM Sessions list in /usr/local/bin/
So the full path might be `/usr/local/bin/zorin-lite-picom

#!/bin/bash
picom --config ~/.config/picom/picom.conf &
startxfce4

Don't forget to make it executable

sudo chmod +x /usr/local/bin/zorin-lite-picom

Thanks a lot, Aravisian, for the instructions! I'll give it a try in the next few days.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.