How do I restore a snap’s state to pristine condition?
A snap was working fine, then crashed, and now it perpetually crashes. Something in it’s state has changed and I’d like to restore it to pristine – as if it were just installed. How is this done?
I installed a snap (remmina) and was able to use it for a short period if time. I then had a crash (not sure whether that was server/client fault), and now I am unable to connect to that particular device again. It is likely that the software state has become indeterminate.
So I’d like to return it to pristine state.
I thought running something like
snap connect app_name:/tmp would work but it didn’t. Is there any way to accomplish this?
After changing languages setting now I have problems with snap app(like okular) in i3 and XFCE (in Gnome it works). It cannot read any files containing a special character in their names like “Ą” or “ę”. It only works when I am running it from the command line after setting “LC_ALL=C.UTF-8” but not when I by default open file using ocular (not command line)
Snap okular started not from command line seems to ignoring my locale.
I’m not keen yet on the benefits of
snap, and I may have some trouble here with my
gnome-3-* snaps. I don’t see how this can be right. Please help.
~ $ snap list Name Version Rev Tracking Publisher Notes audio-recorder 1.1.2+rev1413+pkg-7036 30 beta brlin - chromium-ffmpeg 0.1 9 stable canonical✓ - core 16-2.37.2 6405 stable canonical✓ core core18 18 731 stable canonical✓ base gnome-3-26-1604 3.26.0 78 stable canonical✓ - gnome-3-28-1804 3.28.0-8-gc14de1f.c14de1f 15 stable canonical✓ - gnome-3-30-1804 3.30.0 1 edge ken-vandine - gnome-calculator 3.30.1 260 stable/… canonical✓ - gnome-characters 3.30.0 139 stable/… canonical✓ - gnome-logs 3.30.0 45 stable/… canonical✓ - gnome-system-monitor 3.30.0 57 stable/… canonical✓ - gtk-common-themes 0.1-7-g1feddba 1122 stable/… canonical✓ - indicator-sensors 0.9-5-ge09201c 95 stable alexmurray - mailspring 1.5.7 326 stable foundry376✓ - opera 58.0.3135.79 26 stable opera-software✓ - shotcut 19.02.28 43 stable meltytech✓ classic signal-desktop 1.22.0 104 stable snapcrafters - spotify 188.8.131.52.g378f6f25-11 34 stable spotify✓ - stress-ng 0.09.54-20190221-5284-8c36aa4d 503 stable cking-kernel-tools - ~ $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 14.5M 1 loop /snap/gnome-logs/45 loop1 7:1 0 154.5M 1 loop /snap/signal-desktop/104 loop2 7:2 0 34.8M 1 loop /snap/gtk-common-themes/1122 loop3 7:3 0 154.7M 1 loop /snap/opera/24 loop4 7:4 0 42.1M 1 loop /snap/gtk-common-themes/701 loop5 7:5 0 13M 1 loop /snap/gnome-characters/124 loop6 7:6 0 3.9M 1 loop /snap/stress-ng/503 loop7 7:7 0 135.8M 1 loop /snap/gnome-3-28-1804/9 loop8 7:8 0 53.7M 1 loop /snap/core18/677 loop9 7:9 0 13M 1 loop /snap/gnome-characters/139 loop10 7:10 0 2.3M 1 loop /snap/gnome-calculator/260 loop11 7:11 0 140.7M 1 loop /snap/gnome-3-26-1604/78 loop12 7:12 0 174.5M 1 loop /snap/spotify/32 loop13 7:13 0 174M 1 loop /snap/spotify/34 loop14 7:14 0 91M 1 loop /snap/core/6405 loop15 7:15 0 105.4M 1 loop /snap/shotcut/43 loop16 7:16 0 154.7M 1 loop /snap/opera/25 loop17 7:17 0 53.7M 1 loop /snap/core18/731 loop18 7:18 0 53.7M 1 loop /snap/core18/719 loop19 7:19 0 174.4M 1 loop /snap/spotify/31 loop20 7:20 0 143.2M 1 loop /snap/gnome-3-28-1804/11 loop21 7:21 0 143.4M 1 loop /snap/gnome-3-28-1804/15 loop22 7:22 0 140.7M 1 loop /snap/gnome-3-26-1604/74 loop23 7:23 0 91.1M 1 loop /snap/core/6259 loop24 7:24 0 194.4M 1 loop /snap/mailspring/326 loop25 7:25 0 34.6M 1 loop /snap/gtk-common-themes/818 loop26 7:26 0 194.4M 1 loop /snap/mailspring/309 loop27 7:27 0 3.7M 1 loop /snap/gnome-system-monitor/57 loop28 7:28 0 108.7M 1 loop /snap/audio-recorder/30 loop29 7:29 0 154.5M 1 loop /snap/signal-desktop/103 loop30 7:30 0 148.8M 1 loop /snap/signal-desktop/101 loop31 7:31 0 154.7M 1 loop /snap/opera/26 loop32 7:32 0 194.4M 1 loop /snap/mailspring/319 loop33 7:33 0 17.6M 1 loop /snap/chromium-ffmpeg/9 loop34 7:34 0 112M 1 loop /snap/shotcut/41 loop35 7:35 0 2.3M 1 loop /snap/gnome-calculator/238 loop36 7:36 0 91M 1 loop /snap/core/6350 loop37 7:37 0 596K 1 loop /snap/indicator-sensors/95 loop38 7:38 0 128.5M 1 loop /snap/gnome-3-30-1804/1 loop39 7:39 0 3.9M 1 loop /snap/stress-ng/491 loop40 7:40 0 3.9M 1 loop /snap/stress-ng/497 loop41 7:41 0 112M 1 loop /snap/shotcut/40 loop42 7:42 0 556K 1 loop /snap/indicator-sensors/71
# snap list Name Version Rev Tracking Publisher Notes core 16-2.37.2 6405 stable canonical✓ core core18 18 731 stable canonical✓ base gimp 2.10.8 130 stable snapcrafters - gnome-3-26-1604 3.26.0 78 stable/… canonical✓ - gnome-calculator 3.30.1 260 stable/… canonical✓ - gnome-characters 3.30.0 139 stable/… canonical✓ - gnome-logs 3.30.0 45 stable/… canonical✓ - gnome-system-monitor 3.30.0 57 stable/… canonical✓ - mailspring 1.5.7 326 stable foundry376✓ - sublime-text 3176 44 stable snapcrafters classic termius-app 4.1.2 28 stable termius -
gnome-calculator, gnome-system-monitor, sublime – works fine. But termius-app, mailspring – no. They not appear. If I start them from command line, they exits without any logs or error.
I was hoping Patrick Mahomes would be the 1 and only quarterback for the AFC because if that was the case it would be an easy win for the AFC! 🙂 Patrick Mahomes is without a doubt the Greatest Quarterback in NFL History and it would be fun to watch him quarterback the AFC for the entire Pro Bowl!
I have binary and all resolved Qt dependencies packaged in tar.gz. I am using next yaml file for snap:
name: sample_name_lol_1 base: core18 version: '1.0.0' summary: sample_summary_lol_2 description: | sample_desc_lol_3 grade: devel confinement: devmode parts: sample_name_lol_1: plugin: dump source: MyApp.tar.gz stage-packages: [ ffmpeg, x264, x265, libopencv-core-dev, libopencv-imgproc-dev, libopencv-calib3d-dev, libblas-dev, liblapack-dev, libfontconfig1-dev, fonts-freefont-ttf, ttf-ubuntu-font-family ] apps: MyApp: command: MyApp environment: LD_LIBRARY_PATH: $ LD_LIBRARY_PATH:$ SNAP/usr/lib/x86_64-linux-gnu/blas:$ SNAP/usr/lib/x86_64-linux-gnu/lapack
Normal application run (say from regular unpacking tar.gz) would give me information about all fonts available on the system. However snap run (sample_name_lol_1.MyApp) won’t see system fonts, only few of them (only 3 to be precise – sans, sans-serif, monospace). I found path after installation, /snap/sample_name_lol_1/x1/usr/share/fonts and /snap/sample_name_lol_1/x1/etc/fonts. Those places are read-only and I can’t figure out, what exactly should be done, so Qt application will able to see at lease standard Ubuntu font.
I have installed
snap on Ubuntu 18.10, and the result of my search on the internet says that the configuration file for
vlc should be located in
~/.config/vlc, but for me, there’s no such directory on my system, so I was wondering where can I find the configuration file(s) for
vlc in case I want to have a backup?
Any way yet to disable this most annoying feature?
(when I move a window close to the top, it snaps to maximum size)
ubuntu 18.04, gnome 3.28.2
I searched about six months ago, no way to disable back then.
I’m on Ubuntu 18.04, and the default VLC here is:
$ vlc --version VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6332) ... $ which vlc /usr/bin/vlc
I want to keep this version, and then try out a nightly via
snap. So I tried:
$ sudo snap install --channel=edge vlc vlc (edge) 4.0.0-dev-5939-gee31d91 from VideoLAN✓ installed $ snap list Name Version Rev Tracking Publisher Notes core 16-2.36.3 6130 stable canonical✓ core ... vlc 4.0.0-dev-5939-gee31d91 767 edge videolan✓ -
Now I know I have this dev version of
vlc installed, and it is in my system here:
$ ls -la /snap/bin/ total 8 drwxr-xr-x 2 root root 4096 Jan 4 09:25 . drwxr-xr-x 13 root root 4096 Jan 4 09:25 .. ... lrwxrwxrwx 1 root root 13 Jan 4 09:25 vlc -> /usr/bin/snap
/snap/bin/vlc is a symlink (apparently) to
/usr/bin/snap, so when I run it:
$ /snap/bin/vlc cannot change current working directory to the original directory: No such file or directory
So when I type
vlc, I still get the old Debian version, which is how I want it.
But how do I run the
snap version of VLC in this case?