desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #137598
[Bug 1497170] Re: New file creation - not opening with file editor
Found the source of the issue. Previously, xfce was not did not use
gvfs-info for mimetype detection. This changed in this commit:
http://cgit.freedesktop.org/xdg/xdg-
utils/commit/?id=8392f94bbc640e4e69aae706d33a9e4a2f364f26
Relevant code: http://cgit.freedesktop.org/xdg/xdg-utils/tree/scripts
/xdg-mime.in?id=5336e0a26dbd1e7cb00a8c05678fef039ba2c3db#n76
Before xfce used info_generic, which performs the mimetype lookup with
the mimetype command instead of gvfs-info. On a newly created plaintext
file:
$ mimetype --brief --dereference test
text/plain
$ gvfs-info test 2> /dev/null | grep standard::content-type | cut -d' ' -f4
application/octet-stream
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xdg-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1497170
Title:
New file creation - not opening with file editor
Status in One Hundred Papercuts:
Confirmed
Status in xdg-utils package in Ubuntu:
Confirmed
Bug description:
Create a new file from File - Create Empty File.
Open new document:
expected behaviour - document opens in text editor
actual behaviour - Open With dialogue opens requiring an application
to open file.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: thunar 1.6.10-1
ProcVersionSignature: Ubuntu 4.2.0-10.11-generic 4.2.0
Uname: Linux 4.2.0-10-generic x86_64
ApportVersion: 2.18.1-0ubuntu1
Architecture: amd64
CurrentDesktop: XFCE
Date: Fri Sep 18 09:05:54 2015
InstallationDate: Installed on 2015-09-17 (0 days ago)
InstallationMedia: Xubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150917)
SourcePackage: thunar
UpgradeStatus: No upgrade log present (probably fresh install)
---
ApportVersion: 2.18.1-0ubuntu1
Architecture: amd64
CurrentDesktop: XFCE
DistroRelease: Ubuntu 15.10
InstallationDate: Installed on 2015-09-17 (1 days ago)
InstallationMedia: Xubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150917)
Package: xdg-utils 1.1.0~rc3+git20150907-1ubuntu2
PackageArchitecture: all
ProcVersionSignature: Ubuntu 4.2.0-10.11-generic 4.2.0
Tags: wily
Uname: Linux 4.2.0-10-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1497170/+subscriptions