Skip to content

Commit 922a133

Browse files
committed
add PWA icon , update readme
1 parent f39d0c2 commit 922a133

File tree

3 files changed

+40
-2
lines changed

3 files changed

+40
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ ARG DEBIAN_FRONTEND="noninteractive"
1313
ENV TITLE=MySQL-Workbench
1414

1515
RUN \
16+
echo "**** add icon ****" && \
17+
curl -o \
18+
/kclient/public/icon.png \
19+
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/mysql-workbench-logo.png && \
1620
echo "**** install packages ****" && \
1721
apt-get update && \
1822
apt-get install -y \
@@ -42,8 +46,6 @@ RUN \
4246
/tmp/workbench.deb \
4347
https://cdn.mysql.com/Downloads/MySQLGUITools/mysql-workbench-community_${WORKBENCH_VERSION}-1ubuntu22.04_amd64.deb && \
4448
dpkg -i /tmp/workbench.deb && \
45-
echo "**** openbox tweaks ****" && \
46-
sed -i 's|</applications>| <application title="MySQL Workbench" type="normal">\n <maximized>yes</maximized>\n </application>\n</applications>|' /etc/xdg/openbox/rc.xml && \
4749
echo "**** cleanup ****" && \
4850
apt-get clean && \
4951
rm -rf \

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ This container is based on [Docker Baseimage KasmVNC](https://github.com/linuxse
8181
| FM_HOME | This is the home directory (landing) for the file manager, default "/config". |
8282
| START_DOCKER | If set to false a container with privilege will not automatically start the DinD Docker setup. |
8383
| DRINODE | If mounting in /dev/dri for [DRI3 GPU Acceleration](https://www.kasmweb.com/kasmvnc/docs/master/gpu_acceleration.html) allows you to specify the device to use IE `/dev/dri/renderD128` |
84+
| LC_ALL | Set the Language for the container to run as IE `fr_FR.UTF-8` `ar_AE.UTF-8` |
85+
| NO_DECOR | If set the application will run without window borders for use as a PWA. |
86+
| NO_FULL | Do not autmatically fullscreen applications when using openbox. |
8487

8588
#### Optional run configurations
8689

@@ -90,6 +93,20 @@ This container is based on [Docker Baseimage KasmVNC](https://github.com/linuxse
9093
| `-v /var/run/docker.sock:/var/run/docker.sock` | Mount in the host level Docker socket to either interact with it via CLI or use Docker enabled applications. |
9194
| `--device /dev/dri:/dev/dri` | Mount a GPU into the container, this can be used in conjunction with the `DRINODE` environment variable to leverage a host video card for GPU accelerated appplications. Only **Open Source** drivers are supported IE (Intel,AMDGPU,Radeon,ATI,Nouveau) |
9295

96+
### Language Support - Internationalization
97+
98+
The environment variable `LC_ALL` can be used to start this image in a different language than English simply pass for example to launch the Desktop session in French `LC_ALL=fr_FR.UTF-8`. Some languages like Chinese, Japanese, or Korean will be missing fonts needed to render properly known as cjk fonts, but others may exist and not be installed. We only ensure fonts for Latin characters are present. Fonts can be installed with a mod on startup.
99+
100+
To install cjk fonts on startup as an example pass the environment variables:
101+
102+
```
103+
-e DOCKER_MODS=linuxserver/mods:universal-package-install
104+
-e INSTALL_PACKAGES=fonts-noto-cjk
105+
-e LC_ALL=zh_CN.UTF-8
106+
```
107+
108+
The web interface has the option for "IME Input Mode" in Settings which will allow non english characters to be used from a non en_US keyboard on the client. Once enabled it will perform the same as a local Linux installation set to your locale.
109+
93110
### Lossless mode
94111

95112
This container is capable of delivering a true lossless image at a high framerate to your web browser by changing the Stream Quality preset to "Lossless", more information [here](https://www.kasmweb.com/docs/latest/how_to/lossless.html#technical-background). In order to use this mode from a non localhost endpoint the HTTPS port on 3001 needs to be used. If using a reverse proxy to port 3000 specific headers will need to be set as outlined [here](https://github.com/linuxserver/docker-baseimage-kasmvnc#lossless).
@@ -311,6 +328,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
311328

312329
## Versions
313330

331+
* **10.02.24:** - Update Readme with new env vars and ingest proper PWA icon.
314332
* **20.04.23:** - Update app to launch fullscreen.
315333
* **18.03.23:** - Rebase to KasmVNC base image.
316334
* **15.09.22:** - Migrate to s6v3.

readme-vars.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ app_setup_block: |
5555
| FM_HOME | This is the home directory (landing) for the file manager, default "/config". |
5656
| START_DOCKER | If set to false a container with privilege will not automatically start the DinD Docker setup. |
5757
| DRINODE | If mounting in /dev/dri for [DRI3 GPU Acceleration](https://www.kasmweb.com/kasmvnc/docs/master/gpu_acceleration.html) allows you to specify the device to use IE `/dev/dri/renderD128` |
58+
| LC_ALL | Set the Language for the container to run as IE `fr_FR.UTF-8` `ar_AE.UTF-8` |
59+
| NO_DECOR | If set the application will run without window borders for use as a PWA. |
60+
| NO_FULL | Do not autmatically fullscreen applications when using openbox. |
5861
5962
#### Optional run configurations
6063
@@ -64,12 +67,27 @@ app_setup_block: |
6467
| `-v /var/run/docker.sock:/var/run/docker.sock` | Mount in the host level Docker socket to either interact with it via CLI or use Docker enabled applications. |
6568
| `--device /dev/dri:/dev/dri` | Mount a GPU into the container, this can be used in conjunction with the `DRINODE` environment variable to leverage a host video card for GPU accelerated appplications. Only **Open Source** drivers are supported IE (Intel,AMDGPU,Radeon,ATI,Nouveau) |
6669
70+
### Language Support - Internationalization
71+
72+
The environment variable `LC_ALL` can be used to start this image in a different language than English simply pass for example to launch the Desktop session in French `LC_ALL=fr_FR.UTF-8`. Some languages like Chinese, Japanese, or Korean will be missing fonts needed to render properly known as cjk fonts, but others may exist and not be installed. We only ensure fonts for Latin characters are present. Fonts can be installed with a mod on startup.
73+
74+
To install cjk fonts on startup as an example pass the environment variables:
75+
76+
```
77+
-e DOCKER_MODS=linuxserver/mods:universal-package-install
78+
-e INSTALL_PACKAGES=fonts-noto-cjk
79+
-e LC_ALL=zh_CN.UTF-8
80+
```
81+
82+
The web interface has the option for "IME Input Mode" in Settings which will allow non english characters to be used from a non en_US keyboard on the client. Once enabled it will perform the same as a local Linux installation set to your locale.
83+
6784
### Lossless mode
6885
6986
This container is capable of delivering a true lossless image at a high framerate to your web browser by changing the Stream Quality preset to "Lossless", more information [here](https://www.kasmweb.com/docs/latest/how_to/lossless.html#technical-background). In order to use this mode from a non localhost endpoint the HTTPS port on 3001 needs to be used. If using a reverse proxy to port 3000 specific headers will need to be set as outlined [here](https://github.com/linuxserver/docker-baseimage-kasmvnc#lossless).
7087
7188
# changelog
7289
changelogs:
90+
- { date: "10.02.24:", desc: "Update Readme with new env vars and ingest proper PWA icon." }
7391
- { date: "20.04.23:", desc: "Update app to launch fullscreen." }
7492
- { date: "18.03.23:", desc: "Rebase to KasmVNC base image." }
7593
- { date: "15.09.22:", desc: "Migrate to s6v3." }

0 commit comments

Comments
 (0)