I have been using Skanpage for a while now. Great little app! Today in an effort to backup some data I accidentally deleted the Desktop folder, noticing that I immediately hit the “Undo” button and it was restored, although it screwed up the icon arrangement. Some of the shortcuts had a grey ‘X’ on them and when launching them a dialog came up instructing me to right click the icon and choose “Allow Launching” in the context menu. Did that and they all work, except Skanpage. I’m unable to launch Skanpage from the application menu either. I’ve uninstalled it and reinstalled it and still not launching. Logged off and back on, restarted the PC. Still no Skanpage. I use this app every day so any help getting it back up and running would be greatly appreciated.
I thought I may have made this post moot as I had some other issues with the computer so I just reformatted the system to use it elsewhere and setup a new PC. Now running ZorinOS 18.1 Pro on a brand new PC - Dell Pro Micro Plus QBM1250. However I have the same problem with a new installation of SkanPage.
On the old system in the System logs, I found 2 errors logged each time I attempted to launch SkanPage. I setup the new PC and now have the same errors on the new system.
traps: skanpage[8550] general protection fault ip:703dc842224c sp:7ffe1e992b28 error:0 in libfontconfig.so.1.16.0[c24c,703dc841e000+31000]
I’m not fluent with Linux so not sure how to launch SkanPage in the Terminal. Just entering “Scanpage” results in:
Command ‘skanpage’ not found, but can be installed with:
sudo snap install skanpage # version 26.04.3, or
sudo apt install skanpage # version 23.08.5-0ubuntu6
See ‘snap info skanpage’ for additional versions.
that gpf in libfontconfig is the crash. the ufw ipv6 line is noise.
since ur on flatpak skanpage
-flatpak run org.kde.skanpage
-rm -rf ~/.var/app/org.kde.skanpage/cache/fontconfig ~/.cache/fontconfig
-fc-cache -r
-flatpak update org.kde.skanpage
if it still dies check for a bad font package (fonts-katex has been wrecking kde apps on ubuntu-ish lately)
-dpkg -l | rg -i ‘fonts-katex|texlive.*fonts’
-sudo apt purge fonts-katex
skanlite working is a clue its the skanpage/flatpak font path.
The solution doesn’t stick. After some time, most recently just a few hours, it reverts to not launching again. I can re-enter the commands and it works but but only temporarily.
Same error:
traps: skanpage[55100] general protection fault ip:710d23c9924c sp:7fffae807858 error:0 in libfontconfig.so.1.16.0[c24c,710d23c95000+31000]
I tried the font purge as mentioned earlier and it responded that the font is not installed.
Package ‘fonts-katex’ is not installed, so not removed
The following packages were automatically installed and are no longer required:
libfwupd2 libwoff1
Use ‘sudo apt autoremove’ to remove them.
Sorry, I got ahead of myself and had already uninstalled the flatpak version before installing the apt package.
The apt package installed and the app launches now but will have to see if it continues to do so.
Also tried the hunt for the poison font and it errored out on the ‘rg’ command. Couldn’t find it. I’m not sure if I should have pasted the entire line or separated it out to individual commands between the pipe characters.
Command ‘rg’ not found, but can be installed with:
sudo snap install ripgrep # version 12.1.0, or
sudo apt install ripgrep # version 14.0.3-1
See ‘snap info ripgrep’ for additional versions.
failed: command not found
skip’: command not found
I ran the fc cache -r -v 2>&1 by itself and it scanned for fonts, skipped directories with no fonts, the ended up with “Succeeded” at the end.
This is not related to the launching problems but something I noticed.
The layout of the interface of the apt version of Skanpage is a bit different and not as polished as the flatpak verison. Elements are not lined up on the right side and it lacks the scan size of “letter”, which I used daily. The flatpak version has a much cleaner interface and includes the “letter” scan size under the ADF Scan source but not the flatbed scan source. It’s been that way since I’ve been using the app. I’ve had to use custom size for flatbed scanning of 8.3 inches (the maximum) x 11.0 inches.
Here’s a screenshot of the Apt and Flatpak apps with the apt version on top of the flatpak one.
apt skanpage is an older build so letter + layout lag the flatpak. if u need letter daily, keep the flatpak and wipe its fontconfig cache on login (autostart that runs rm -rf ~/.var/app/org.kde.skanpage/cache/fontconfig). on apt u can still set custom paper 8.5x11 under scan size.