mirror of
https://github.com/linuxserver/docker-webtop.git
synced 2025-07-08 22:34:56 +02:00
debian xfce rebase to selkies, set sane defaults (#305)
This commit is contained in:
parent
5dcef76619
commit
357d288e8a
0
.editorconfig
Executable file → Normal file
0
.editorconfig
Executable file → Normal file
0
.github/ISSUE_TEMPLATE/issue.bug.yml
vendored
Executable file → Normal file
0
.github/ISSUE_TEMPLATE/issue.bug.yml
vendored
Executable file → Normal file
0
.github/ISSUE_TEMPLATE/issue.feature.yml
vendored
Executable file → Normal file
0
.github/ISSUE_TEMPLATE/issue.feature.yml
vendored
Executable file → Normal file
0
.github/workflows/call_issue_pr_tracker.yml
vendored
Executable file → Normal file
0
.github/workflows/call_issue_pr_tracker.yml
vendored
Executable file → Normal file
0
.github/workflows/call_issues_cron.yml
vendored
Executable file → Normal file
0
.github/workflows/call_issues_cron.yml
vendored
Executable file → Normal file
0
.github/workflows/permissions.yml
vendored
Executable file → Normal file
0
.github/workflows/permissions.yml
vendored
Executable file → Normal file
17
Dockerfile
17
Dockerfile
@ -1,4 +1,4 @@
|
|||||||
FROM ghcr.io/linuxserver/baseimage-kasmvnc:debianbookworm
|
FROM ghcr.io/linuxserver/baseimage-selkies:debianbookworm
|
||||||
|
|
||||||
# set version label
|
# set version label
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
@ -12,7 +12,7 @@ ENV TITLE="Debian XFCE"
|
|||||||
RUN \
|
RUN \
|
||||||
echo "**** add icon ****" && \
|
echo "**** add icon ****" && \
|
||||||
curl -o \
|
curl -o \
|
||||||
/kclient/public/icon.png \
|
/usr/share/selkies/www/icon.png \
|
||||||
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/webtop-logo.png && \
|
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/webtop-logo.png && \
|
||||||
echo "**** install packages ****" && \
|
echo "**** install packages ****" && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
@ -20,9 +20,10 @@ RUN \
|
|||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
chromium \
|
chromium \
|
||||||
chromium-l10n \
|
chromium-l10n \
|
||||||
|
elementary-xfce-icon-theme \
|
||||||
|
greybird-gtk-theme \
|
||||||
libxfce4ui-utils \
|
libxfce4ui-utils \
|
||||||
mousepad \
|
mousepad \
|
||||||
tango-icon-theme \
|
|
||||||
thunar \
|
thunar \
|
||||||
xfce4-appfinder \
|
xfce4-appfinder \
|
||||||
xfce4-panel \
|
xfce4-panel \
|
||||||
@ -33,12 +34,16 @@ RUN \
|
|||||||
xfconf \
|
xfconf \
|
||||||
xfdesktop4 \
|
xfdesktop4 \
|
||||||
xfwm4 && \
|
xfwm4 && \
|
||||||
echo "**** application tweaks ****" && \
|
echo "**** xfce tweaks ****" && \
|
||||||
sed -i \
|
sed -i \
|
||||||
's#^Exec=.*#Exec=/usr/local/bin/wrapped-chromium#g' \
|
's#^Exec=.*#Exec=/usr/local/bin/wrapped-chromium#g' \
|
||||||
/usr/share/applications/chromium.desktop && \
|
/usr/share/applications/chromium.desktop && \
|
||||||
mv /usr/bin/exo-open /usr/bin/exo-open-real && \
|
mv \
|
||||||
echo "**** xfce tweaks ****" && \
|
/usr/bin/exo-open \
|
||||||
|
/usr/bin/exo-open-real && \
|
||||||
|
mv \
|
||||||
|
/usr/bin/thunar \
|
||||||
|
/usr/bin/thunar-real && \
|
||||||
rm -f \
|
rm -f \
|
||||||
/etc/xdg/autostart/xscreensaver.desktop && \
|
/etc/xdg/autostart/xscreensaver.desktop && \
|
||||||
echo "**** cleanup ****" && \
|
echo "**** cleanup ****" && \
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM ghcr.io/linuxserver/baseimage-kasmvnc:arm64v8-debianbookworm
|
FROM ghcr.io/linuxserver/baseimage-selkies:arm64v8-debianbookworm
|
||||||
|
|
||||||
# set version label
|
# set version label
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
@ -12,7 +12,7 @@ ENV TITLE="Debian XFCE"
|
|||||||
RUN \
|
RUN \
|
||||||
echo "**** add icon ****" && \
|
echo "**** add icon ****" && \
|
||||||
curl -o \
|
curl -o \
|
||||||
/kclient/public/icon.png \
|
/usr/share/selkies/www/icon.png \
|
||||||
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/webtop-logo.png && \
|
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/webtop-logo.png && \
|
||||||
echo "**** install packages ****" && \
|
echo "**** install packages ****" && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
@ -20,9 +20,10 @@ RUN \
|
|||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
chromium \
|
chromium \
|
||||||
chromium-l10n \
|
chromium-l10n \
|
||||||
|
elementary-xfce-icon-theme \
|
||||||
|
greybird-gtk-theme \
|
||||||
libxfce4ui-utils \
|
libxfce4ui-utils \
|
||||||
mousepad \
|
mousepad \
|
||||||
tango-icon-theme \
|
|
||||||
thunar \
|
thunar \
|
||||||
xfce4-appfinder \
|
xfce4-appfinder \
|
||||||
xfce4-panel \
|
xfce4-panel \
|
||||||
@ -33,12 +34,16 @@ RUN \
|
|||||||
xfconf \
|
xfconf \
|
||||||
xfdesktop4 \
|
xfdesktop4 \
|
||||||
xfwm4 && \
|
xfwm4 && \
|
||||||
echo "**** application tweaks ****" && \
|
echo "**** xfce tweaks ****" && \
|
||||||
sed -i \
|
sed -i \
|
||||||
's#^Exec=.*#Exec=/usr/local/bin/wrapped-chromium#g' \
|
's#^Exec=.*#Exec=/usr/local/bin/wrapped-chromium#g' \
|
||||||
/usr/share/applications/chromium.desktop && \
|
/usr/share/applications/chromium.desktop && \
|
||||||
mv /usr/bin/exo-open /usr/bin/exo-open-real && \
|
mv \
|
||||||
echo "**** xfce tweaks ****" && \
|
/usr/bin/exo-open \
|
||||||
|
/usr/bin/exo-open-real && \
|
||||||
|
mv \
|
||||||
|
/usr/bin/thunar \
|
||||||
|
/usr/bin/thunar-real && \
|
||||||
rm -f \
|
rm -f \
|
||||||
/etc/xdg/autostart/xscreensaver.desktop && \
|
/etc/xdg/autostart/xscreensaver.desktop && \
|
||||||
echo "**** cleanup ****" && \
|
echo "**** cleanup ****" && \
|
||||||
|
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -30,8 +30,8 @@ pipeline {
|
|||||||
MULTIARCH='true'
|
MULTIARCH='true'
|
||||||
CI='true'
|
CI='true'
|
||||||
CI_WEB='true'
|
CI_WEB='true'
|
||||||
CI_PORT='3000'
|
CI_PORT='3001'
|
||||||
CI_SSL='false'
|
CI_SSL='true'
|
||||||
CI_DELAY='120'
|
CI_DELAY='120'
|
||||||
CI_DOCKERENV='TZ=US/Pacific'
|
CI_DOCKERENV='TZ=US/Pacific'
|
||||||
CI_AUTH='user:password'
|
CI_AUTH='user:password'
|
||||||
|
@ -19,8 +19,8 @@ repo_vars:
|
|||||||
- MULTIARCH='true'
|
- MULTIARCH='true'
|
||||||
- CI='true'
|
- CI='true'
|
||||||
- CI_WEB='true'
|
- CI_WEB='true'
|
||||||
- CI_PORT='3000'
|
- CI_PORT='3001'
|
||||||
- CI_SSL='false'
|
- CI_SSL='true'
|
||||||
- CI_DELAY='120'
|
- CI_DELAY='120'
|
||||||
- CI_DOCKERENV='TZ=US/Pacific'
|
- CI_DOCKERENV='TZ=US/Pacific'
|
||||||
- CI_AUTH='user:password'
|
- CI_AUTH='user:password'
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
# Enable Nvidia GPU support if detected
|
# Enable Nvidia GPU support if detected
|
||||||
if which nvidia-smi; then
|
if which nvidia-smi; then
|
||||||
export LIBGL_KOPPER_DRI2=1
|
export LIBGL_KOPPER_DRI2=1
|
||||||
@ -8,14 +7,11 @@ if which nvidia-smi; then
|
|||||||
export GALLIUM_DRIVER=zink
|
export GALLIUM_DRIVER=zink
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Disable compositing
|
# Default settings
|
||||||
setterm blank 0
|
if [ ! -d "${HOME}"/.config/xfce4/xfconf/xfce-perchannel-xml ]; then
|
||||||
setterm powerdown 0
|
mkdir -p "${HOME}"/.config/xfce4/xfconf/xfce-perchannel-xml
|
||||||
if [ -f "${HOME}"/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml ]; then
|
cp /defaults/xfce/* "${HOME}"/.config/xfce4/xfconf/xfce-perchannel-xml/
|
||||||
sed -i \
|
|
||||||
'/use_compositing/c <property name="use_compositing" type="bool" value="false"/>' \
|
|
||||||
"${HOME}"/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Launch DE
|
# Start DE
|
||||||
/usr/bin/xfce4-session > /dev/null 2>&1
|
dbus-launch /usr/bin/xfce4-session > /dev/null 2>&1
|
||||||
|
53
root/defaults/xfce/xfce4-panel.xml
Normal file
53
root/defaults/xfce/xfce4-panel.xml
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="xfce4-panel" version="1.0">
|
||||||
|
<property name="configver" type="int" value="2"/>
|
||||||
|
<property name="panels" type="array">
|
||||||
|
<value type="int" value="1"/>
|
||||||
|
<property name="dark-mode" type="bool" value="true"/>
|
||||||
|
<property name="panel-1" type="empty">
|
||||||
|
<property name="position" type="string" value="p=6;x=0;y=0"/>
|
||||||
|
<property name="length" type="uint" value="100"/>
|
||||||
|
<property name="position-locked" type="bool" value="true"/>
|
||||||
|
<property name="icon-size" type="uint" value="16"/>
|
||||||
|
<property name="size" type="uint" value="26"/>
|
||||||
|
<property name="plugin-ids" type="array">
|
||||||
|
<value type="int" value="1"/>
|
||||||
|
<value type="int" value="2"/>
|
||||||
|
<value type="int" value="3"/>
|
||||||
|
<value type="int" value="4"/>
|
||||||
|
<value type="int" value="5"/>
|
||||||
|
<value type="int" value="6"/>
|
||||||
|
<value type="int" value="11"/>
|
||||||
|
<value type="int" value="12"/>
|
||||||
|
<value type="int" value="13"/>
|
||||||
|
<value type="int" value="14"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="plugins" type="empty">
|
||||||
|
<property name="plugin-1" type="string" value="applicationsmenu"/>
|
||||||
|
<property name="plugin-2" type="string" value="tasklist">
|
||||||
|
<property name="grouping" type="uint" value="1"/>
|
||||||
|
</property>
|
||||||
|
<property name="plugin-3" type="string" value="separator">
|
||||||
|
<property name="expand" type="bool" value="true"/>
|
||||||
|
<property name="style" type="uint" value="0"/>
|
||||||
|
</property>
|
||||||
|
<property name="plugin-4" type="string" value="pager"/>
|
||||||
|
<property name="plugin-5" type="string" value="separator">
|
||||||
|
<property name="style" type="uint" value="0"/>
|
||||||
|
</property>
|
||||||
|
<property name="plugin-6" type="string" value="systray">
|
||||||
|
<property name="square-icons" type="bool" value="true"/>
|
||||||
|
</property>
|
||||||
|
<property name="plugin-11" type="string" value="separator">
|
||||||
|
<property name="style" type="uint" value="0"/>
|
||||||
|
</property>
|
||||||
|
<property name="plugin-12" type="string" value="clock"/>
|
||||||
|
<property name="plugin-13" type="string" value="separator">
|
||||||
|
<property name="style" type="uint" value="0"/>
|
||||||
|
</property>
|
||||||
|
<property name="plugin-14" type="string" value="actions"/>
|
||||||
|
</property>
|
||||||
|
</channel>
|
91
root/defaults/xfce/xfwm4.xml
Normal file
91
root/defaults/xfce/xfwm4.xml
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="xfwm4" version="1.0">
|
||||||
|
<property name="general" type="empty">
|
||||||
|
<property name="activate_action" type="string" value="bring"/>
|
||||||
|
<property name="borderless_maximize" type="bool" value="true"/>
|
||||||
|
<property name="box_move" type="bool" value="false"/>
|
||||||
|
<property name="box_resize" type="bool" value="false"/>
|
||||||
|
<property name="button_layout" type="string" value="O|SHMC"/>
|
||||||
|
<property name="button_offset" type="int" value="0"/>
|
||||||
|
<property name="button_spacing" type="int" value="0"/>
|
||||||
|
<property name="click_to_focus" type="bool" value="true"/>
|
||||||
|
<property name="cycle_apps_only" type="bool" value="false"/>
|
||||||
|
<property name="cycle_draw_frame" type="bool" value="true"/>
|
||||||
|
<property name="cycle_raise" type="bool" value="false"/>
|
||||||
|
<property name="cycle_hidden" type="bool" value="true"/>
|
||||||
|
<property name="cycle_minimum" type="bool" value="true"/>
|
||||||
|
<property name="cycle_minimized" type="bool" value="false"/>
|
||||||
|
<property name="cycle_preview" type="bool" value="true"/>
|
||||||
|
<property name="cycle_tabwin_mode" type="int" value="0"/>
|
||||||
|
<property name="cycle_workspaces" type="bool" value="false"/>
|
||||||
|
<property name="double_click_action" type="string" value="maximize"/>
|
||||||
|
<property name="double_click_distance" type="int" value="5"/>
|
||||||
|
<property name="double_click_time" type="int" value="250"/>
|
||||||
|
<property name="easy_click" type="string" value="Alt"/>
|
||||||
|
<property name="focus_delay" type="int" value="250"/>
|
||||||
|
<property name="focus_hint" type="bool" value="true"/>
|
||||||
|
<property name="focus_new" type="bool" value="true"/>
|
||||||
|
<property name="frame_opacity" type="int" value="100"/>
|
||||||
|
<property name="frame_border_top" type="int" value="0"/>
|
||||||
|
<property name="full_width_title" type="bool" value="true"/>
|
||||||
|
<property name="horiz_scroll_opacity" type="bool" value="false"/>
|
||||||
|
<property name="inactive_opacity" type="int" value="100"/>
|
||||||
|
<property name="maximized_offset" type="int" value="0"/>
|
||||||
|
<property name="mousewheel_rollup" type="bool" value="true"/>
|
||||||
|
<property name="move_opacity" type="int" value="100"/>
|
||||||
|
<property name="placement_mode" type="string" value="center"/>
|
||||||
|
<property name="placement_ratio" type="int" value="20"/>
|
||||||
|
<property name="popup_opacity" type="int" value="100"/>
|
||||||
|
<property name="prevent_focus_stealing" type="bool" value="false"/>
|
||||||
|
<property name="raise_delay" type="int" value="250"/>
|
||||||
|
<property name="raise_on_click" type="bool" value="true"/>
|
||||||
|
<property name="raise_on_focus" type="bool" value="false"/>
|
||||||
|
<property name="raise_with_any_button" type="bool" value="true"/>
|
||||||
|
<property name="repeat_urgent_blink" type="bool" value="false"/>
|
||||||
|
<property name="resize_opacity" type="int" value="100"/>
|
||||||
|
<property name="scroll_workspaces" type="bool" value="true"/>
|
||||||
|
<property name="shadow_delta_height" type="int" value="0"/>
|
||||||
|
<property name="shadow_delta_width" type="int" value="0"/>
|
||||||
|
<property name="shadow_delta_x" type="int" value="0"/>
|
||||||
|
<property name="shadow_delta_y" type="int" value="-3"/>
|
||||||
|
<property name="shadow_opacity" type="int" value="50"/>
|
||||||
|
<property name="show_app_icon" type="bool" value="false"/>
|
||||||
|
<property name="show_dock_shadow" type="bool" value="true"/>
|
||||||
|
<property name="show_frame_shadow" type="bool" value="true"/>
|
||||||
|
<property name="show_popup_shadow" type="bool" value="false"/>
|
||||||
|
<property name="snap_resist" type="bool" value="false"/>
|
||||||
|
<property name="snap_to_border" type="bool" value="true"/>
|
||||||
|
<property name="snap_to_windows" type="bool" value="false"/>
|
||||||
|
<property name="snap_width" type="int" value="10"/>
|
||||||
|
<property name="vblank_mode" type="string" value="auto"/>
|
||||||
|
<property name="theme" type="string" value="Greybird-dark"/>
|
||||||
|
<property name="tile_on_move" type="bool" value="true"/>
|
||||||
|
<property name="title_alignment" type="string" value="center"/>
|
||||||
|
<property name="title_font" type="string" value="Sans Bold 9"/>
|
||||||
|
<property name="title_horizontal_offset" type="int" value="0"/>
|
||||||
|
<property name="titleless_maximize" type="bool" value="false"/>
|
||||||
|
<property name="title_shadow_active" type="string" value="false"/>
|
||||||
|
<property name="title_shadow_inactive" type="string" value="false"/>
|
||||||
|
<property name="title_vertical_offset_active" type="int" value="0"/>
|
||||||
|
<property name="title_vertical_offset_inactive" type="int" value="0"/>
|
||||||
|
<property name="toggle_workspaces" type="bool" value="false"/>
|
||||||
|
<property name="unredirect_overlays" type="bool" value="true"/>
|
||||||
|
<property name="urgent_blink" type="bool" value="false"/>
|
||||||
|
<property name="use_compositing" type="bool" value="false"/>
|
||||||
|
<property name="workspace_count" type="int" value="4"/>
|
||||||
|
<property name="wrap_cycle" type="bool" value="true"/>
|
||||||
|
<property name="wrap_layout" type="bool" value="true"/>
|
||||||
|
<property name="wrap_resistance" type="int" value="10"/>
|
||||||
|
<property name="wrap_windows" type="bool" value="false"/>
|
||||||
|
<property name="wrap_workspaces" type="bool" value="false"/>
|
||||||
|
<property name="zoom_desktop" type="bool" value="true"/>
|
||||||
|
<property name="zoom_pointer" type="bool" value="true"/>
|
||||||
|
<property name="workspace_names" type="array">
|
||||||
|
<value type="string" value="Workspace 1"/>
|
||||||
|
<value type="string" value="Workspace 2"/>
|
||||||
|
<value type="string" value="Workspace 3"/>
|
||||||
|
<value type="string" value="Workspace 4"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
</channel>
|
44
root/defaults/xfce/xsettings.xml
Normal file
44
root/defaults/xfce/xsettings.xml
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="xsettings" version="1.0">
|
||||||
|
<property name="Net" type="empty">
|
||||||
|
<property name="ThemeName" type="string" value="Greybird-dark"/>
|
||||||
|
<property name="IconThemeName" type="string" value="elementary-xfce-dark"/>
|
||||||
|
<property name="DoubleClickTime" type="empty"/>
|
||||||
|
<property name="DoubleClickDistance" type="empty"/>
|
||||||
|
<property name="DndDragThreshold" type="empty"/>
|
||||||
|
<property name="CursorBlink" type="empty"/>
|
||||||
|
<property name="CursorBlinkTime" type="empty"/>
|
||||||
|
<property name="SoundThemeName" type="empty"/>
|
||||||
|
<property name="EnableEventSounds" type="empty"/>
|
||||||
|
<property name="EnableInputFeedbackSounds" type="empty"/>
|
||||||
|
</property>
|
||||||
|
<property name="Xft" type="empty">
|
||||||
|
<property name="DPI" type="empty"/>
|
||||||
|
<property name="Antialias" type="empty"/>
|
||||||
|
<property name="Hinting" type="empty"/>
|
||||||
|
<property name="HintStyle" type="empty"/>
|
||||||
|
<property name="RGBA" type="empty"/>
|
||||||
|
</property>
|
||||||
|
<property name="Gtk" type="empty">
|
||||||
|
<property name="CanChangeAccels" type="empty"/>
|
||||||
|
<property name="ColorPalette" type="empty"/>
|
||||||
|
<property name="FontName" type="empty"/>
|
||||||
|
<property name="MonospaceFontName" type="empty"/>
|
||||||
|
<property name="IconSizes" type="empty"/>
|
||||||
|
<property name="KeyThemeName" type="empty"/>
|
||||||
|
<property name="ToolbarStyle" type="empty"/>
|
||||||
|
<property name="ToolbarIconSize" type="empty"/>
|
||||||
|
<property name="MenuImages" type="empty"/>
|
||||||
|
<property name="ButtonImages" type="empty"/>
|
||||||
|
<property name="MenuBarAccel" type="empty"/>
|
||||||
|
<property name="CursorThemeName" type="empty"/>
|
||||||
|
<property name="CursorThemeSize" type="empty"/>
|
||||||
|
<property name="DecorationLayout" type="empty"/>
|
||||||
|
<property name="DialogsUseHeader" type="empty"/>
|
||||||
|
<property name="TitlebarMiddleClick" type="empty"/>
|
||||||
|
</property>
|
||||||
|
<property name="Gdk" type="empty">
|
||||||
|
<property name="WindowScalingFactor" type="empty"/>
|
||||||
|
</property>
|
||||||
|
</channel>
|
3
root/usr/bin/thunar
Executable file
3
root/usr/bin/thunar
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
unset LD_PRELOAD
|
||||||
|
thunar-real "$@"
|
Loading…
x
Reference in New Issue
Block a user