Make shell script clickable mac

Contents

  1. Helpful answers
  2. OS X: How to Convert a Terminal Command Into a Double-Clickable Desktop File
  3. Run shell script mac double click
  4. Another way to create Finder-clickable shell scripts - Mac OS X Hints

Close dconf-editor. Thats it! Alternative way, using terminal: Run: gsettings set org. Right click and set "Allow executing file as program" Source. Pablo A 4, 3 3 gold badges 22 22 silver badges 49 49 bronze badges. This worked great. Just a note, the "drop down menu" is reached by clicking on the value listed to the right of executable-text-activation default value is display. This works everywhere except on the Desktop.


  • Applescript: Run or Call a Shell Script - nixCraft.
  • favorite books.
  • free mac app store credit?
  • Noob question: make a bash script executable on the desktop - Raspberry Pi Forums.
  • macos - Make shell script executable in Mac os x without entering the terminal - Super User.

How can I make it work on the Desktop as well? I'm using Xubuntu This works great under slax unix to -- see slax.

Helpful answers

Anon Anon 5 5 silver badges 2 2 bronze badges. The way to go imho. How to see output? Now your users can double click to their hearts content. Eliah Kagan SomKit SomKit 1 1 silver badge 8 8 bronze badges. It still will ask you what to do with run in terminal or display or run Only this answer worked on Gnome Ubuntu This is for executing file on terminal, not by double clicking it.

OS X: How to Convert a Terminal Command Into a Double-Clickable Desktop File

This the best answer for Ubuntu. Note that you may not or probably do not? Also note that you can point Icon to whatever custom png you might want Here on how to achieve the purpose with custom actions in Thunar without re-enabling that "risky" feature. Also here on how to use Zenity and get a question "Edit or Run? The script will die when he finished is job. Ali Dehghani Ali Dehghani 4 4 silver badges 9 9 bronze badges. An alternative would be custom actions , perhaps the best feature Thunar has. It will be prompt for password, enter password of your current login.

Thank you.


  • buy microsoft office 2011 student for mac;
  • Your Answer!
  • 1. Inside the Terminal - Mac OS X For Unix Geeks, 4th Edition [Book].
  • Mac OS X For Unix Geeks, 4th Edition by Brian Jepson, Rich Rosen, Ernest E. Rothman;
  • How to turn the Bash script into a clickable application with AppleScript.
  • How to run a Unix shell script from the Mac Finder | comnartsagycum.cf?

Pratik Butani Pratik Butani 1 1 silver badge 10 10 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook.

Run shell script mac double click

Sign up using Email and Password. Post as a guest Name. Email Required, but never shown.


  • [HOWTO] open (Terminal) shell scripts by double-click | Mac Support.
  • mac mini remote desktop screen resolution?
  • 1.3. Using the Terminal?

Featured on Meta. Feedback post: Moderator review and reinstatement processes. Post for clarifications on the updated pronouns FAQ. Linked Related 1. Hot Network Questions. Question feed.

One thing the approach below doesn't do is create an application that can serve as the default application for opening certain file types. If you need that capability, use Automator instead. Now for the details of the AppleScript approach.

How to create a shell script - Creare uno script shell -  Mac OS

In AppleScript Editor, enter the following code here for xemacs as an example :. To wrap another command, simply replace xemacs by whatever you want.

Popular Topics

The AppleScript responds to two events:. Save as Application and add the following shell script to the Scripts Folder in the bundle, under the name launcher.

follow link

Another way to create Finder-clickable shell scripts - Mac OS X Hints

Then save the bundle from AppleScript Editor. Droplet script launcher Here is a simple way of making shell scripts into clickable applications under Mac OS X. In AppleScript Editor, enter the following code here for xemacs as an example : Click here to see the code.