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 b7b7cd4 commit c43cfc8Copy full SHA for c43cfc8
1 file changed
root/usr/bin/opera
@@ -15,4 +15,23 @@ if [ -f /usr/lib/x86_64-linux-gnu/opera/localization/${LANG}.pak ]; then
15
LANG_CLI="--lang=${LANG}"
16
fi
17
18
-${BIN} --password-store=basic --no-sandbox --test-type ${LANG_CLI} "$@"
+# Wayland check
19
+if ls -l /dev/dri/* > /dev/null 2>&1; then
20
+ if pgrep labwc > /dev/null 2>&1; then
21
+ WAYLAND="--ozone-platform=wayland"
22
+ fi
23
+fi
24
+
25
+# Pelorus accessibility
26
+if [ "${PELORUS,,}" == "true" ]; then
27
+ ACCESSIBILITY="--force-renderer-accessibility"
28
29
30
+${BIN} \
31
+ --password-store=basic \
32
+ --no-sandbox \
33
+ --test-type \
34
+ ${WAYLAND} \
35
+ ${ACCESSIBILITY} \
36
+ ${LANG_CLI} \
37
+ "$@"
0 commit comments