lxqt-session/lxqt-0.13.0-xdg-config-dir.patch
Michael Vetter e323d6e02d - Update to 1.1.0:
* Added a simple option for global screen scaling.
  * Set Clearlooks as the default LXQt theme and changed the default
    icon theme to Breeze.
  * Add NetBSD support.
  * Prevented cut text in the header of Environment page of LXQt
    Session Settings.
- Remove lxqt-session-icontheme.patch: 
  Upstream is using breeze now by default.
  Patch was added for bsc#1112961 bsc#1159958

OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/lxqt-session?expand=0&rev=37
2022-04-29 06:10:25 +00:00

27 lines
1.1 KiB
Diff

Added because of: https://bugzilla.suse.com/show_bug.cgi?id=1099800
This patch was proposed by Simon Quigly and was declined by upstream.
See discussion at: https://github.com/lxqt/lxqt-session/pull/126/files
From e76f0ebf14b2d54495b3fa27fe751b229b15f6d8 Mon Sep 17 00:00:00 2001
From: Simon Quigley <tsimonq2@ubuntu.com>
Date: Fri, 25 May 2018 22:57:21 -0500
Subject: [PATCH] Ensure all paths are added to $XDG_CONFIG_DIRS.
diff -urEbw lxqt-session-1.1.0/startlxqt.in lxqt-session-1.1.0.new/startlxqt.in
--- lxqt-session-1.1.0/startlxqt.in 2022-04-16 15:16:20.000000000 +0200
+++ lxqt-session-1.1.0.new/startlxqt.in 2022-04-29 08:02:41.790512998 +0200
@@ -26,9 +26,11 @@
if [ -z "$XDG_CONFIG_DIRS" ]; then
export XDG_CONFIG_DIRS="@PREDEF_XDG_CONFIG_DIRS@"
else
- if ! contains "$XDG_CONFIG_DIRS" '@LXQT_ETC_XDG_DIR@'; then
- XDG_CONFIG_DIRS="$XDG_CONFIG_DIRS:@LXQT_ETC_XDG_DIR@"
+ for directory in "/etc" "@LXQT_ETC_XDG_DIR@" "/usr/share"; do
+ if ! contains "$XDG_CONFIG_DIRS" "$directory"; then
+ XDG_CONFIG_DIRS="$XDG_CONFIG_DIRS:$directory"
fi
+ done
fi
if [ -z "$XDG_CACHE_HOME" ]; then