Hi guys, I’m encountering a weird problem. Anyone sheds some light?
Apparently, installed snaps are working fine via terminal commands. However, Apps like Atom, VLC and Firefox has their own respective .Desktop files. They aren’t appearing in the menu.
UPDATE 8/14/2018 21:55 +0800:
/etc/profile is not sourced at login. You must add
source /etc/profile in
~/.xsessionrc manually in order to make snaps commands available to use. It’s not a bug but an expectation for all Debian users.
Shortcuts are made available in the menu for those that have .Desktop without manual intervention.
Urgently Looking For
A way to export the .Desktop path like how we do for
13 August 2018 +8000
The snaps .Desktop files are located in
/var/lib/snapd/desktop/applications/. Navigate into that folder and copy the file out to Desktop for easy access.
softlink them into
- Using native package? Yes
- Snapd Version?
snap 2.34.3 snapd 2.34.3 series 16 debian 9 kernel 4.9.0-7-amd64
- Upgrade it to latest? Still looking for way to update it towards the latest.
Hypothesis 1: Wayland bug
Attempted: Desktop snaps do not appear in the dash/menu on gnome in 17.10 final beta, no result.
- My case is X11, as
loginctldump these outputs:
holloway:fennec$ loginctl SESSION UID USER SEAT TTY 2 1000 holloway seat0 4 1000 holloway c1 111 lightdm seat0 3 sessions listed. holloway:fennec$ loginctl show-session 2 -p Type Type=x11 holloway:fennec$ loginctl show-session 4 -p Type Type=tty holloway:fennec$ loginctl show-session c1 -p Type Type=x11
XDG_DATA_DIRS environment variables, no luck.
Checked my terminal type:
holloway:fennec$ echo $SHELL /bin/bash
Hypothesis 2: The .desktop files are misplaced
holloway:fennec$ ln -st ~/.local/share/applications /var/lib/snapd/desktop/applications/*.desktop
Turns out it is working fine but I need to run this every time I install a new snap.