add notify-send from root or another user

Takahashi, Naoki 2023-02-22 02:27:37 +09:00
parent 6ac2fce14e
commit b629f73bcd

@ -512,6 +512,11 @@ mode $mode_move_all_workspace_windows {
}
bindsym $mod+shift+ctrl+m mode $mode_move_all_workspace_windows
```
### notify-send from root or another user
```
sudo --login -u username DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u username)/bus notify-send TITLE MSG
```
### XDG_CURRENT_DESKTOP environment variable is not being set
@ -519,7 +524,6 @@ Some applications may rely on the `XDG_CURRENT_DESKTOP` environment variable to
It's not good practice for applications to make use of XDG_CURRENT_DESKTOP in this way, and Firefox has an issue open to try to fix it. Refer to [xpdw's FAQ](https://github.com/emersion/xdg-desktop-portal-wlr/wiki/FAQ#how-do-i-run-xdpw) and [xdpw's Troubleshooting guide](https://github.com/emersion/xdg-desktop-portal-wlr/wiki/%22It-doesn't-work%22-Troubleshooting-Checklist) if your issue is specifically related to screensharing.
## Troubleshooting
### How do I report issues?