docker-guacamole icon indicating copy to clipboard operation
docker-guacamole copied to clipboard

Custom theme

Open jakub-antos opened this issue 1 year ago • 2 comments

Puting this: https://github.com/LagManCZ/guacamole-dark-theme in extension folder didn't work. and disappears after reloading container, what am I doing wrong?

My docker-compose.yaml

version: "3"
services:
  guacamole:
    restart: unless-stopped
    image: abesnier/guacamole
    container_name: guacamole
    user: root
    volumes:
      - ./data:/data
      - ./config:/config
      - ./extensions:/app/guacamole/extensions/
    ports:
      - 4000:8080

When I replace guacamole-branding-1.5.4.jar and reinstall container, sometimes work partially without my logo... Im puting jar in extension and in extension in data. I clear the cache and check it in different browsers, I've been struggling all day and nothing changes.

Thanks for any help.

jakub-antos avatar Jan 03 '24 15:01 jakub-antos

I may have messed up the loading of the extensions, let me run some tests, and I'll keep you updated.

abesnier avatar Jan 30 '24 09:01 abesnier

There is something strange with your volumes. The only volume you need is config. Place your custom extension directly in the config/guacamole/extensions directory, and you don't even need to rename it.

The naming convention (guacamole-extension-version.jar) is used to parse official extensions (plus branding). At startup, the extensions in config/guacamole/extensions-available are copied to config/guacamole/extensions. If you copy your extension somewhere else, they will not be loaded.

If you have a custom extension, you don't need to rename it, you can just copy it in the extension directory. BUT! be careful, extensions are loaded alphabetically by Guacamole Client, and the last one loaded takes precedence.

abesnier avatar Jan 31 '24 13:01 abesnier