I am starting Qt-Linguist in a bash script via
sudo linguist-qt4 $PathToParentDir/translate_$lang.ts
I could also use gksu
instead of sudo
but this would add more dependencies since most people don't have gksu installed.
On the left picture you see how ugly it looks, it should look like on the right hand side when started normally.
How can I start a program in a bash-script so that it looks like in the right picture?
/opt/my_program/translations
and could not be saved, if it would not have root privileges. And if the script itself is placed in/opt
, the Qt-Linguist looks ugly even without the sudo-command. – user2366975 Sep 27 '13 at 11:00/opt/my_program/translations
), or is it undesirable? – volferine Sep 27 '13 at 11:03sudo
in the bash-script. That's good, but still it is looking so ugly... Can i workaround this? – user2366975 Sep 27 '13 at 11:06