tnbt
12-28-2006, 07:21 PM
Hi,
I just tried to add the vpnc-applicationt to the system menu. what I did is this:
* create a file /usr/share/applications/hildon/vpn-connect.desktop:
[Desktop Entry]
Encoding=UTF-8
Version=0.3.3
Type=Application
Name=vpn-connect
Exec=/usr/bin/vpn-connect.sh
Icon=terminal
X-Osso-Service=vpn-connect
MimeType=application/x-executable
The file has the following link:
/etc/others-menu/extra_applications/0200_vpn-connect.desktop
Next I created a dbus file called /usr/share/dbus-1/services/vpn-connect.service:
[D-BUS Service]
Name=vpn-connect
Exec=/usr/bin/vpn-connect.sh
After that I can see the new menu item, but when I click on it, nothing happens. When I call the script (/usr/bin/vpn-connect.sh) manually, everything works as expected.
anybody knows what the heck is going wrong?!
Thanks.
I just tried to add the vpnc-applicationt to the system menu. what I did is this:
* create a file /usr/share/applications/hildon/vpn-connect.desktop:
[Desktop Entry]
Encoding=UTF-8
Version=0.3.3
Type=Application
Name=vpn-connect
Exec=/usr/bin/vpn-connect.sh
Icon=terminal
X-Osso-Service=vpn-connect
MimeType=application/x-executable
The file has the following link:
/etc/others-menu/extra_applications/0200_vpn-connect.desktop
Next I created a dbus file called /usr/share/dbus-1/services/vpn-connect.service:
[D-BUS Service]
Name=vpn-connect
Exec=/usr/bin/vpn-connect.sh
After that I can see the new menu item, but when I click on it, nothing happens. When I call the script (/usr/bin/vpn-connect.sh) manually, everything works as expected.
anybody knows what the heck is going wrong?!
Thanks.