dls-controls / dev-c7

A container for running the DLS Controls RHEL7 developer environment on a RHEL8 workstation
Apache License 2.0
0 stars 2 forks source link

edm button calling external program #31

Closed ronaldomercado closed 2 years ago

ronaldomercado commented 2 years ago

I found a screen that uses a shell command button to display an image

The command is eog /dls_sw/work/R3.14.11/support/insertionDevice/insertionDeviceApp/opi/edl8/Graphics/I05_Temperatures.tif

and that works okay on a workstation, not on the container

Another screen calls the shell command to display a manual/documentation evince "$(which XV.gif| sed 's|data/XV.gif|documentation/vapour pressure LN2.pdf|')"

I am sure there's buttons that attempt to bring up a web browser.

gilesknap commented 2 years ago

Does it work if you first do

sudo yum install eog

If so please have a go at doing a PR using these instructions https://dls-controls.github.io/dev-c7/main/reference/contributing.html

gilesknap commented 2 years ago

web browser is a little more interesting - I guess we could install firefox inside the container I was a little reluctant to do this but it will probably work.

gilesknap commented 2 years ago

@ronaldomercado if you are going to try doing a PR please could you also see if adding firefox works?

Thanks.

ronaldomercado commented 2 years ago

I have tested evince and eog. I will see if I can find screens that use firefox.

gilesknap commented 2 years ago

fixed in https://github.com/dls-controls/dev-c7/releases/tag/2.0.2 thanks @ronaldomercado