From 2fe3ee509f02042aa2dc6a5164ae87d84eaf7730 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=D0=9D=D0=BE=D0=B2=D0=B8=D1=86=D0=B0?= <28594843+tunalad@users.noreply.github.com> Date: Sun, 11 May 2025 16:51:35 +0200 Subject: [PATCH] Xauthority XDG Desktop Portal warning (#466) * Added PCManFM's `.thumbnails` * Updated GIMP configuration file * Update xorg-xauth to include XDG Desktop Portal warning --- programs/xorg-xauth.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/xorg-xauth.json b/programs/xorg-xauth.json index 584bc48..79b546e 100644 --- a/programs/xorg-xauth.json +++ b/programs/xorg-xauth.json @@ -3,7 +3,7 @@ { "path": "$HOME/.Xauthority", "movable": true, - "help": "Export the following environment variables:\n\n```bash\nexport XAUTHORITY=\"$XDG_RUNTIME_DIR\"/Xauthority\n```\n\n- **LightDM does not allow you to do this.** See [here](https://askubuntu.com/a/961459) for workaround.\n- SLiM has _~/.Xauthority_ hardcoded\n\n- SDDM uses its own config to set XAUTHORITY variable. **Do not set it manually.**\nExample `/etc/sddm.conf.d/xorg_settings.conf`:\n```ini\n[X11]\nUserAuthFile=.local/share/sddm/Xauthority\n```\n**WARNING: Moving this file can potentially lead to not being able to start your X11 session or some programs (eg. Wine) not working as intended.**\n" + "help": "Export the following environment variables:\n\n```bash\nexport XAUTHORITY=\"$XDG_RUNTIME_DIR\"/Xauthority\n```\n- XDG Desktop Portal might not work as intended (eg. not being able to use file picker in Chromium). to fix this we have to modifying a systemd service.\n\n```bash\nsystemctl --user edit xdg-desktop-portal-gtk # or whichever backend you use\n```\nThen add the environment variable to the service:\n```ini\n[Service]\nEnvironment=XAUTHORITY=/run/user/1000/Xauthority\n```\n\n- **LightDM does not allow you to do this.** See [here](https://askubuntu.com/a/961459) for workaround.\n- SLiM has _~/.Xauthority_ hardcoded\n\n- SDDM uses its own config to set XAUTHORITY variable. **Do not set it manually.**\nExample `/etc/sddm.conf.d/xorg_settings.conf`:\n```ini\n[X11]\nUserAuthFile=.local/share/sddm/Xauthority\n```\n**WARNING: Moving this file can potentially lead to not being able to start your X11 session or some programs (eg. Wine) not working as intended.**\n" } ], "name": "xorg-xauth" -- 2.47.3