XDG_DATA_DIRS not set to allow access to software from Applications list

Bug #1747993 reported by Mathieu Trudel-Lapierre
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
snapd (Ubuntu)
Expired
Low
Unassigned

Bug Description

I've been debugging gnome-characters, telegram, etc. not showing in the Applications list / in searches in GNOME with kenvandine on #ubuntu-desktop.

/etc/X11/Xsession.d/65snappy is not present on this new Bionic install, and $XDG_DATA_DIRS is empty in my session.

This effectively leads to installed snaps not being linked in the UI, so they need to be started manually from the command line. This leads to poor user experience.

Revision history for this message
Ken VanDine (ken-vandine) wrote :

This seems to only be an issue with wayland on bionic. It works fine in the xorg session. I noticed snapd on 17.10 includes scripts to set XDG_DATA_DIRS in both profile.d and Xsession.d however on bionic the Xsession.d script has been removed.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in snapd (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Xession.d has never been a solution for wayland sessions, if you still have that file it's a conffile leftover, the profile.d include should work though

Revision history for this message
Sebastien Bacher (seb128) wrote :

is that still an issue? do you have the profile.d entry?

Changed in snapd (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for snapd (Ubuntu) because there has been no activity for 60 days.]

Changed in snapd (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.