Choose style:

Author Topic: Making snap applicattions appear in the menu  (Read 1562 times)

0 Members and 1 Guest are viewing this topic.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24487
  • Karma: 2698
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Making snap applicattions appear in the menu
« on: March 15, 2018, 01:14:39 am »
If you've ever noticed, when you install a snap application they do not show up in the Peppermint 7/8 whiskermenu.

Obviously for any of this to work you'll need to have snapd installed first:
Code: [Select]
sudo apt-get install snapd
Now here's a workaround so installed snap applications show up in the whiskermenu, open a terminal and create a symlink from the directory snaps store their launchers (/var/lib/snapd/desktop/application) to the system applications directory:
Code: [Select]
sudo ln -s /var/lib/snapd/desktop/applications /usr/share/applications/snapd
now when you install a snap, such as:
Code: [Select]
snap install minecraft
or
Code: [Select]
snap install xnviewmp
or
Code: [Select]
snap install spotify
all you need to do is log off/on again .. or restart the panel with:
Code: [Select]
xfce4-panel -r
and the installed snap application should now appear in the whiskermenu.



Further info...

Uninstalling snaps is as simple as
Code: [Select]
snap remove <application name>
and if you want to know which apps are available as snaps, see here:
https://uappexplorer.com/snaps

Note:- Be aware some snaps (such as Spotify) take a short while to start up the first time they're run, but they start much quicker from then on.
« Last Edit: March 15, 2018, 01:25:42 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline mentha_piperita

  • nOOb
  • *
  • Posts: 5
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: Making snap applicattions appear in the menu
« Reply #1 on: June 29, 2018, 09:34:06 am »
Hello everyone.
I had the same problem.
Indeed, the apps are now appearing on the whisker menu but...TWICE.  ???
Any workaround to fix this?

Offline mentha_piperita

  • nOOb
  • *
  • Posts: 5
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: Making snap applicattions appear in the menu
« Reply #2 on: June 29, 2018, 09:40:40 am »
[MIME Cache]
application/epub+zip=coolreader3_cr3.desktop;
application/rtf=coolreader3_cr3.desktop;
application/vnd.kde.okular-archive=okular_org.kde.okular.desktop;
application/x-chm=coolreader3_cr3.desktop;
application/x-fictionbook+xml=coolreader3_cr3.desktop;
application/x-psion-compressed-text=coolreader3_cr3.desktop;
application/x-zip-compressed-fb2=coolreader3_cr3.desktop;
application/xhtml+xml=coolreader3_cr3.desktop;
application/zip=coolreader3_cr3.desktop;
text/html=coolreader3_cr3.desktop;
text/plain=coolreader3_cr3.desktop;

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24487
  • Karma: 2698
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Making snap applicattions appear in the menu
« Reply #3 on: June 29, 2018, 09:59:07 am »
Which version of peppermint ?

Peppermint 9 did not need the above fix, it already had a symlink in place .. all you need to do in Peppermint 9 is either restart the panel or log off/on.

What's the output from
Code: [Select]
ls -al /usr/share/applications | grep "\->"
« Last Edit: June 29, 2018, 10:05:19 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline mentha_piperita

  • nOOb
  • *
  • Posts: 5
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: Making snap applicattions appear in the menu
« Reply #4 on: July 02, 2018, 10:56:51 am »
Thank you for your help.
I am reinstalling peppermint now.  It was a new install anyway.
I 'll post you back :)

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24487
  • Karma: 2698
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Making snap applicattions appear in the menu
« Reply #5 on: July 02, 2018, 11:07:39 am »
There was no need to reinstall, we could easily fix the dual symlinks.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline n6rej

  • nOOb
  • *
  • Posts: 12
  • Karma: 0
  • Bear
    • View Profile
  • Peppermint version(s): peppermint 9
Re: Making snap applicattions appear in the menu
« Reply #6 on: September 28, 2018, 03:04:38 pm »
I discovered the same problem whenever I installed something that said it was from flat group, on peppermint 9
Bear

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24487
  • Karma: 2698
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Making snap applicattions appear in the menu
« Reply #7 on: September 28, 2018, 04:06:36 pm »
Any snap or flatpak (that actually contains a menu entry) installed under Peppermint 9 should show up in the menu after logging out/in (or rebooting)

Or you can just restart the panel with
Code: [Select]
xfce4-panel -r

THERE IS NO NEED TO CREATE THESE SYMLINKS IN PEPEPRMINT 9
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec