Active Topics

 


Reply
Thread Tools
Posts: 47 | Thanked: 12 times | Joined on Jun 2011
#1
Please I need help in creating shortcuts! I was reading all threads about creating shortcuts, but none of them work, so please help me.

I want to make shortcut for Kismet. In order to launch it i need to enter kismet in X Terminal with root privileges. So code looks like something like this
Code:
sudo gainroot
kismet
I created two files in order to make this shortcut:

kismet.desktop
Code:
[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Terminal=true
Name=Kismet 
Exec=/bin/busybox sh -c 'echo sh /home/user/skripte/kismet.sh | sudo gainroot  
Icon=kismet   
X-Window-Icon= kismet    
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable
kismet.sh
Code:
#!/bin/sh
(
/usr/bin/osso-xterm 'sudo gainroot'
/usr/bin/osso-xterm 'kismet' &
)
I created 48x48 icon and moved it to /usr/share/icons/hicolor/48x48/hildon/
And I also moved desktop file to /usr/share/applications/hildon/

But I can't see my shortcut... What am I doing wrong?
 

The Following User Says Thank You to Necrofenser For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 18:52.