Possible Duplicate:
Custom Ubuntu launcher doesn't launch
I used How to pin Eclipse to the Unity launcher? this to pin Eclipse to unity launcher. But now I need to replace eclipse binary with script in order to use custom gtk config. Here is a sh file(named ec
):
#!/bin/sh
GTK2_RC_FILES=gtkrc-sar ./eclipse
And here's desktop file:
[Desktop Entry]
Type=Application
Name=Eclipse
Comment=Eclipse Integrated Development Environment
Icon=/home/mighter/development/eclipse/icon.xpm
Exec=/home/mighter/development/eclipse/eclipse
Terminal=false
Categories=Development;IDE;Java;
If I replace eclipse
(binary name) with ec
(sh name), It won't run. How do I fix this?
ec
executable? – Chan-Ho Suh Sep 02 '12 at 13:57ec
, notec.sh
, right? Also, if you're using Nautilus, on double-click it will ask what to do with a shell script, since it's also considered a text file. So I don't think that's related to your problem. – Chan-Ho Suh Sep 02 '12 at 14:08