Hello
Sorry, new users can only put 2 links in a post.
So bare with be while I try my best to properly link the problems. Just copy’em out of single quotes to get them working.
Sorry, new users can only put one image in a post.
Sigh… Not sure what to do, I’ll upload the most relevant one I guess.
EDIT: To help speed up things, I’ve made a makeshift repo with a README.md with a duplicate of this post but with all the links and images included. I’ll use my single link allowed to do this:
My name is Cristiano Vitorino, I’m a Designer, helping out with the UI Rewrite on the [Glimpse](https://glimpse-editor.org/)
project.
@hellsworth sent me this way from the Glimpse Matrix channel after our discussion about bugs and problems I’ve encountered trying to use snapd
on Arch Linux and also my past problems with it on Fedora 30
and 31
.
I want to thank her for her patience and composure in trying to help me while I was extremely frustrated with snapd
after failing to get it to work on my production machine where I need Glimpse to be stable.
So, I’ll sumirise my recent problems and my past ones soon after. Also I’ll mention everything that I managed to find online about these same issues.
I understand that my distros of choice are bleeding edge and I take that into consideration when bug reporting. Specially my beloved Arch Linux, that is unique for each install, and a hellscape to debug.
For record sake, today is 23.Mar.2020. Spent the evening trying to solve these problems.
- The Installing snap on Arch Linux page on
https://snapcraft.io/docs/installing-snap-on-arch-linux
is outdated. There are additional steps required now to getsnapd
installed or removed.
Last updated 1 year, 30 days ago. Help improve this document in the forum.
The first step still holds true:
$ git clone `https: //aur.archlinux.org/snapd.git`
$ cd snapd
$ makepkg -si
But not the second:
$ sudo systemctl enable --now snapd.socket
Enabling the seeded service is required BEFORE enabling snapd
.
$ sudo systemctl enable snapd.seeded.service
$ sudo systemctl enable --now snapd.socket
Otherwise you will get this error:
https://raw.githubusercontent.com/cristianovitorino/snapd-bug-report/master/seeded-error.png
If you try again, it usually works:
https://raw.githubusercontent.com/cristianovitorino/snapd-bug-report/master/seeded-error-2.png
The remaining steps still holds true.
Special thanks to [Erik Dubois](https://github.com/erikdubois)
for creating [this script](https://github.com/erikdubois/arcolinux-nemesis/blob/aefa1adcac4c7a4fc0719921d838cf1f28057d89/AUR/install-snap-and-snap-store-v1.sh)
that solves the problem.
- Uninstalling
snapd
requires extra steps and should be mentioned on the install page. This is a safety/sanitary approach to uninstallingsnapd
on Arch Linux, on that order:
$ sudo systemctl stop --now snapd.socket
$ sudo systemctl stop snapd.seeded.service
$ sudo systemctl disable --now snapd.socket
$ sudo systemctl disable snapd.seeded.service
$ sudo pacman -Rs snapd
OR
$ yay -Rs snapd
$ reboot
- Installing
snapd
from AUR withyay
gives a perpetual error,snapd
is broken forever, it complains about the seeded issue forever. I’ve found no solution for this.
Major problem #1
I’m unable to use Snap Store due to it’s inability to display text/font. Also it doesn’t recognize the applied GTK theme and defaults to an odd and seemly old version of GTK. Screenshots below for reference.
https://raw.githubusercontent.com/cristianovitorino/snapd-bug-report/master/no-font-no-gtk.png
https://raw.githubusercontent.com/cristianovitorino/snapd-bug-report/master/no-font-no-gtk-2.png
Major problem #2
I’m unable to run Glimpse (glimpse-editor). It starts, tries to load, and as soon as it opens, a split second later it crashes. Oh, it also have the same bug with the text/font that the Snap Store one has. Screenshots for reference.
https://raw.githubusercontent.com/cristianovitorino/snapd-bug-report/master/glimpse-loading-no-font.png
https://raw.githubusercontent.com/cristianovitorino/snapd-bug-report/master/glimpse-crash.png
- Relevant links to either these exact same issues or similar ones, old and new, still here unfortunately:
- Jul.2019 -
[Snapped app not loading fonts on Fedora (and Arch)](https://forum.snapcraft.io/t/snapped-app-not-loading-fonts-on-fedora-and-arch/12484)
- Feb.2018 -
[Snap application icons do not appear with Wayland](https://bugs.launchpad.net/snapd/+bug/1747081)
- Nov.2017
[fonts missing #8](https://github.com/snapcrafters/discord/issues/8)
- Oct.2019 -
[[SOLVED] Snap-Store font problem?](https://arcolinuxforum.com/viewtopic.php?f=35&t=1631)
# This solution no longer works. At least on vanilla Arch Linux. - Jul.2019 -
[Snap-store dont display text](https://forum.snapcraft.io/t/snap-store-dont-display-text/12219)
# Exact same problem of the first link, and on the same month.- Oct. 2019 - @mborzecki had extra insight
[here](https://forum.snapcraft.io/t/snap-store-dont-display-text/12219/13)
that might be of some help.
- Oct. 2019 - @mborzecki had extra insight
- Oct.2019 -
[Snap Store Font issue - everything is a rectangle (screenshot)](https://forum.manjaro.org/t/snap-store-font-issue-everything-is-a-rectangle-screenshot/105932)
- May.2017 -
[Use the system gtk theme](https://forum.snapcraft.io/t/use-the-system-gtk-theme/496)
My system info
https://raw.githubusercontent.com/cristianovitorino/snapd-bug-report/master/sys-info.png
snapd version: snapd 2.43.3-1
$ cat /etc/os-release
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="0;36"
HOME_URL="https://www.archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
LOGO=archlinux
uname -a
Linux desktop 5.5.10-arch1-1 #1 SMP PREEMPT Wed, 18 Mar 2020 08:40:35 +0000 x86_64 GNU/Linux
cat /proc/version
Linux version 5.5.10-arch1-1 (linux@archlinux) (gcc version 9.3.0 (Arch Linux 9.3.0-1)) #1 SMP PREEMPT Wed, 18 Mar 2020 08:40:35 +0000
Important Notes
- Somehow installing
snapd
breaks my.Xmodmap
file and renders it useless. I have zero idea how or why. I blame ghosts. - Please, PLEASE, someone responsable for documentation on Snapcraft add a
echo snap >> ~/.hidden
to every install page right after reboot so people stop complaining about making/snap
hidden. This is a minor cosmetic issue that shouldn’t be an issue. Thank you. - I faced very similar issues when I tried snapd on Fedora
30
and Fedora31
.
Steps to reproduce
Arch Linux
I’ve uploaded my Arch Linux install guide with each step I use to install mine: https://github.com/cristianovitorino/snapd-bug-report/blob/master/ARCH-LINUX-INSTALL-GUIDE.md
Fedora
Just install vanilla Fedora Workstation 31.
That’s all.
Thanks again @hellsworth for trying to help and pointing me in the right direction.
You can reach me on:
- Glimpse Matrix channel
[GitHub](https://github.com/cristianovitorino)
[Dribbble](https://dribbble.com/cristianovitorino)
[Twitter](https://twitter.com/cristvit)
Regards,
Cristiano Vitorino