refresh fedora-kde

This commit is contained in:
thelamer 2024-08-06 18:22:58 -04:00
parent f6bf616fad
commit 1ce65f5214
3 changed files with 22 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1
FROM ghcr.io/linuxserver/baseimage-rdesktop:fedora-40
FROM ghcr.io/linuxserver/baseimage-rdesktop:fedora40
# set version label
ARG BUILD_DATE

View File

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1
FROM ghcr.io/linuxserver/baseimage-rdesktop:arm64v8-fedora-40
FROM ghcr.io/linuxserver/baseimage-rdesktop:arm64v8-fedora40
# set version label
ARG BUILD_DATE

View File

@ -1,14 +1,29 @@
#!/bin/bash
# Combine env
/usr/bin/with-contenv /usr/bin/env | sed 's/^/export /g' > /defaults/env.sh
source /defaults/env.sh
rm /defaults/env.sh
# Enable Nvidia GPU support if detected
if which nvidia-smi; then
export LIBGL_KOPPER_DRI2=1
export MESA_LOADER_DRIVER_OVERRIDE=zink
export GALLIUM_DRIVER=zink
fi
# Start Pulseaudio
/startpulse.sh &
# Disable compositing
if [ ! -f $HOME/.config/kwinrc ]; then
kwriteconfig5 --file $HOME/.config/kwinrc --group Compositing --key Enabled false
kwriteconfig6 --file $HOME/.config/kwinrc --group Compositing --key Enabled false
fi
if [ ! -f $HOME/.config/kscreenlockerrc ]; then
kwriteconfig5 --file $HOME/.config/kscreenlockerrc --group Daemon --key Autolock false
fi
if [ ! -f $HOME/.config/kdeglobals ]; then
kwriteconfig5 --file $HOME/.config/kdeglobals --group KDE --key LookAndFeelPackage org.fedoraproject.fedora.desktop
kwriteconfig6 --file $HOME/.config/kscreenlockerrc --group Daemon --key Autolock false
fi
setterm blank 0
setterm powerdown 0
# Launch DE
/usr/bin/startplasma-x11 > /dev/null 2>&1