Xfce Forum

Sub domains
 

You are not logged in.

#1 2011-07-13 19:17:17

churchyard
Member
From: Prague [CZE]
Registered: 2008-01-29
Posts: 25
Website

Mplayer always opened in xterm when doubleclicked a file in Thunar

Hi,
I use mplayer as my video player. A have asociated Mplayer (cli) as my app for opening video files in Thunar. The mplayer-cli .desktop file includes this line:

Terminal=true

This means, when I doubleclick a video file in thunar a terminal window is opened with mplayer (that is exactly what I want). Problem is, xterm is opened and not xfce4-terminal, even though exo-open --launch TerminalEmulator and x-terminal-emulator runs xfce4-terminal. When I put an launcher to the panel ant check the option Open in terminal, it opens xfce4-terminal again, which makes no sence to me. Is that a bug, or I have missed some settings?

System information: Thunar 1.2.2, Debian testing, acting the same on Fedora 16.

Thanks for help.

Last edited by churchyard (2011-07-13 19:36:17)

Offline

#2 2011-07-13 20:51:54

Nick
Dev
From: ~
Registered: 2005-02-17
Posts: 1,144
Website

Re: Mplayer always opened in xterm when doubleclicked a file in Thunar

Blame GIO.

Offline

#3 2011-07-14 00:17:53

churchyard
Member
From: Prague [CZE]
Registered: 2008-01-29
Posts: 25
Website

Re: Mplayer always opened in xterm when doubleclicked a file in Thunar

I've installed gnome-control-center, as GIO comes form GNOME, and set preffered terminal emulator to xfce4-terminal, but it didn't help. Where can I set GIO's default terminal emulator? Thanks for quick reply.

Offline

#4 2011-07-14 06:59:09

Nick
Dev
From: ~
Registered: 2005-02-17
Posts: 1,144
Website

Re: Mplayer always opened in xterm when doubleclicked a file in Thunar

You can't, they hard-coded defaults in the code. See http://git.gnome.org/browse/glib/tree/g … nfo.c#n974. I've suggested a work around in https://bugzilla.gnome.org/show_bug.cgi?id=592857 but probably nobody cares.

Offline

#5 2011-07-14 12:04:00

churchyard
Member
From: Prague [CZE]
Registered: 2008-01-29
Posts: 25
Website

Re: Mplayer always opened in xterm when doubleclicked a file in Thunar

Oh, I see. Seem like thay care a bit, but ask you something. Well good luck, I could live with this sad
Thank you.

Offline

Board footer

Powered by FluxBB