View Single Post
Posts: 529 | Thanked: 194 times | Joined on Aug 2010 @ UK
#1315
right im trying to make a shortcut to open xterm as root i have managed to do that with this command
Code:
osso-xterm 'sudo gainroot'
but my problem is i cant use the sohortcut again untill i close the open screen , how can i make it open app and then if i need to click it again and it opens another ....

i have try these combos but still cant get it to work

Code:
Exec=/usr/bin/osso-xterm 'sudo gainroot'
Code:
dbus-send --type=method_call --dest=com.nokia.HildonDesktop.AppMgr /com/nokia/HildonDesktop/AppMgr com.nokia.HildonDesktop.AppMgr.LaunchApplication string:'osso-xterm'
second command sort of works but i cant get it to open as root ...
...................


now my other app ik want it to open xterm an run

Code:
osso-xterm -e  "sudo arp-scan --interface=wlan0 --localnet"
which it works but as soon as its run command the windows closes how can i keep it open and free up the shortcut ....

many thanks any other info anybody needs just ask ....

please help i have been throu all the pages in this thread and the wiki page but i cant work it out , im not that great with code to be honest .......
__________________
METASPLOIT INSTALL N900
Keep the forums clean
Dont forget to say thanks