You are not logged in.
Hi,
I am trying to open a new tab from an existing konsole window where the command to execute should be /bin/bash -c "su -". I guess something needs to be changed with the quotes...
konsole --new-tab -p tabtitle=root -p Icon=/home/myuser/Pic/Icons/konsolered.png -p command="/bin/bash -c su -"
At the moment, a new tab is being opened and the tab title as well as the icon are being set correctly. But the command that is executed is currently only /bin/bash instead of /bin/bash -c "su -". I tried different combinations of quotes, inserting additional escaped quotes, but I was not successful.
Can anyone help me with that?
Thanks in advance & kind regards,
jamesbond007.
Last edited by jamesbond007 (2010-01-10 15:43:20)
Offline
For me this works:
konsole --new-tab -p tabtitle=root -p Icon=/home/myuser/Pic/Icons/konsolered.png -e /bin/bash -c su -
[pidgin-knotify] Native KDE notifications for pidgin - [series60-remote] Manage your Symbian S60 phone
Offline
Hi janboe,
thanks for your answer!
And I just found that
konsole --new-tab -p tabtitle=root -p Icon=/home/myuser/Pic/Icons/konsolered.png -e /bin/bash -c "su -"
works even better, as one really ends up in the home directory of root.
==> Problem solved!
Offline