[kde] [Bug 509413] New: Add support for Session selection in desktop files, similar to DE in OnlyShowIn and NotShowIn
Ajrat Makhmutov
bugzilla_noreply at kde.org
Fri Sep 12 13:16:23 BST 2025
https://bugs.kde.org/show_bug.cgi?id=509413
Bug ID: 509413
Summary: Add support for Session selection in desktop files,
similar to DE in OnlyShowIn and NotShowIn
Classification: I don't know
Product: kde
Version First unspecified
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: unassigned-bugs at kde.org
Reporter: rauty at altlinux.org
Target Milestone: ---
Some apps don't work on X11, but they work on Wayland. Some are the opposite.
For example: xkill.
I suggest adding session indication support to OnlyShowIn and NotShowIn.
For example: OnlyShowIn=KDE;GNOME;X11; - will mean that the application
supports GNOME and KDE in the X11 session.
If I understood correctly, then for this we need to edit the
"`std::optional<AutostartEntry> AutostartModel::loadDesktopEntry(const QString
&fileName)`" function in the
https://invent.kde.org/plasma/plasma-workspace/-/blob/master/kcms/autostart/autostartmodel.cpp?ref_type=heads#L54.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list