diff --git a/startlxqtwayland.in b/startlxqtwayland.in index c2e14d5..6fe60d0 100644 --- a/startlxqtwayland.in +++ b/startlxqtwayland.in @@ -83,18 +83,10 @@ valid_layouts=$(grep -A98 '! layout' /usr/share/X11/xkb/rules/base.lst | awk '{p trylayout=$(echo $LANG | cut -c 1,2) if [ -z "$COMPOSITOR" ]; then - echo "No compositor configured yet in Session Settings, trying labwc..." - COMPOSITOR=labwc - export XDG_CURRENT_DESKTOP="LXQt:wlroots" - - # enable cursor on VM (systemd only) - if type systemd-detect-virt > /dev/null 2>&1 && systemd-detect-virt --quiet; then - export WLR_NO_HARDWARE_CURSORS=1 - echo "Running on virtualized hardware" - fi - exec $COMPOSITOR -C "$share_dir"/lxqt/wayland/firstrun -S lxqt-config-session - -elif [ "$COMPOSITOR" = "labwc" ]; then + echo "No compositor configured yet in Session Settings, trying wayfire..." + export COMPOSITOR=wayfire +fi +if [ "$COMPOSITOR" = "labwc" ]; then # Copy default configuration if not existing and set keyboard layout if different from us if [ ! -d "$XDG_CONFIG_HOME/labwc" ]; then cp -av "$share_dir"/lxqt/wayland/labwc "$XDG_CONFIG_HOME"/ # use default location here