View previous topic :: View next topic |
Author |
Message |
FatFourtyTwo n00b
Joined: 10 Jul 2022 Posts: 21
|
Posted: Thu Aug 18, 2022 3:03 am Post subject: Switching between X and Wayland on boot? |
|
|
I'm currently using a Budgie overlay from a private repo, but the stuff from the Wayland Desktop overlay looks pretty cool, and I want to try it out. Budgie does not have Wayland support.
How would I change my system to start Wayland on boot (and get it back to X after that)? I'm assuming that there's a file somewhere in /etc/conf.d somewhere, but after my experience yesterday, I'm very reluctant to go poking around in system files without knowing what I'm doing.
I know you change the display manager by having OpenRC start the display manager service at the default runlevel, and you can modify which display manager it uses by modifying the text file in /etc/conf.d/display-manager, but the process for loading an X DE vs a Wayland DE is less clear to me. But seems like it would be a bit more complicated than that. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8936
|
Posted: Thu Aug 18, 2022 5:24 am Post subject: |
|
|
You pick either Wayland or X11 session in the display manager. |
|
Back to top |
|
|
Goverp Advocate
Joined: 07 Mar 2007 Posts: 2006
|
Posted: Thu Aug 18, 2022 9:04 am Post subject: Re: Switching between X and Wayland on boot? |
|
|
FatFourtyTwo wrote: | ...
I know you change the display manager by having OpenRC start the display manager service at the default runlevel, and you can modify which display manager it uses by modifying the text file in /etc/conf.d/display-manager, but the process for loading an X DE vs a Wayland DE is less clear to me. But seems like it would be a bit more complicated than that. |
It's actually easier than that! Whether you get Wayland or X is merely a choice of start command in your terminal session. For example, I've both Wayland and X installed on my box, which has a KDE desktop and uses SDDM as displaymanager. On boot, it puts up an SDDM logon screen - SDDM is an X application - and you can choose, via a spin-button on the bottom left of the screen, that the session you log into will be either Plasma-X11 or Plasma-Wayland.
FWIW I'm thinking of dumping SDDM, and using a bash profile that starts terminal, X or Wayland according to the tty number I use to log in. Losing SDDM means I think KDE won't switch users for me, so I'll have to go to the more complex method of typing Ctl+Alt+Fn _________________ Greybeard |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Thu Aug 18, 2022 9:26 am Post subject: |
|
|
Quote: | and using a bash profile that starts terminal |
That's more or less how I do it. I boot to the TTY console and log in. After that, I start my desktop environment using a couple of start scripts:
- startx - starts XFCE (my main DE)
- start_sway - starts Sway
- start_weston - starts Weston
- ...
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|