Create a script to run a command line

jonatec

New Member
Credits
20
I am using Hotspot Shield VPN, which is now installed on my Linux Mint 19 laptop.
I tried to include an entry in the Startup Application app:

hotspotshield connect UK

However, it doesn't work. I can only connect manually via the terminal window, which I don't want to do every bootup.

Q. How can I create a script to include the above command and double-click this from the desktop? And will it work?

Thanks.
 


khedger

Active Member
Credits
1,026
I've never used your VPN, but I would check the docs for the VPN and make sure that you're attempting to use the startup mechanism properly. For instance, do you need to 'sudo' the command, are there permissions involved, etc. When you say that it doesn't work, what happens??

keith
 

jonatec

New Member
Credits
20
Thanks Keith.
It fails to connect after boot-up.
I think I've found a work-round - the command to connect can be placed in the .Profile file. This seems to work ok.
 

Members online


Latest posts

Top