Xfce Forum

Sub domains
 

You are not logged in.

#1 2015-08-10 10:52:37

gnome_refugee
Member
Registered: 2010-01-15
Posts: 169

[Solved] Curious exo-open behaviour

Running Xfce 4.10 and Debian 8.

In Thunar I set Gedit to be my default application for opening plain text files (mimetype text/plain).

In a terminal, if I run 'exo-open [some text file]', nothing happens. If I repeat the command, the file opens in Gedit.

This happens both with a terminal opened from Thunar with 'Open terminal here' and with an independently opened terminal.

The 'do it twice' behaviour is reproducible on two different machines both running Debian 8 and Xfce 4.10. To use exo-open in a script, I have to write 'exo-open [some text file]; exo-open [some text file]'.

Can anyone suggest what might be going on? Many thanks in advance.

Offline

#2 2015-08-10 22:23:34

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: [Solved] Curious exo-open behaviour

I don't usually use gedit, but I installed in Arch and am seeing the same thing. Also found:
- only seems to affect gedit (mousepad works fine)
- if gedit is already running, then it works fine

Did some digging and found a few bug reports:
- Arch (https://bugs.archlinux.org/task/45167)
- Fedora (http://forums.fedoraforum.org/showthread.php?t=280459)
- Gnome (https://bugzilla.gnome.org/show_bug.cgi?id=746534)

So it looks like some sort of bug.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2015-08-11 00:40:43

gnome_refugee
Member
Registered: 2010-01-15
Posts: 169

Re: [Solved] Curious exo-open behaviour

Many thanks, ToZ. Sure enough, with Mousepad as default text editor, the 'do it twice' problem disappears.

Offline

Board footer

Powered by FluxBB