Skip to content

Commit

Permalink
Merge pull request #335 from DSD-DBS/remove-nitrogen
Browse files Browse the repository at this point in the history
chore: Remove nitrogen from remote docker image
  • Loading branch information
MoritzWeber0 authored Nov 5, 2024
2 parents d8c600e + c749c5d commit 56c38a4
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 16 deletions.
2 changes: 0 additions & 2 deletions capella/autostart
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ source /etc/environment
# Turn off bell sound (loud beep)
xset b off

nitrogen --restore &

if [ "$AUTOSTART_CAPELLA" = "1" ];
then
if [ "$RESTART_CAPELLA" = "1" ];
Expand Down
2 changes: 0 additions & 2 deletions docs/docs/remote.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ It is a basic Linux server with a [Openbox](http://openbox.org/) installation.
Feel free to adjust the configurations `remote/rc.xml` and `remote/menu.xml` to
satisfy custom Openbox configuration needs.

If you like to use your own wallpaper, replace `remote/wallpaper.png`.

### Build it manually with Docker

```zsh
Expand Down
6 changes: 1 addition & 5 deletions remote/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-reco
obconf \
gettext-base \
xprintidle \
nitrogen && rm -rf /var/lib/apt/lists/*
&& rm -rf /var/lib/apt/lists/*

ARG XPRA_REGISTRY=https://xpra.org

Expand Down Expand Up @@ -64,10 +64,6 @@ for (const [id, win] of Object.entries(client.id_to_window).toReversed()) {\
COPY rc.xml /etc/xdg/openbox/rc.xml
COPY menu.xml /etc/xdg/openbox/menu.xml

# Setup Nitrogen (Desktop background)
COPY wallpaper.png /tmp/wallpaper.png
COPY bg-saved.cfg /home/techuser/.config/nitrogen/bg-saved.cfg

# Copy Supervisor Configuration
RUN pip install --no-cache-dir supervisor==4.2.5
COPY supervisord.conf /etc/supervisord.conf
Expand Down
7 changes: 0 additions & 7 deletions remote/bg-saved.cfg

This file was deleted.

Empty file removed remote/wallpaper.png
Empty file.

0 comments on commit 56c38a4

Please sign in to comment.