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 #3369 (closed)

Opened 13 years ago

Closed 12 years ago

Open With... on Linux

Reported by: jburel Owned by: sylittlewood
Priority: major Milestone: OMERO-4.4
Component: Insight Version: n.a.
Keywords: n.a. Cc: sylittlewood
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2012-05-08 (14)

Description

replaces http://trac.openmicroscopy.org.uk/shoola/ticket/1333

Implement Open With... on Linux
Parse information from the selected application i.e. Icon, application name, path, etc.

Change History (9)

comment:1 Changed 12 years ago by jburel

  • Cc sylittlewood added
  • Milestone changed from Unscheduled to OMERO-Beta4.4
  • Priority changed from minor to major
  • Sprint set to 2012-04-10 (12)

comment:2 Changed 12 years ago by jburel

  • Owner set to sylittlewood

comment:3 Changed 12 years ago by sylittlewood

Gnome and KDE appear to use a definition file to assist defining dektop GUI related items (xdesktop) Desktop Entry Specification http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html

An important part of this is:

Icon Icon to display in file manager, menus, etc. If the name is an absolute path, the given file will be used. If the name is not an absolute path, the algorithm described in the Icon Theme Specification will be used to locate the icon.

comment:5 Changed 12 years ago by jburel

  • Sprint changed from 2012-04-10 (12) to 2012-04-24 (13)

Moved from sprint 2012-04-10 (12)

comment:6 Changed 12 years ago by jburel

  • Sprint changed from 2012-04-24 (13) to 2012-05-08 (14)

Moved from sprint 2012-04-24 (13)

comment:7 Changed 12 years ago by sylittlewood

To open a file with it's default application on Linux you can perform gnome-open, kde-open.

Using System.getenv("XDG_CURRENT_DESKTOP"); we ca get the desktop mode, (Gnome, KDE, Unity)

comment:8 Changed 12 years ago by jburel

Do you want to put the code in the open-with branch? The name is probably not ideal, but it will simplify everything.
I will try to have a look at the latest change tomorrow

comment:9 Changed 12 years ago by sylittlewood

  • Resolution set to fixed
  • Status changed from new to closed
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.90027 sec.)

We're Hiring!