2020-12-03 06:09:07 +00:00
|
|
|
# DBus session bus over SSH with X11 forwarding
|
|
|
|
[ -z "$SSH_CONNECTION" ] && return
|
|
|
|
[ -z "$DISPLAY" ] && return
|
|
|
|
[ "$SHLVL" -gt 1 ] && return
|
|
|
|
|
|
|
|
GDK_BACKEND=x11; export GDK_BACKEND
|
2021-05-08 08:11:14 +00:00
|
|
|
eval $(dbus-launch --sh-syntax --exit-with-x11)
|