Sign inSign up

luigidifraia/albert

By luigidifraia

Updated 4 months ago

Docker image for ALBERT, the pixel art editor for creating extended Commodore 64 images

Image
Developer tools
0

3.8K

luigidifraia/albert repository overview

Running the latest Docker image on a Debian GNU/Linux host

Use fonts bundled in the image:

docker run --rm -it \
    -e DISPLAY=${DISPLAY} \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    luigidifraia/albert

Use host fonts:

docker run --rm -it \
    -e DISPLAY=${DISPLAY} \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -v /usr/share/fonts:/usr/share/fonts \
    luigidifraia/albert:latest-no-fonts

Persistence

If you would like to persist ALBERT's preferences and window positions, which are stored in user.ini, you will also have to mount its folder into the container under /home/default/.config/ALBERT.
If you would like to persist the settings of GtkFileChooserDialog widgets, which up to ALBERT release 2.5.0 are stored in gtkfilechooser.ini, you will also have to mount its folder into the container under /home/default/.config/gtk-2.0.
If you would like to persist the list of recently opened files in GtkFileChooserDialog widgets, which is stored in recently-used.xbel, you will also have to mount its folder into the container under /home/default/.local/share.
If you intend to save your artwork or export it, you'll also have to mount a host folder for doing so.

Example

One off setup of folders for persisting widget/application configuration and projects:

mkdir -p ~/ALBERT/.config
mkdir -p ~/ALBERT/.local/share
mkdir -p ~/ALBERT/my-projects
Release 2.5.0 and newer

Starting with release 2.5.0 users can run ALBERT containers as host user (using --user=$(id -u):$(id -g)), so there's no need to change folder ownership for persisting widget/application configuration and projects.

Use fonts bundled in the image:

docker run --rm -it \
    --user=$(id -u):$(id -g) \
    -e DISPLAY=${DISPLAY} \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -v ~/ALBERT/.config:/home/default/.config \
    -v ~/ALBERT/.local/share:/home/default/.local/share \
    -v ~/ALBERT/my-projects:/home/default/my-projects \
    luigidifraia/albert
Pre 2.5.0 release

Unless your uid/gid are 1000/1000, you'll also have to change ownership of the above folders:

sudo chown -R 1000:1000 ~/ALBERT

Use fonts bundled in the image:

docker run --rm -it \
    -e DISPLAY=${DISPLAY} \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -v ~/ALBERT/.config:/home/default/.config \
    -v ~/ALBERT/.local/share:/home/default/.local/share \
    -v ~/ALBERT/my-projects:/home/default/my-projects \
    luigidifraia/albert

About ALBERT

For more information about ALBERT, you might want to check its home page.

Tag summary

Content type

Image

Digest

sha256:b4e75df7e

Size

48.8 MB

Last updated

4 months ago

docker pull luigidifraia/albert