Build-configs/Budgie/acorhooks/normal/0600-snap-show-menu-fix.hoo...

12 lines
423 B
Plaintext
Raw Normal View History

2023-02-04 18:25:27 -01:00
#!/bin/bash
# Workaround for using snapd on debian. Thank You - @stevesveryown and peppermint team..
[ ! -e /etc/skel/.local/share ] && mkdir -p /etc/skel/.local/share
[ ! -e /var/lib/snapd/desktop/applications ] &&
mkdir -p /var/lib/snapd/desktop/applications &&
chmod 777 /var/lib/snapd/desktop/applications
ln -s /var/lib/snapd/desktop/applications /etc/skel/.local/share/applications
ln -s snap /usr/bin/snap-store