How do I Ubuntu ? - GNU/Linux

Users browsing this thread: 2 Guest(s)
z3bra
Grey Hair Nixers
Mmmmh, for me it's my toolbox, and I spend 7+ hours working with it. I just can't convince myself that gnome-shell is the solution to my problems.

To "work" on this issue, I decided to install it ahead of time, and try to change the session. To my surprise, it is fairly easy to do so !

GDM3 (the default login manager) looks into /usr/share/xsessions for possible "sessions" that can be started by a user. You can create your own, which I named "xsession.desktop":

Code:
[Desktop Entry]
Name=Xsession
Comment=Custom Xsession launcher
Exec=/etc/X11/Xsession
Terminal=False
TryExec=/etc/X11/Xsession
Type=Xsession

The /etc/X11/Xsession script is provided by default on a fresh install. Basically, it will run shell scripts provided in /etc/X11/Xsession.d, based on the content of the file /etc/X11/Xsession.options. One of those option is "allow-user-xsession", which will make the Xsession script run "exec $HOME/.xsession" at the end, which works exactly like .xinitrc when you run "startx".

So in the end I just created 2 files:
  • /usr/share/xsessions/xsession.desktop
  • $HOME/.xsession

And I'm back to something I know ! There are still a bunch of thing I need to figure out how to do on Ubuntu (volume management, and the awful combination of "netplan" and "NetworkManager" for network connectivity as an example), but at least I can do so in an environment that I know.


Messages In This Thread
How do I Ubuntu ? - by z3bra - 06-08-2021, 12:36 PM
RE: How do I Ubuntu ? - by jkl - 06-08-2021, 02:40 PM
RE: How do I Ubuntu ? - by z3bra - 06-08-2021, 04:48 PM
RE: How do I Ubuntu ? - by venam - 08-08-2021, 02:41 AM
RE: How do I Ubuntu ? - by z3bra - 08-08-2021, 07:27 AM
RE: How do I Ubuntu ? - by pyratebeard - 09-08-2021, 05:20 PM
RE: How do I Ubuntu ? - by pkal - 19-08-2021, 07:13 PM
RE: How do I Ubuntu ? - by z3bra - 22-08-2021, 01:05 PM
RE: How do I Ubuntu ? - by pkal - 22-08-2021, 01:27 PM
RE: How do I Ubuntu ? - by z3bra - 22-08-2021, 01:34 PM
RE: How do I Ubuntu ? - by freem - 26-08-2021, 07:42 PM
RE: How do I Ubuntu ? - by z3bra - 30-08-2021, 06:51 AM
RE: How do I Ubuntu ? - by z3bra - 30-08-2021, 01:15 PM
RE: How do I Ubuntu ? - by pyratebeard - 02-09-2021, 10:27 AM