After removing snapd it seems there are still some files left, resulting in multiple errors during the boot process (failed to mount unit for […]). A search led me to /etc/systemd/system
where these mount files exist, however, I cannot seem to delete them. ls /etc/systemd/system/
produces:
'var-lib-snapd-snap-apple\x2dmusic\x2delectron-2.mount'
var-lib-snapd-snap-bare-5.mount
var-lib-snapd-snap-core18-2246.mount
'var-lib-snapd-snap-gnome\x2d3\x2d28\x2d1804-161.mount'
'var-lib-snapd-snap-gtk\x2dcommon\x2dthemes-1519.mount'
var-lib-snapd-snap-snapd-13640.mount
sudo rm -r /etc/systemd/system/var-lib-snapd-snap-apple\x2dmusic\x2delectron-2.mount
results in:
rm: cannot remove '/etc/systemd/system/var-lib-snapd-snap-apple-music-electron-2.mount': No such file or directory
The files are visible in Thunar when not run as root, whilst with root access I cannot see them. Deleting them with Thunar is therefore seemingly impossible as well, so how can I remove these files?
Last but not least, unrelated to the topic, but I do not believe it warrants its own post so I’ll throw it in here: is it possible to automatically resize the terminal window when running something like ncmpcpp, htop or nvim? As DE/WM is perhaps relevant here, I’m on Sway.