GNOME-SESSION-SELE(1)

πŸ“¦
version 46.0 Β· 2 versions
, in centos-stream 10

✨ NAME ✨

gnome-session-selector β€” picks which session gnome-session should use, like a lil session matchmaker πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

gnome-session-selector [session]

πŸ’… DESCRIPTION πŸ’…

okay so bestie, picture this: gnome-session-selector is the thing you call from an xsession desktop file to, like, choose a session before gnome-session even starts running. slay. πŸ’–

here's the tea πŸ“ β€” gnome-session reads and stores its session in the $XDG_DATA_HOME/gnome-session/saved-session directory. and how does the selector do its thing? it literally replaces that saved-session directory with a symlink pointing at another directory. iconic behaviour, no cap. 🫢

but ⚠️ heads up: since the session name gets used as the directory name, it may not contain / characters or begin with a .. like, that's the rule, periodt.

when you give it a session name, gnome-session-selector creates a symlink to select that session. easy peasy.

when you start it with no arguments at all? it pops open a dialog so you can pick one of the existing sessions or make a brand new one. choose-your-own-adventure energy, honestly. 🌈


πŸ¦‹ SEE ALSO πŸ¦‹


and that's the whole vibe, bestie ✨ β€” this gem lives under User Commands, from the gnome-session fam, dated back in the day. go forth and select your sessions responsibly πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from