good old agave running in Docker container
353
agave is a simple, lightweight color picker. Unfortunately, it was discontinued and can not be installed in Ubuntu 20.04 and above. So I containerized the program. Enjoy!
FROM ubuntu:16.04
RUN apt update && apt install -y gconf-service libatkmm-1.6-1v5 libcairo2 libgconf-2-4 libgconfmm-2.6-1v5 libglademm-2.4-1v5 libglib2.0-0 libglibmm-2.4-1v5 libgnome2-0 libgtk2.0-0 wget numix-gtk-theme
ENV GTK2_RC_FILES=/usr/share/themes/Numix/gtk-2.0/gtkrc
RUN wget http://archive.ubuntu.com/ubuntu/pool/universe/a/agave/agave_0.4.7-2.1ubuntu3_amd64.deb
RUN dpkg -i agave_0.4.7-2.1ubuntu3_amd64.deb
CMD ["/usr/bin/agave"]
I installed Numix theme in the image, in order to use the theme, environment variable "GTK2_RC_FILES" is set. (Note: in GTK3 the environment variable should be GTK_THEME and should be used with theme name, e.g. GTK_THEME=Numix)
Since this is a GUI application, we need to run xhost local:docker once in terminal
docker run --rm -e DISPLAY=unix$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix alperyilmaz/agave
Put a script under ~/bin folder, let's call it launch_agave.sh with the following content
#!/bin/bash
docker run --rm -e DISPLAY=unix$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix alperyilmaz/agave
Then prepare the following desktop file under ~/.local/share/applications, you can call it agave.desktop
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Exec=/home/user/bin/launch_agave.sh
Name=Agave
Comment=Good old agave within Docker
Icon=/home/user/Pictures/agave_42002.png
Please change user with your username. I downloaded the image from AlternativeTo website for Agave. image link
Content type
Image
Digest
Size
106.4 MB
Last updated
about 6 years ago
docker pull alperyilmaz/agave