From 618e4b20d306b3efd30d50fd86aeca4643e3d0f0 Mon Sep 17 00:00:00 2001 From: flexagoon Date: Sat, 3 Feb 2024 11:41:12 +0300 Subject: [PATCH] add a warning for xinitrc and Xauthority (#274) --- programs/xinit.json | 2 +- programs/xorg-xauth.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/xinit.json b/programs/xinit.json index fd0cf681..07660761 100644 --- a/programs/xinit.json +++ b/programs/xinit.json @@ -6,7 +6,7 @@ "path": "$HOME/.xserverrc" }, { - "help": "Export the following environment variable:\n\n```bash\nexport XINITRC=\"$XDG_CONFIG_HOME\"/X11/xinitrc\n```\n", + "help": "Export the following environment variable:\n\n```bash\nexport XINITRC=\"$XDG_CONFIG_HOME\"/X11/xinitrc\n```\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", "movable": true, "path": "$HOME/.xinitrc" } diff --git a/programs/xorg-xauth.json b/programs/xorg-xauth.json index 6d0856ae..584bc481 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_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\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"