Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #11571 (closed)

Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

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

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.

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:

https://github.com/openmicroscopy/openmicroscopy/pull/1728

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.66131 sec.)

We're Hiring!