`exo-open test.txt` must be executed twice to start `gedit`
## Submitted by René Genz Assigned to **Nick Schermer** **[Link to original bug (#14237)](https://bugzilla.xfce.org/show_bug.cgi?id=14237)** ## Description In Fedora 26 and 27 (both x86_64) in an Xfce session I observe this: In a terminal (which one does not matter) executing `exo-open test.txt` does not always start `gedit` (set as default program for text/plain MIME file types). On 2nd (sometimes 3rd) reexecution of command in terminal `gedit` is started. `gedit test.txt` always works in an Xfce session. Using other programs as default for text/plain MIME file types, f.e. LibreOffice or Mousepad, works without problems each and every time. In a GNOME session with `gedit` as default program for text/plain files `xdg-open test.txt` always works. `bash -x xdg-open FILE` and `strace xdg-open FILE 1> strace.txt 2>&1` have same output for cases 'file opened' and 'file not opened' in Xfce session. Steps to change default program for text files in Xfce session: 1. $ thunar 2. right mouse button click on text file -- Properties... 3. General -- Open with: `<select program>` 4. [Close] This bug report might provide a solution: https://bugzilla.gnome.org/show_bug.cgi?id=780296#c31 For this bug report for exo I set 'Version' to 'unspecified' because I cannot find a match for the version used by the exo package in Fedora. $ rpm -qf /usr/bin/exo-open exo-0.10.7-5.fc26.x86_64
issue