mirror of
https://github.com/linuxserver/docker-webtop.git
synced 2026-01-09 07:21:16 +08:00
build tweaks in directly as it only has wayland support
This commit is contained in:
parent
bc0580c257
commit
7662bbf057
@ -30,6 +30,7 @@ RUN \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/config/.cache \
|
||||
/etc/xdg/autostart/* \
|
||||
/tmp/*
|
||||
|
||||
# add local files
|
||||
|
||||
@ -30,6 +30,7 @@ RUN \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/config/.cache \
|
||||
/etc/xdg/autostart/* \
|
||||
/tmp/*
|
||||
|
||||
# add local files
|
||||
|
||||
@ -48,15 +48,8 @@ sudo mv \
|
||||
/etc/xdg/menus/applications.menu
|
||||
kbuildsycoca6
|
||||
|
||||
# Wayland Hacks
|
||||
unset DISPLAY
|
||||
sudo rm -Rf /etc/xdg/autostart/*
|
||||
sudo rm -f /usr/bin/wl-paste /usr/bin/wl-copy
|
||||
echo "#! /bin/bash" > /tmp/wl-paste && chmod +x /tmp/wl-paste
|
||||
echo "exit 0" > /tmp/wl-copy && chmod +x /tmp/wl-copy
|
||||
sudo cp /tmp/wl-* /usr/bin/
|
||||
|
||||
# Start DE
|
||||
unset DISPLAY
|
||||
export QT_QPA_PLATFORM=wayland
|
||||
WAYLAND_DISPLAY=wayland-1 dbus-run-session kwin_wayland &
|
||||
sleep 2
|
||||
|
||||
1
root/usr/bin/wl-copy
Executable file
1
root/usr/bin/wl-copy
Executable file
@ -0,0 +1 @@
|
||||
#! /bin/bash
|
||||
1
root/usr/bin/wl-paste
Executable file
1
root/usr/bin/wl-paste
Executable file
@ -0,0 +1 @@
|
||||
#! /bin/bash
|
||||
Loading…
x
Reference in New Issue
Block a user