We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb76cf5 commit 4a474f7Copy full SHA for 4a474f7
Dockerfile
@@ -119,7 +119,8 @@ RUN \
119
bash \
120
coreutils \
121
findutils \
122
- expect
+ expect \
123
+ xdpyinfo
124
125
# && \
126
# # Save some space by removing unused DRI drivers.
rootfs/etc/services.d/autovideoconverter/run
@@ -91,7 +91,7 @@ log_hb_encode_progress_yad() {
91
) | /opt/base/bin/yad \
92
--fixed \
93
--width=384 \
94
- --posx=$(expr $DISPLAY_WIDTH / 2 - 384 / 2) \
+ --posx=$(expr $(xdpyinfo | awk -F'[ x]+' '/dimensions:/{print $3}') / 2 - 384 / 2) \
95
--posy=5 \
96
--title "Automatic Video Converter" \
97
--window-icon /opt/novnc/images/icons/master_icon.png \
0 commit comments