! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
`exo-open test.txt` must be executed twice to start `gedit`
Status:
RESOLVED: MOVED

Comments

Description René Genz 2018-02-22 22:55:26 CET
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
Comment 1 Git Bot editbugs 2020-05-25 22:55:01 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/exo/-/issues/10.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #14237

Reported by:
René Genz
Reported on: 2018-02-22
Last modified on: 2020-05-25

People

Assignee:
Nick Schermer
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information