Linux: Fix generic installation script on Konsole in Wayland (#1244)
The x11 aliases such as --title are only available in the Qt application if the XDG_SESSION_TYPE is x11. Instead of using an alias, we can use --qwindowtitle directly.
This commit is contained in:
parent
3f0e0b8cdd
commit
e70aa13c5b
|
@ -93,7 +93,7 @@ show_message()
|
||||||
else
|
else
|
||||||
if [ $KTERM -eq 1 ]
|
if [ $KTERM -eq 1 ]
|
||||||
then
|
then
|
||||||
konsole --title 'VeraCrypt Setup' --caption 'VeraCrypt Setup' -e sh -c "echo $*; read A"
|
konsole --qwindowtitle 'VeraCrypt Setup' --caption 'VeraCrypt Setup' -e sh -c "echo $*; read A"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -1074,7 +1074,7 @@ then
|
||||||
else
|
else
|
||||||
if [ $KTERM -eq 1 ]
|
if [ $KTERM -eq 1 ]
|
||||||
then
|
then
|
||||||
exec konsole --title 'VeraCrypt Setup' --caption 'VeraCrypt Setup' -e sh -c "echo Installing package...; $SUDO $PACKAGE_INSTALLER $PACKAGE_INSTALLER_OPTS $PACKAGE; rm -f $PACKAGE; echo; echo Press Enter to exit...; read A"
|
exec konsole --qwindowtitle 'VeraCrypt Setup' --caption 'VeraCrypt Setup' -e sh -c "echo Installing package...; $SUDO $PACKAGE_INSTALLER $PACKAGE_INSTALLER_OPTS $PACKAGE; rm -f $PACKAGE; echo; echo Press Enter to exit...; read A"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -97,7 +97,7 @@ show_message()
|
||||||
else
|
else
|
||||||
if [ $KTERM -eq 1 ]
|
if [ $KTERM -eq 1 ]
|
||||||
then
|
then
|
||||||
konsole --title 'VeraCrypt Setup' -e sh -c "echo $*; read A"
|
konsole --qwindowtitle 'VeraCrypt Setup' -e sh -c "echo $*; read A"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -1078,7 +1078,7 @@ then
|
||||||
else
|
else
|
||||||
if [ $KTERM -eq 1 ]
|
if [ $KTERM -eq 1 ]
|
||||||
then
|
then
|
||||||
exec konsole --title 'VeraCrypt Setup' -e sh -c "echo Installing package...; $SUDO $PACKAGE_INSTALLER $PACKAGE_INSTALLER_OPTS $PACKAGE; rm -f $PACKAGE; echo; echo Press Enter to exit...; read A"
|
exec konsole --qwindowtitle 'VeraCrypt Setup' -e sh -c "echo Installing package...; $SUDO $PACKAGE_INSTALLER $PACKAGE_INSTALLER_OPTS $PACKAGE; rm -f $PACKAGE; echo; echo Press Enter to exit...; read A"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue