Ask Your Question

how can I put the non-app version of sage on the dock?

asked 2011-11-16 20:00:10 +0200

anonymous user


updated 2015-01-13 22:34:42 +0200

FrédéricC gravatar image


I've just installed sage 4.7.2 on a laptop running snow leopard. I put the sage folder inside Applications folder, and inside sage I see the executable icon for sage. When I double click on it everything works fine, but when I wanted to put the executable sage on the dock I could not do it. I guess one can only put .app files on there. I'd would like to have sage there so I don't have to go Applications->sage->sage every single time I want to use it.


edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2011-11-17 11:08:59 +0200

Ivan Andrus gravatar image

You could put it in the file section of the dock and it should work. If you want to add it to the application section then I think you have to create a little automator application or similar.

I'm curious though why you want to do this. Is it so that clicking on the dock icon will launch another terminal session? I have thought of adding this feature to the application but haven't done so yet.

edit flag offensive delete link more


I don't really know how to create the automator application so I'll have to stick to put it on the file section. Yes, what I wanted is precisely launch sage-terminal session by just a click on the dock. Thanks.

NaiveUser gravatar imageNaiveUser ( 2011-11-17 14:32:51 +0200 )edit

I don't think it's easy to use Automator for this task. I spent half an hour trying, and I gave up. Automator simply is not designed for these tasks, it seems. More precisely, I mean "creating an automation that opens up a terminal, and starts Sage there".

Dima gravatar imageDima ( 2011-11-18 01:48:05 +0200 )edit

There are 2 easy ways I think. The first is to add "Get Specified Finder Items" and point it at the sage executable. Then add "Open Finder Items". This will do the same as double clicking in the Finder (except it takes a little longer because it has to start up the automator engine). The other way is to use an applescript such as those that come with the Mac application. This allows more control (such as passing `--gap` to run GAP or something), but is also a little more work unless you just cut and paste from the Mac application. Both will be a little slower (than just the executable in the file side), but allow you to change the icon etc. Actually never mind, you can change the icon of the sage executable as well.

Ivan Andrus gravatar imageIvan Andrus ( 2011-11-18 06:30:37 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-11-16 20:00:10 +0200

Seen: 382 times

Last updated: Nov 17 '11