Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 689120

Summary: kde-plasma/plasma-workspace: X11 and Wayland sessions are indistinguishable in lightdm
Product: Gentoo Linux Reporter: Alexey <alexey+gentoo>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: polynomial-c
Priority: Normal Keywords: UPSTREAM
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=368409
https://github.com/sddm/sddm/pull/997
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Alexey 2019-07-01 23:08:17 UTC
Created attachment 581734 [details]
emerge --info

I've enabled wayland USE flag globally, and now in lightdm I see the following options:
* Plasma
* Plasma
* others

There is no way to tell which of two Plasmas is which.

I propose /usr/share/xsessions/plasma.desktop and /usr/share/wayland-sessions/plasmawayland.desktop to have different strings, e.g. "Plasma (X11)" vs "Plasma (Wayland)", to make it possible to select the correct one.
Comment 1 Andreas Sturmlechner gentoo-dev 2019-07-02 06:17:16 UTC
SDDM distinguishes these just fine, so I'm ging to assume lightdm problem.
Comment 2 Andreas Sturmlechner gentoo-dev 2019-07-02 11:17:37 UTC
It is to be solved in plasma-workspace after all, but also involves SDDM. Assigning back to KDE.
Comment 3 Larry the Git Cow gentoo-dev 2019-07-20 20:08:24 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=8b27072530e08ae2ca94d87ba268662bce3e7f8d

commit 8b27072530e08ae2ca94d87ba268662bce3e7f8d
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-07-20 20:07:13 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-07-20 20:07:13 +0000

    kde-plasma/plasma-workspace: Rename Xorg session
    
    To make it distinguishable from Wayland session regardless of DM hacks.
    SDDM hack can be dropped any time, both changes are still pending upstreams.
    
    Bug: https://bugs.gentoo.org/689120
    Package-Manager: Portage-2.3.69, Repoman-2.3.16
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../plasma-workspace-5.16.3-x11sessionrename.patch | 91 ++++++++++++++++++++++
 .../plasma-workspace-5.16.49.9999.ebuild           |  1 +
 2 files changed, 92 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2019-07-20 22:15:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fa0e743a95e1816d766dceb9430d13c7d70bcd6

commit 7fa0e743a95e1816d766dceb9430d13c7d70bcd6
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-07-20 20:07:13 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-07-20 22:05:46 +0000

    kde-plasma/plasma-workspace: Rename Xorg session
    
    To make it distinguishable from Wayland session regardless of DM hacks.
    SDDM hack can be dropped any time, both changes are still pending upstreams.
    
    Closes: https://bugs.gentoo.org/689120
    Package-Manager: Portage-2.3.69, Repoman-2.3.16
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../plasma-workspace-5.16.3-x11sessionrename.patch | 91 ++++++++++++++++++++++
 .../plasma-workspace-5.16.3.ebuild                 |  1 +
 2 files changed, 92 insertions(+)