Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Logging in via the command line, startx and wayland?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
KWhat
l33t
l33t


Joined: 04 Sep 2005
Posts: 660
Location: Los Angeles

PostPosted: Sun Dec 29, 2024 5:38 pm    Post subject: Logging in via the command line, startx and wayland? Reply with quote

I've been logging in to my Gentoo system via the command line and starting KDE via startx since the dawn of time. Now that Plasma 6 supports Wayland, I would like to start experimenting with using it while preserving the X11 environment in case things don't work.

How would I go about starting Wayland instead of X11 with something like startx?
Is there a start-wayland equivalent?
What should I do to make sure all of Wayland is installed?
Are there +wayland use flags I would need?
Back to top
View user's profile Send private message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2190

PostPosted: Sun Dec 29, 2024 6:20 pm    Post subject: Reply with quote

Where I have:
Code:
exec /usr/bin/startx /usr/bin/dbus-launch --exit-with-x11 startplasma-x11
for X11, I have:
Code:
exec /usr/bin/dbus-launch --exit-with-session startplasma-wayland
for Wayland.
I have no extra USE flags or packages for Wayland - the support is part of KDE. Many KDE components depend on dev-libs/wayland, which I think is all that's needed, and therefore it gets installed with KDE.
See also the wiki entry on Wayland.
_________________
Greybeard
Back to top
View user's profile Send private message
KWhat
l33t
l33t


Joined: 04 Sep 2005
Posts: 660
Location: Los Angeles

PostPosted: Tue Dec 31, 2024 6:13 am    Post subject: Reply with quote

Worked perfectly, thank you!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
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