2021-03-30 14:47:32 +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-10-06 11:36:27 +00:00
|
|
|
eval $(dbus-launch --sh-syntax --exit-with-x11)
|