]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/blobdiff - programs/xorg-xauth.json
Add support for 1Password CLI. (#493)
[xdg-ninja.git] / programs / xorg-xauth.json
index 0a01fd9a4c7415e5c93b318361291c205be91b6a..79b546eb4f89de2b1f2f8bf63cc4889d5148bf05 100644 (file)
@@ -3,8 +3,8 @@
         {
             "path": "$HOME/.Xauthority",
             "movable": true,
         {
             "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_Note: this might not work as expected, so be careful._\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"
         }
     ],
     "name": "xorg-xauth"
-}
\ No newline at end of file
+}