mirror of
https://github.com/swaywm/sway.git
synced 2024-11-24 17:01:29 +00:00
add notify-send from root or another user
parent
6ac2fce14e
commit
b629f73bcd
6
Home.md
6
Home.md
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue