Agnus Dei (jackal) wrote,
Agnus Dei
jackal

Desktop Icon for starting up VPN connection under Ubuntu

$ cat ~/Desktop/startvpn.desktop 
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=true
Icon[en_US]=gnome-panel-launcher
Name[en_US]=Start VPN
Exec=/home/ballison/bin/start_vpn.sh
Name=Start VPN
Icon=gnome-panel-launcher

$ cat /home/ballison/bin/start_vpn.sh
#!/bin/bash
sudo openvpn --script-security 2 --config ~/work/vpn/current/vpn-my_account.ovpn 



----

Note - Created with: gnome-desktop-item-edit --create-new startvpn.desktop
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 0 comments