Created attachment 106436 [details] screenshot of problem See attachment. Where can I fix this?
The duplicate "Plasma 5" session is caused by downstream adding a "default.desktop" symlink in /usr/share/xsessions. The sddm kcm does not handle this case, it should probably get shown as "(System Default)" or similar. Anyway, that needs to be fixed downstream first. I see a second issue though, desktop files with Hidden=true are still shown although the spec says they need to be ignored completely. This part needs to be fixed in kcm_sddm indeed, so setting CONFIRMED and adjusting the subject.
(In reply to Fabian Vogt from comment #1) > I see a second issue though, desktop files with Hidden=true are still shown > although the spec says they need to be ignored completely. This part needs > to be fixed in kcm_sddm indeed, so setting CONFIRMED and adjusting the > subject. I made a patch for the second issue: https://phabricator.kde.org/D6626
Git commit 992143c4bf5ad5219a20cc7c56efea5c941ef79b by Fabian Vogt. Committed on 11/07/2017 at 11:15. Pushed by fvogt into branch 'Plasma/5.8'. Session file parser: Support sections and respect the Hidden property Summary: Some desktop files have multiple sections, but for now we're only interested in [Desktop Entry]. Without this patch, every entry was seen as part of the [Desktop Entry] session, resulting in values getting overwritten. Additionally, the Hidden=true property specifies that the desktop file needs to be treated like it was non-existant. Same as https://github.com/sddm/sddm/pull/821 for sddm. Test Plan: Installed the KCM, now there are no duplicate sessions and the right Name is shown for icewm-session.desktop. Reviewers: #plasma, davidedmundson Reviewed By: #plasma, davidedmundson Subscribers: davidedmundson, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D6626 M +20 -2 src/sessionmodel.cpp https://commits.kde.org/sddm-kcm/992143c4bf5ad5219a20cc7c56efea5c941ef79b
Git commit 65dc9de7c45d5ea4affaa6bf9e6601a000c3e321 by Fabian Vogt. Committed on 11/07/2017 at 11:07. Pushed by fvogt into branch 'Plasma/5.10'. Session file parser: Support sections and respect the Hidden property Summary: Some desktop files have multiple sections, but for now we're only interested in [Desktop Entry]. Without this patch, every entry was seen as part of the [Desktop Entry] session, resulting in values getting overwritten. Additionally, the Hidden=true property specifies that the desktop file needs to be treated like it was non-existant. Same as https://github.com/sddm/sddm/pull/821 for sddm. Test Plan: Installed the KCM, now there are no duplicate sessions and the right Name is shown for icewm-session.desktop. Reviewers: #plasma Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D6626 M +20 -2 src/sessionmodel.cpp https://commits.kde.org/sddm-kcm/65dc9de7c45d5ea4affaa6bf9e6601a000c3e321