3

Here's my situation:

  • New to Ubuntu (just installed 9.10 Karmic Koala 64 bit)
  • Purpose: to easily run PyCharm without too much typing (ie. cd... ./pycharm.sh)
  • Want to create desktop Launcher instead of terminal & typing (without resorting to the "Run in Terminal" option)
  • Tried to create Launcher to executes .sh script in Document directory
  • Right-clicked Desktop > Create Launcher
  • a. Type == Application; Browse > [insert absolute path to .sh script]; no luck
  • b. Type == Application in Terminal; Browse > ...ditto

I'm open to any other alternatives that involve as little typing as possible. I would like to just start Ubuntu, click Launcher icons, and have terminals spring to life, running the intended scripts.

Crazy? No. Lazy? Probably. Productive? Hopefully :)

migrated from stackoverflow.com Mar 24 '10 at 16:17

This question came from our site for professional and enthusiast programmers.

  • superuser.com it – nvl Mar 24 '10 at 3:13
1

You can create a symbolic link to pycharm your the /home/<youruser>/bin directory (you might have to create that directory first).

Afterwards, you should really check out Gnome-Do, a true productivity booster which requires very little typing :) You can install it via Add/Remove programs or just apt-get install gnome-do.

Once installed, just press Win-Space (this pops up the launcher), type 'pycharm' (or whatever name you gave the symlink in your bin directory), hit Enter, and you're good to go.

3

You can easily create symbolic link like

sudo ln -s /path_to_pycharm/bin/pycharm.sh /usr/local/bin/pycharm

After this you can just type pycharm is app launcher, terminal, wherever!

2

Just put the full path to the bash script in the command line for the launcher dialog.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.