File 0001-configuration-changes-for-default-labwc-session.patch of Package lxqt-wayland-session
From 3b8fd3c03145898a409a0965d0bb4b0c5bcb9f0d Mon Sep 17 00:00:00 2001
From: "Shawn W. Dunn" <sfalken@cloverleaf-linux.org>
Date: Wed, 8 Jan 2025 09:24:02 -0800
Subject: [PATCH 1/7] configuration changes for default labwc session
- Combines two prior patches into one, as they're both for the labwc
session.
- Sets openSUSE background for labwc session
- Adjusts the pointerspeed to make the default mouse pointer less twitchy
- Moves user configs from default labwc locations, to avoid config
conflicts
---
configurations/labwc/autostart | 2 +-
configurations/labwc/rc.xml | 2 +-
startlxqtwayland.in | 8 ++++----
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/configurations/labwc/autostart b/configurations/labwc/autostart
index fa49741..a756d24 100644
--- a/configurations/labwc/autostart
+++ b/configurations/labwc/autostart
@@ -3,7 +3,7 @@
# Preferred place for starting wayland-only applications
# Set background color or image (below the desktop):
-swaybg -i /usr/share/lxqt/wallpapers/origami-dark-labwc.png >/dev/null 2>&1 &
+swaybg -i /usr/share/wallpapers/openSUSEdefault/contents/images/default.png >/dev/null 2>&1 &
# Faster startup for GTK apps:
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY > /dev/null 2>&1 &
diff --git a/configurations/labwc/rc.xml b/configurations/labwc/rc.xml
index 41d628c..07acc3c 100644
--- a/configurations/labwc/rc.xml
+++ b/configurations/labwc/rc.xml
@@ -607,7 +607,7 @@
<device category="default">
<naturalScroll></naturalScroll>
<leftHanded></leftHanded>
- <pointerSpeed>1</pointerSpeed>
+ <pointerSpeed>0.0</pointerSpeed>
<accelProfile></accelProfile>
<tap>yes</tap>
<tapButtonMap></tapButtonMap>
diff --git a/startlxqtwayland.in b/startlxqtwayland.in
index 64a2986..d46c317 100644
--- a/startlxqtwayland.in
+++ b/startlxqtwayland.in
@@ -96,10 +96,10 @@ if [ -z "$COMPOSITOR" ]; then
elif [ "$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
+ if [ ! -d "$XDG_CONFIG_HOME/lxqt/labwc" ]; then
+ cp -av "$share_dir"/lxqt/wayland/labwc "$XDG_CONFIG_HOME"/lxqt/labwc/ # use default location here
if echo "$valid_layouts" | grep -q "$trylayout"; then
- echo "XKB_DEFAULT_LAYOUT=$trylayout" >> $XDG_CONFIG_HOME/labwc/environment
+ echo "XKB_DEFAULT_LAYOUT=$trylayout" >> $XDG_CONFIG_HOME/lxqt/labwc/environment
fi
fi
@@ -109,7 +109,7 @@ elif [ "$COMPOSITOR" = "labwc" ]; then
echo "Running on virtualized hardware"
fi
- exec $COMPOSITOR -C $XDG_CONFIG_HOME/labwc -S lxqt-session
+ exec $COMPOSITOR -C $XDG_CONFIG_HOME/lxqt/labwc -S lxqt-session
elif [ "$COMPOSITOR" = "niri" ]; then
if [ ! -f "$XDG_CONFIG_HOME/lxqt/wayland/lxqt-niri.kdl" ]; then
--
2.48.1