xdg-utils: xdg-open fails to open audio and video files in totem

Per Olofsson pelle at debian.org
Sat Sep 26 11:16:23 UTC 2015


severity 785600 normal
reassign 785600 totem
thanks

Hi Björn,

Sorry for the long delay in replying :-(

On Mon, 18 May 2015 09:34:58 +0200 <bjoernsiebke at web.de> wrote:
>    * What led up to the situation?
> A program (in my case gpodder) uses xdg-open to open audio and video files.
> 
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
> When starting a media file ...
> 
>    * What was the outcome of this action?
> .... only a "Videos" (Totem) window opens with no option to start the file.
> 
>    * What outcome did you expect instead?
> That the file is directly being played or, at least, that I have the option to
> play it by clicking a "play" button.
> 
> 
> There is a workaround which should be included in the package: Using the
> command
> 
> totem --play %U
> 
> works just fine. This command should be used in xdg-open, too.

When running under GNOME, xdg-open simply calls gvfs-open to open the
file. gvfs-open, in turn, reads the desktop file for Totem
(/usr/share/applications/org.gnome.Totem.desktop) which specifies that
the command to be run is "totem %U".

So, if you want this changed, the change should be done in the totem
package. Reassigning.

-- 
Pelle



More information about the pkg-gnome-maintainers mailing list