Ana Guerrero 2025-01-09 14:11:25 +00:00 committed by Git OBS Bridge
commit c73d53bb17
4 changed files with 81 additions and 15 deletions

View File

@ -0,0 +1,42 @@
From 66b3dc4aafd8a97a08564bd460e6742582d69432 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] 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, and adjusts
the pointerspeed to make the default mouse pointer less twitchy
---
configurations/labwc/autostart | 2 +-
configurations/labwc/rc.xml | 2 +-
2 files changed, 2 insertions(+), 2 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>
--
2.47.1

View File

@ -1,11 +0,0 @@
--- lxqt-wayland-session-0.1.0/configurations/labwc/autostart 2024-11-05 08:26:19.000000000 +0300
+++ lxqt-wayland-session-0.1.0.new/configurations/labwc/autostart 2024-11-08 20:53:59.939622663 +0300
@@ -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 &

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
Wed Jan 8 17:29:38 UTC 2025 - Shawn Dunn <sfalken@opensuse.org>
- Drop:
* 0001-Adjust-labwc-pointerspeed.patch
* 001-labwc-autostart-swaybg.patch
- Add:
* 0001-configuration-changes-for-default-labwc-session.patch
- Combines both dropped patches to a git_am style patch
* Recommends for labwc session (Quality of Life Improvements)
- labwc-tweaks (some GUI labwc configuration options)
- wdisplays (GUI settings of displays under wayland)
- sddm-conf (GUI configuration for sddm)
-------------------------------------------------------------------
Mon Dec 30 17:08:33 UTC 2024 - Shawn Dunn <sfalken@opensuse.org>
- Added Requires: hyprland-qtutils to hyprland session, provides
further integration/support with the Qt toolkit to hyprland
-------------------------------------------------------------------
Mon Dec 30 17:05:50 UTC 2024 - Shawn Dunn <sfalken@opensuse.org>
- Added:
* 0001-Adjust-labwc-pointerspeed.patch Adjusts default pointer
speed in labwc session
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 25 18:24:00 UTC 2024 - Shawn Dunn <sfalken@opensuse.org> Mon Nov 25 18:24:00 UTC 2024 - Shawn Dunn <sfalken@opensuse.org>

View File

@ -1,7 +1,7 @@
# #
# spec file for package lxqt-wayland-session # spec file for package lxqt-wayland-session
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,10 +25,12 @@ URL: https://github.com/lxqt/lxqt-wayland-session
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
Source1: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc Source1: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
Source2: %{name}.keyring Source2: %{name}.keyring
Patch1: 001-labwc-autostart-swaybg.patch ## PATCH-CONFIGURATION-openSUSE 0001-configuration-changes-for-default-labwc-session.patch
Patch0: 0001-configuration-changes-for-default-labwc-session.patch
BuildRequires: cmake BuildRequires: cmake
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: git-core
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: xdg-user-dirs BuildRequires: xdg-user-dirs
BuildRequires: cmake(KF6WindowSystem) BuildRequires: cmake(KF6WindowSystem)
@ -50,6 +52,7 @@ Summary: Session files for LXQt-Hyprland
License: BSD-3-Clause License: BSD-3-Clause
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: hyprland Requires: hyprland
Requires: hyprland-qtutils
Supplements: (%{name} and hyprland) Supplements: (%{name} and hyprland)
%description -n lxqt-hyprland-session %description -n lxqt-hyprland-session
@ -94,6 +97,8 @@ Summary: Session files for LXQt-wayfire
License: MIT License: MIT
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: wayfire Requires: wayfire
Recommends: sddm-conf
Recommends: wcm
Supplements: (%{name} and wayfire) Supplements: (%{name} and wayfire)
%description -n lxqt-wayfire-session %description -n lxqt-wayfire-session
@ -108,6 +113,9 @@ Requires: labwc >= 0.7.2
Requires: swaybg Requires: swaybg
Requires: swayidle Requires: swayidle
Requires: swaylock Requires: swaylock
Recommends: labwc-tweaks
Recommends: sddm-conf
Recommends: wdisplays
Supplements: (%{name} and labwc) Supplements: (%{name} and labwc)
Conflicts: labwc-theme-vent <= %{version} Conflicts: labwc-theme-vent <= %{version}
@ -115,7 +123,7 @@ Conflicts: labwc-theme-vent <= %{version}
This package contains the openbox themes and other files for labwc. This package contains the openbox themes and other files for labwc.
%prep %prep
%autosetup -p1 %autosetup -p1 -S git_am
%build %build
%cmake %cmake
@ -150,7 +158,7 @@ This package contains the openbox themes and other files for labwc.
%files -n lxqt-river-session %files -n lxqt-river-session
%license COPYING %license COPYING
%{_datadir}/lxqt/wayland/lxqt-river-init %attr(0755,root,root)%{_datadir}/lxqt/wayland/lxqt-river-init
%files -n lxqt-sway-session %files -n lxqt-sway-session
%license LICENSE.MIT %license LICENSE.MIT