Snapd doesn’t install nor run properly, no GTK theme applied to Snap Store, no fonts displayed [Arch Linux] [Fedora]
My name is Cristiano Vitorino, I'm a Designer, helping out with the UI Rewrite on the Glimpse 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
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 get
snapdinstalled 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
$ sudo systemctl enable snapd.seeded.service $ sudo systemctl enable --now snapd.socket
Otherwise you will get this error:
If you try again, it usually works:
The remaining steps still holds true.
snapdrequires extra steps and should be mentioned on the install page. This is a safety/sanitary approach to uninstalling
snapdon 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
snapdfrom AUR with
yaygives a perpetual error,
snapdis 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.
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.
- 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)
- Feb.2018 - Snap application icons do not appear with Wayland
- Nov.2017 fonts missing #8
- Oct.2019 - [SOLVED] Snap-Store font problem? # This solution no longer works. At least on vanilla Arch Linux.
- Jul.2019 - Snap-store dont display text # Exact same problem of the first link, and on the same month.
- Oct. 2019 - @mborzecki had extra insight here that might be of some help.
- Oct.2019 - Snap Store Font issue - everything is a rectangle (screenshot)
- May.2017 - Use the system gtk theme
My system info
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
Linux desktop 5.5.10-arch1-1 #1 SMP PREEMPT Wed, 18 Mar 2020 08:40:35 +0000 x86_64 GNU/Linux
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
- Somehow installing
.Xmodmapfile 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 >> ~/.hiddento every install page right after reboot so people stop complaining about making
/snaphidden. 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
31on the past.
Steps to reproduce
I've uploaded my Arch Linux install guide with each step I use to install mine.
Just install vanilla Fedora Workstation 31.
Thanks again @hellsworth for trying to help and pointing me in the right direction.
You can reach me on: