-
-
Notifications
You must be signed in to change notification settings - Fork 331
Closed
Description
Having a Snap package will it make easy to install Peek and also takes care of the dependency issues regarding ffmpeg and imagemagick.
I have done some initial work on it, after it looked to be quite easy. There is a snapcraft.yml file and snap packages get automatically build on Launchpad.
Unfortunately it turned out to be not quite as easy with bundling ffmpeg and imagemagick. Open issues that should be solved:
- ImageMagick does not find the configuration installed under
/etc/ImageMagick-6/
. There is a workaround to load it from the provided home folder instead, but this is not ideal - ImageMagick does not run and complains about missing delegate, even once it has loaded the configuration
- The package size is very large (~ 100MB), especially for an application as small as Peek. Maybe this can be reduced a bit by removing unneeded things and providing custom builds of ImageMagick and ffmpeg with only what is actually required.
- Access org.freedesktop.FileManager1 DBus service in strict mode or find alternative solution to open file manager
- Access org.gnome.Shell.Screencast DBus service in strict mode for recording under Gnome Shell even in Wayland.
- Snap does not detect global menu setting on Unity
- Handle "prefer-dark-theme" setting. Basically copy the solution from [data/flatpak/launch-peek](https://github.com/phw/peek/blob/master/data/flatpak/launch-peek]
Ads20000marsjaninzmarsa