Running shell scripts without opening the terminal

About writing shell scripts and making the most of your shell
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Locked
mintnoob2

Running shell scripts without opening the terminal

Post by mintnoob2 »

this sucks.. how can i make a link to an sh file that i commonly run without opening the terminal each time?

btw i am still using same mouse.. hehe..

i am happy with linux mint cinnamon - it basically works the same as ubuntu, minus the crashing. good job to mint team, thanks!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
tigrezno

Re: Running shell scripts without opening the terminal

Post by tigrezno »

just make it executable with: "chmod +x script.sh" and you can execute it from the file browser
ericramos1990

Re: Running shell scripts without opening the terminal

Post by ericramos1990 »

Do what tigrezno said:
tigrezno wrote:just make it executable with: "chmod +x script.sh" and you can execute it from the file browser
And if you want make a desktop shortcut out of it.

Right click right click on your desktop, you should see the create a new launcher here (I put a pic)

I made a folder called custom shortcuts, and I always put my custom launchers there.
Then I can find my shortcut in then Mint menu by pressing the windows key, and running it there.
/home/YOURNAME/.local/share/applications/customshortcuts
Locked

Return to “Scripts & Bash”