File: 2025_run_xdg_user_dirs_update.patch

package info (click to toggle)
lomiri-session 0.3-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 256 kB
  • sloc: sh: 115; makefile: 13
file content (16 lines) | stat: -rw-r--r-- 570 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Ensure XDG user directories exist.
Author: Guido Berhoerster <guido+debian@berhoerster.name>
Forwarded: not needed, Debian-specific

--- lomiri-session.orig/lomiri-session.in
+++ lomiri-session/lomiri-session.in
@@ -95,5 +95,9 @@ if command -v Xwayland 2>/dev/null; then
   export MIR_SERVER_XWAYLAND_PATH=/usr/libexec/Xwayland.lomiri
 fi
 
+# ensure XDG user directories exist, run in the C locale since Lomiri and Apps
+# do not universally support localized directories
+LC_ALL=C xdg-user-dirs-update
+
 exec ${LOMIRI_BINARY:-lomiri} --mode=$MODE "$@"