You are not logged in.

#1 2013-12-17 05:48:51

Arakis
Member
From: Hamminkeln - Germany
Registered: 2013-08-11
Posts: 46
Website

Scripts will not start with XFCE's directory menu

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

#2 2013-12-17 05:59:29

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,722

Re: Scripts will not start with XFCE's directory menu

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

#3 2013-12-17 06:04:45

Arakis
Member
From: Hamminkeln - Germany
Registered: 2013-08-11
Posts: 46
Website

Re: Scripts will not start with XFCE's directory menu

Yes, they are all prepared with "chmod +x", and they begins all with "#!/bin/sh".

Offline

Board footer

Powered by FluxBB