EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: CSS app Launcher
From: Nerses Gevorgyan <[email protected]>
To: [email protected]
Date: Wed, 11 Jan 2012 09:45:06 -0500
Hi,

Usually in the Linux what to do with certain files are specified in system wide file /etc/mime.types
The particular users with particular applications may have their own configuration
which will override system wide configuration. In case of firefox
Menu Edit->Preferences->Tab Applications will show how the firefox is handling file types.
You may want to configure that.

HTH,
Nerses

On 01/11/2012 04:39 AM, Patard Charles Henri wrote:
Le 11/01/2012 05:53, Kasemir, Kay a écrit :

Hello:

 

Internally, the application launcher uses the Eclipse/SWT

  Program.launch()

 

command.

 

This is supposed to launch “the operating system executable associated with the file or URL”.

On Windows or OS X this means for example that your “command” can be

/Path/to/some/spreadsheet.xls

and it will open in Excel.

 

So I would look for the association of your executable file with in this case firefox somewhere in the operating system, outside of CSS.

What happens when you double click the file in some other file navigator?

I’m not even sure what OS you are using. Linux? Try the gnome or KDE file browser?

 

If all fails, you might have to create a shell script/batch file that opens your actual file in the desired tool,

and then enter the path to that shell script in the CSS app launcher.

 

Thanks,

Kay

 

From: [email protected] [mailto:[email protected]] On Behalf Of Patard Charles Henri
Sent: Tuesday, January 10, 2012 5:27 AM
To: [email protected]
Subject: CSS app Launcher

 

Hello All,

I'm trying to launch an executable file ada (bin file) with Application Launcher of CSS. I create a .app in a project and configure the .app like this :

<application>
      <command>./ctrol/execs/applications/choix/exec/choix</command>
      <icon>icon:work</icon>
</application>

When I run the .app file with the Application Launcher the Firefox Navigator open with this question :

" You have chosen to open choix which is a file type : bin file. Would you like to save it ? "

If I try the same thing with a .jar file, it's working good.

Thanks. Best regards.

Thanks Kay,

Sorry I'm using RedHat Enterprise Linux 5 with Gnome session. I try with a KDE session, the problem is still there. When I double click the file in operating system it's run normally.

Finally I try to create a script/batch file and enter the path in the CSS app launcher. If I link .sh file with gedit it's run. Gedit open and display .sh file. In another case if I link .sh file the rcp console said : "Argument non valide : « /home/patard/Desktop/start.sh »".

start.sh file :
#! /bin/bash
exec "/ctrol/execs/applications/choix/exec/choix"

.app file :
<application>
  <command>home/patard/Desktop/start.sh</command>
  <icon>icon:run</icon>
</application>

How are you since our last met ?






References:
CSS app Launcher Patard Charles Henri
RE: CSS app Launcher Kasemir, Kay
Re: CSS app Launcher Patard Charles Henri

Navigate by Date:
Prev: Re: pyepics: Strategies for working with fast-changing large arrays Anton Derbenev
Next: RE: pyepics: Strategies for working with fast-changing large arrays Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: CSS app Launcher Patard Charles Henri
Next: CSS app Launcher Patard Charles Henri
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·