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  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: CS-Studio: File Manager configuration when executing external command
From: "Zhang, Tong via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 21 Jul 2022 14:19:45 +0000

Dear All,

 

Recently, we found an issue with CS-Studio when invoking an external shell command through the action button widget. Here is the short story.

 

The running Linux environment is Debian 11 GNOME (with Nautilus as the default File Manager program), and CS-Studio 4.6.3.

 

After the external application is started up through the “Execute Command” action of an ActionButton, everything looks to be working well, but when doing the save/open businesses through the external app interface, it seems that the current user File Manager configuration is not being honored, e.g. you cannot see any bookmarked locations on the pop-up file/directory open dialog (see Figure 1 and 2 for the comparison), which the user does not expect, and to some extent, affect the productivity.

 

Figure 1: File Manager opened from the external app

Figure 2: File Manager opened from the Linux system

 

I also tested with other File Manager apps, like CAJA, NEMO, but they behaved the same. I explored a little bit of the code of CS-Studio, and located the part that does the external command invoking, it is at: cs-studio/CommandExecutor.java at master · ControlSystemStudio/cs-studio · GitHub, but I’m not sure how to make it work as expected, are there any configurations for this feature?

 

I’m not sure how it behaved on other Desktop platforms rather than GNOME.

Has anyone experienced such an issue before? If so, do you have any workaround?

 

Appreciate your comments.

Tong


Replies:
Re: CS-Studio: File Manager configuration when executing external command Kasemir, Kay via Tech-talk

Navigate by Date:
Prev: Re: How to safely implement an asynPortDriver with SCAN records Mark Rivers via Tech-talk
Next: RE: [EXTERNAL] Phoebus Scan Server Pearson, Matthew via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
Navigate by Thread:
Prev: Re: [EXTERNAL] Phoebus Scan Server Ian Gillingham via Tech-talk
Next: Re: CS-Studio: File Manager configuration when executing external command Kasemir, Kay via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·