File tree 3 files changed +8
-4
lines changed
system_files/desktop/shared/usr
3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ RUN /tmp/image-info.sh && \
237
237
; fi && \
238
238
if grep -qv "nvidia" <<< "${IMAGE_NAME}" ; then \
239
239
systemctl disable waydroid-container.service && \
240
- sed -i 's@Exec=waydroid first-launch @Exec=/usr/bin/waydroid-launcher@g' /usr/share/applications/Waydroid.desktop && \
240
+ sed -i 's@Exec=waydroid@Exec=/usr/bin/waydroid-launcher@g' /usr/share/applications/Waydroid.desktop && \
241
241
rm /usr/share/wayland-sessions/weston.desktop \
242
242
; fi && \
243
243
mkdir -p /usr/etc/default && \
Original file line number Diff line number Diff line change 11
11
killall -9 weston
12
12
pkexec /usr/bin/waydroid-container-start
13
13
if [ -z " $( pgrep weston) " ]; then
14
- /usr/bin/weston --xwayland --width=" ${WAYDROID_WIDTH} " --height=" ${WAYDROID_HEIGHT} " & > /dev/null &
14
+ /usr/bin/weston --socket=weston-waydroid --width=${WAYDROID_WIDTH} --height=${WAYDROID_HEIGHT} & > /dev/null &
15
15
fi
16
16
17
17
sleep 2 &&
18
18
export XDG_SESSION_TYPE=' wayland'
19
- export DISPLAY= ' :1 '
20
- /usr/bin/waydroid show-full-ui &
19
+ export WAYLAND_DISPLAY= ' weston-waydroid '
20
+ /usr/bin/waydroid $@ &
21
21
while [ -n " $( pgrep weston) " ]; do
22
22
sleep 1
23
23
done
Original file line number Diff line number Diff line change
1
+ [shell]
2
+ clock-format =none
3
+ panel-position =none
4
+ background-color =0xff000000
You can’t perform that action at this time.
0 commit comments