Hi everybody:
@mikewalsh , I can't configure your opera portable launch file (see attached code) to make opera start maximiced.
Code: Select all
#!/bin/sh
#
# Launcher for 'portable' Opera browser
#
export HERE="$(dirname "$(readlink -f "$0")")"
#
tee "$HERE"/opera/resources/ffmpeg_preload_config.json >/dev/null <<EOF
[
"${HERE}/opera/lib_extra/libffmpeg.so"
]
EOF
#
mkdir /opt/google
mkdir /opt/google/chrome
#
ln -s $HERE/opera/WidevineCdm /opt/google/chrome/WidevineCdm
#
if grep -q 'Quirky April64' /etc/DISTRO_SPECS
then
LD_LIBRARY_PATH=$HERE/:$HERE/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
"$HERE/opera/opera" --user-data-dir=$HERE/PROFILE --enable-features=VaapiVideoDecoder --start-maximized --disable-infobars --no-sandbox "$@"
elif grep -q 'puppy_tahr64' /etc/os-release
then
LD_LIBRARY_PATH=$HERE/:$HERE/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
"$HERE/opera/opera" --user-data-dir=$HERE/PROFILE --enable-features=VaapiVideoDecoder --start-maximized --disable-infobars --no-sandbox "$@"
elif grep -q 'puppy_xenialpup64' /etc/os-release
then
LD_LIBRARY_PATH=$HERE/:$HERE/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
"$HERE/opera/opera" --user-data-dir=$HERE/PROFILE --enable-features=VaapiVideoDecoder --start-maximized --disable-infobars --no-sandbox "$@"
else
"$HERE/opera/opera" --user-data-dir=$HERE/PROFILE --enable-features=VaapiVideoDecoder --start-maximized --disable-infobars --no-sandbox "$@"
fi
#
rm -rf /opt/google
I acchieved this (start maximiced) doing opera start with prevous browsing pages, but It is a waste of time when you start with 10 tabs that must be downloaded.
Can you, please, tell me what must I write at LAUNCH to make opera start maximized?
Thanks a lot in advance.