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"