Patch fix
This commit is contained in:
File diff suppressed because one or more lines are too long
14
gui-wm/phosh/files/0002-fix-locale-issue.patch
Normal file
14
gui-wm/phosh/files/0002-fix-locale-issue.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
diff -Npur a/data/phosh.in b/data/phosh.in
|
||||
--- a/data/phosh.in 2021-03-20 13:53:32.367786000 +0100
|
||||
+++ b/data/phosh.in 2021-03-20 13:55:19.327789721 +0100
|
||||
@@ -56,6 +56,10 @@ elif [ -f /etc/phosh/rootston.ini ]; th
|
||||
PHOC_INI=/etc/phosh/rootston.ini
|
||||
fi
|
||||
|
||||
+# Set proper locale according to /etc/locale.conf
|
||||
+source /etc/locale.conf
|
||||
+export LANG=$LANG
|
||||
+
|
||||
# Run gnome-session through a login shell so it picks
|
||||
# variables from /etc/profile.d (XDG_*)
|
||||
[ -n "$WLR_BACKENDS" ] || WLR_BACKENDS=drm,libinput
|
||||
@@ -0,0 +1,22 @@
|
||||
From: Daniel Dehennin <daniel.dehennin@baby-gnu.org>
|
||||
Date: Wed, 17 Mar 2021 17:38:58 +0100
|
||||
Subject: Fix locale issue in Service file
|
||||
|
||||
* data/phosh.service (Environment): do not override user language
|
||||
setting.
|
||||
---
|
||||
data/phosh.service | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/data/phosh.service b/data/phosh.service
|
||||
index fa18137..a585696 100644
|
||||
--- a/data/phosh.service
|
||||
+++ b/data/phosh.service
|
||||
@@ -25,7 +25,6 @@ Before=graphical.target
|
||||
ConditionPathExists=/dev/tty0
|
||||
|
||||
[Service]
|
||||
-Environment=LANG=C.UTF-8
|
||||
Environment=XDG_CURRENT_DESKTOP=GNOME:Phosh
|
||||
Environment=XDG_SESSION_DESKTOP=phosh
|
||||
Environment=XDG_SESSION_TYPE=wayland
|
||||
Reference in New Issue
Block a user