Skip to content

Commit 041e8b5

Browse files
look for plank before exec
1 parent a48b176 commit 041e8b5

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

etc/proot-env/vnc/xstartup

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,8 @@
22
unset SESSION_MANAGER
33
unset DBUS_SESSION_BUS_ADDRESS
44
export PULSE_SERVER=127.0.0.1
5-
dbus-launch --exit-with-session startxfce4
5+
dbus-launch --exit-with-session startxfce4 &
6+
7+
if command -v plank > /dev/null; then
8+
plank &
9+
fi

etc/proot-env/vnc/xstartup-hdpi

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,8 @@ export PULSE_SERVER=127.0.0.1
55
export GDK_SCALE=2
66
export XCURSOR_SIZE=48
77
export QT_SCALE_FACTOR=2
8-
dbus-lauch --exit-with-session startxfce4
8+
dbus-lauch --exit-with-session startxfce4 &
9+
10+
if command -v plank > /dev/null; then
11+
plank &
12+
fi

0 commit comments

Comments
 (0)