1

It sounds easy, but hell, it is not.

I want a desktop icon that executes:

/home/<username>/dev/intellij/bin/idea.sh

if I create a sh file on desktop, it opens with leafpad.

If I create ln -s, nothing happens double clicking it.

The difference in this question to the others, is that this does not use unity. And it requires the solution to be without creating a .desktop file with a [Desktop Entry] that nobody easily seems to understand.

Toskan
  • 244

1 Answers1

2

First Option:

  1. Right click the sh file on the desktop
  2. Choose Properties
  3. Go to the Permissions Tab
  4. Checkmark the box that says "Allow Executing File as a Program"
  5. Go to the Open With Tab
  6. Choose a Terminal-Looking Icon

Second Option: Install nautilus-open-terminalnautilus-open-terminal package from the universe repositories and run the extra command to configure it:

sudo apt-get install nautilus-open-terminal



   nautilus -q && sleep 1 && nautilus -n

When you right click the file on the desktop, there should be an option that says Open in Terminal

WAS
  • 191