this post was submitted on 26 Nov 2023
10 points (85.7% liked)

Arch Linux

9058 readers
5 users here now

The beloved lightweight distro

founded 5 years ago
MODERATORS
 

I'd like to keep XCFE for VERY occasional use, so when I'm not using it I'd like to quit it. Also I don't want it to start at boot. I've found a bunch of ways of uninstalling it but that's not what I'm after, I just want to make sure it is not running unless I start it.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] captcha@hexbear.net 5 points 2 years ago* (last edited 2 years ago) (1 children)

Use systemctl:

  • to turn off lightdm, sudo systemctl stop lightdm. This will also shut down xfce if it was started with lightdm.
  • to permamently not start lightdm at boot, sudo systemctl disable lightdm.
  • to start xfce whenever you want it just run start-xfce.

Note: this will mean that you computer will boot directly to tty instead of any graphical display, which I assume is what you wanted.

[โ€“] mub@lemmy.zip 3 points 2 years ago

That's bang on. Thanks. Feels like I should have worked that out, but I just assumed it would be more fiddly.