From d5d0bd1d51fe2e31c51ba9f9c2810dd03027c7fe Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Wed, 21 Jun 2023 08:28:46 +0200 Subject: [PATCH] fix config --- dot_config/xfce4/executable_helpers.rc | 3 --- dot_config/xfce4/helpers.rc | 4 ++++ dot_zprofile | 4 +++- 3 files changed, 7 insertions(+), 4 deletions(-) delete mode 100644 dot_config/xfce4/executable_helpers.rc create mode 100644 dot_config/xfce4/helpers.rc diff --git a/dot_config/xfce4/executable_helpers.rc b/dot_config/xfce4/executable_helpers.rc deleted file mode 100644 index 2fd471f..0000000 --- a/dot_config/xfce4/executable_helpers.rc +++ /dev/null @@ -1,3 +0,0 @@ -TerminalEmulator=custom-TerminalEmulator -FileManager=pcmanfm - diff --git a/dot_config/xfce4/helpers.rc b/dot_config/xfce4/helpers.rc new file mode 100644 index 0000000..c117d0e --- /dev/null +++ b/dot_config/xfce4/helpers.rc @@ -0,0 +1,4 @@ +TerminalEmulator=custom-TerminalEmulator +FileManager=pcmanfm-qt +WebBrowser=chromium + diff --git a/dot_zprofile b/dot_zprofile index a23f2ea..45235e4 100644 --- a/dot_zprofile +++ b/dot_zprofile @@ -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"