2021-05-18 06:40:44 +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-11-09 10:03:46 +00:00
|
|
|
eval $(dbus-launch --sh-syntax --exit-with-x11)
|