You are not logged in.
Hello,
i use the XFCE item "directory menu". When i try to click on a (bash) script (within the menu), the script will not be executed. Instead, an editor is starting (in this case, monodevelop, and more interesting, the splash screen is flickering. But that not the point). But when i execute it from command line, or via double click in Thunar, it will executed correctly.
What's going wrong? It does not matter, if the scripts have the extension ".sh" or not.
I could use for each script a launcher, but this would not be very flexible than.
Greetings from Germany,
Sebastian
Last edited by Arakis (2013-12-17 05:50:26)
Offline
Are the scripts execuatable?
Is there a shebang on the first line of the script?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Yes, they are all prepared with "chmod +x", and they begins all with "#!/bin/sh".
Offline