lxqt / lxqt-sudo

GUI frontend for sudo/su
https://lxqt.github.io
GNU Lesser General Public License v2.1
37 stars 27 forks source link

lxqt-sudo discards the command argument #188

Open holyjoespb opened 2 years ago

holyjoespb commented 2 years ago

lxqt-sudo discards the -geometry argument anywhere

Expected Behavior

lxqt-sudo xterm -hold -e echo '-geometry' Should show a window with the text -geometry

lxqt-sudo xterm -geometry 100x1000 Should run xterm -geometry 100x1000

https://i.imgur.com/x3tRwpt

Current Behavior

lxqt-sudo xterm -hold -e echo '-geometry' empty window

lxqt-sudo xterm -geometry 100x1000 run xterm without -geometry argument

palinek commented 2 years ago

It seems, that this argument is interpreted & taken by Qt -> https://doc.qt.io/qt-5/qguiapplication.html#supported-command-line-options.

But aren't you trying to execute this?

lxqt-sudo xterm -hold -e 'echo -geometry'