Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

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 Eli Schwartz (eschwartz) - Thursday, 03 August 2017, 19:19 GMT
Task Type Bug Report
Category Upstream Bugs
Status Assigned
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 0%
Votes 0
Private No



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

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]

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.