FS#52616 - [lightdm] [gnome-session] Duplicated .desktop file for gnome

Attached to Project: Arch Linux
Opened by Fabien Devaux (fdev31) - Wednesday, 18 January 2017, 10:48 GMT
Last edited by Balló György (City-busz) - Thursday, 08 June 2023, 17:38 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Maxime Gauduin (Alucryd)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

gnome-session package installs twice the .desktop file for xorg with different names, leading to duplicated entry in login managers.

Additional info:

Using v3.22.2, but have the issue since a while

% pacman -Ql gnome-session |grep .desktop
gnome-session /usr/share/wayland-sessions/gnome.desktop
gnome-session /usr/share/xsessions/gnome-xorg.desktop
gnome-session /usr/share/xsessions/gnome.desktop



Steps to reproduce:

- install gnome
- start lightdm and click on the session choice icon

This task depends upon

Closed by  Balló György (City-busz)
Thursday, 08 June 2023, 17:38 GMT
Reason for closing:  Upstream
Comment by Balló György (City-busz) - Sunday, 22 January 2017, 12:42 GMT
I have asked gnome-session upstream to not install Xorg session file twice, but they rejected my proposal. [1] So I asked LightDM developers to fix this problem, but it looks like they are not interested too much. [2]

[1] https://bugzilla.gnome.org/show_bug.cgi?id=772924
[2] https://bugs.launchpad.net/lightdm/+bug/1633599
Comment by Fabien Devaux (fdev31) - Tuesday, 24 January 2017, 11:20 GMT
What about a pacman script detecting duplicates and keeping only one of them arbitrarily?
Comment by Balló György (City-busz) - Tuesday, 24 January 2017, 11:25 GMT
We could easily remove /usr/share/xsessions/gnome.desktop, but this would against upstream decision. This is a bug in LightDM, which should be fixed in their code.

Loading...