Copy over GTK 3 settings by default (LP: #2047705).
This commit is contained in:
parent
b37ed2f06e
commit
a757ccafc4
10
debian/changelog
vendored
10
debian/changelog
vendored
@ -1,8 +1,14 @@
|
|||||||
lxqt-session (1.4.0-0ubuntu2~ppa22.04.1) jammy; urgency=medium
|
lxqt-session (1.4.0-0ubuntu3~ppa22.04.1) jammy; urgency=medium
|
||||||
|
|
||||||
* Backport to Jammy.
|
* Backport to Jammy.
|
||||||
|
|
||||||
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 22 Dec 2023 16:33:43 -0600
|
-- Simon Quigley <tsimonq2@ubuntu.com> Mon, 01 Jan 2024 14:02:49 -0600
|
||||||
|
|
||||||
|
lxqt-session (1.4.0-0ubuntu3) noble; urgency=medium
|
||||||
|
|
||||||
|
* Copy over GTK 3 settings by default (LP: #2047705).
|
||||||
|
|
||||||
|
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 29 Dec 2023 12:36:24 -0600
|
||||||
|
|
||||||
lxqt-session (1.4.0-0ubuntu2) noble; urgency=medium
|
lxqt-session (1.4.0-0ubuntu2) noble; urgency=medium
|
||||||
|
|
||||||
|
34
debian/patches/gtk-3-configuration-copy.patch
vendored
Normal file
34
debian/patches/gtk-3-configuration-copy.patch
vendored
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
Description: Copy over GTK 3 settings from XDG_CONFIG_DIRS
|
||||||
|
This is a workaround for GTK 3 settings not being applied by default from XDG.
|
||||||
|
Ideally, all desktop environments would do this, and it would be fixed in GTK itself.
|
||||||
|
Author: Simon Quigley <tsimonq2@ubuntu.com>
|
||||||
|
Origin: vendor
|
||||||
|
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/2047705
|
||||||
|
Forwarded: no
|
||||||
|
Last-Update: 2023-12-29
|
||||||
|
---
|
||||||
|
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
||||||
|
--- a/startlxqt.in
|
||||||
|
+++ b/startlxqt.in
|
||||||
|
@@ -32,6 +32,21 @@ else
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
+# Handle GTK 3 configuration files
|
||||||
|
+echo "$XDG_CONFIG_DIRS" | tr ':' '\n' | while read -r dir; do
|
||||||
|
+ dir_path="$dir/gtk-3.0/"
|
||||||
|
+ if [ -d "$dir_path" ]; then
|
||||||
|
+ mkdir -p "$HOME/.config/gtk-3.0"
|
||||||
|
+ for file in "$dir_path"*; do
|
||||||
|
+ if [ -f "$file" ]; then
|
||||||
|
+ target_file="$HOME/.config/gtk-3.0/$(basename "$file")"
|
||||||
|
+ if [ ! -f "$target_file" ]; then
|
||||||
|
+ cp "$file" "$target_file"
|
||||||
|
+ fi
|
||||||
|
+ fi
|
||||||
|
+ done
|
||||||
|
+ fi
|
||||||
|
+done
|
||||||
|
|
||||||
|
if [ -z "$XDG_CACHE_HOME" ]; then
|
||||||
|
export XDG_CACHE_HOME="$HOME/.cache"
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -1,2 +1,3 @@
|
|||||||
ensure-necessary-paths-are-pulled-from.patch
|
ensure-necessary-paths-are-pulled-from.patch
|
||||||
autostart-ux-polish.patch
|
autostart-ux-polish.patch
|
||||||
|
gtk-3-configuration-copy.patch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user