Task #11571 (closed)
Linux client packages should be runnable from the desktop
Reported by: | spli | Owned by: | spli |
---|---|---|---|
Priority: | minor | Milestone: | 5.0.0-rc1 |
Component: | Client | Version: | 4.4.9 |
Keywords: | n.a. | Cc: | hflynn, bpindelski |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | OMERO 5 Beta 2 (1) |
Description
The current linux clients can only be running the included shell scripts at the command line. It would be nicer if they could be started by double clicking in a standard desktop environment, perhaps a .desktop file would be enough?
The INSTALL file also needs updating.
Change History (4)
comment:1 Changed 10 years ago by spli
- Milestone changed from OMERO-4.4.10 to 5.0.0-beta2
- Sprint set to OMERO 5 Beta 2 (1)
- Status changed from new to accepted
comment:2 Changed 10 years ago by spli
Another alternative is to write a compiled program:
run_insight.c:
#include <unistd.h> int main() { char *args[4]; args[0] = "-Xms256000000"; args[1] = "-Xmx1024000000"; args[2] = "-jar"; args[3] = "omero.insight.jar"; return execvp("java", args); }
$ gcc -Wall run_insight.c -o run_insight
will produce a binary run_insight which runs when double clicked.
comment:3 Changed 10 years ago by spli
- Resolution set to fixed
- Status changed from accepted to closed
In futureO we could look at packaging the clients as a binary rpm or deb. For now I've edited the shell scripts:
comment:4 Changed 10 years ago by spli
Also https://github.com/openmicroscopy/openmicroscopy/pull/1736 (dev_4_4)
It looks like desktop files can only contain absolute paths, so I think the next best option is to modify the scripts to run from any working directory.