Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 574976 - kde-plasma/plasma-workspace installs two session files Plasma with the same name
Summary: kde-plasma/plasma-workspace installs two session files Plasma with the same name
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-17 16:23 UTC by gentoo
Modified: 2016-10-11 17:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,14.64 KB, text/plain)
2016-02-17 16:40 UTC, gentoo
Details
plasma-workspace-5.6.1.ebuild.diff (plasma-workspace-5.6.1.ebuild.diff,571 bytes, patch)
2016-04-04 15:53 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description gentoo 2016-02-17 16:23:20 UTC
My login manager presents me with three sessions to choose from: "Plasma", "Plasma", and "XSession".  One of the Plasma sessions used to be called "Plasma (Wayland)", but now they are both called "Plasma" and I cannot tell them apart any more.
I've traced the problem to the file /usr/share/wayland-sessions/plasmawayland.desktop. In it, the name for the session is given as "Plasma", which is identical to the name given in /usr/share/xsessions/plasma.desktop.
Please change one of them so it is possible to tell apart these two sessions again. Or delete one of those files if only one of them was supposed to be there. Thanks!
I have the USE flag "wayland" set in my make.conf.
I think this bug first happened with version 5.5.3.
Comment 1 gentoo 2016-02-17 16:40:20 UTC
Created attachment 425732 [details]
emerge --info
Comment 2 Michael Palimaka (kensington) gentoo-dev 2016-02-17 16:42:14 UTC
There was some discussion upstream about this. I don't remember what the result is, but there was opposition to marking the session type because it's not "user friendly".

Which login manager are you using?
Comment 3 gentoo 2016-02-17 16:51:04 UTC
I used sddm, but then I switched to lightdm. It is the same problem on both.

I understand that it's not very user-friendly if the user has to choose between "Plasma (Wayland)" and "Plasma", because that requires some knowledge of what Wayland is. But it's definitely less user-friendly to have to choose between "Plasma" and "Plasma" when only one of them works...
Comment 4 Michael Palimaka (kensington) gentoo-dev 2016-02-17 16:52:22 UTC
Sure, that was upstream's position, I didn't say I agreed with them. :-)
Comment 5 gentoo 2016-02-22 09:56:49 UTC
Some more info - I switched back to using sddm. There, the sessions are labeled as "Plasma", "XSession", and "Plasma (Wayland)".  (Not sure where sddm get's the "Wayland" from though, as it's not in the plasmawayland.desktop file...)

So maybe it's a problem in lightdm that both the KDE plasma and the wayland plasma have the same name?
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-04-04 15:53:12 UTC
Created attachment 429634 [details, diff]
plasma-workspace-5.6.1.ebuild.diff

Possible fix...
Comment 7 gentoo 2016-10-11 17:17:50 UTC
Marking this as fixed, as it now says "Plasma" and "Plasma (Wayland)" on my system, and I don't know who fixed it, but thank you!