fix config

This commit is contained in:
Simon Rieger 2023-06-21 08:28:46 +02:00
parent 00ed4980b6
commit d5d0bd1d51
3 changed files with 7 additions and 4 deletions

View file

@ -1,3 +0,0 @@
TerminalEmulator=custom-TerminalEmulator
FileManager=pcmanfm

View file

@ -0,0 +1,4 @@
TerminalEmulator=custom-TerminalEmulator
FileManager=pcmanfm-qt
WebBrowser=chromium

View file

@ -1,4 +1,4 @@
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
if [[ -z $DISPLAY && $(tty) == /dev/tty1 && $XDG_SESSION_TYPE == tty ]]; then
# Lade die Bootparameter in den Variablen
for wort in $(cat /proc/cmdline)
do
@ -50,6 +50,8 @@ if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
elif [ "${autostartdesktop}" = "steamos" ]; then
echo "exec steamos-session" > ~/.xinitrc
startx
elif [ "${autostartdesktop}" = "gnome" ]; then
MOZ_ENABLE_WAYLAND=1 QT_QPA_PLATFORM=wayland XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session
else
export QT_QPA_PLATFORM=wayland
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"