[Bug 942813] New: All plain text file types associated with LibreOffice Writer instead of gedit
http://bugzilla.opensuse.org/show_bug.cgi?id=942813 Bug ID: 942813 Summary: All plain text file types associated with LibreOffice Writer instead of gedit Classification: openSUSE Product: openSUSE Factory Version: 201505* Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME Assignee: bnc-team-gnome@forge.provo.novell.com Reporter: badshah400@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Steps to reproduce: * Install "20150821 (Tumbleweed)" * Create a plain text file (I did "touch abc.txt" from the terminal). * Open nautilus and double click on the text file... * ...see it open with LO writer instead of gedit (expected). This is true of spec files, .changes files, etc. as well. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=942813
http://bugzilla.opensuse.org/show_bug.cgi?id=942813#c1
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=942813
http://bugzilla.opensuse.org/show_bug.cgi?id=942813#c2
Atri Bhattacharya
what does
xdg-mime query default text/plain
writer.desktop -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=942813
http://bugzilla.opensuse.org/show_bug.cgi?id=942813#c3
Dominique Leuenberger
(In reply to Dominique Leuenberger from comment #1)
what does
xdg-mime query default text/plain
writer.desktop
ok, so writer IS indeed set as the default.. now let's chase down the why :) do you have gio-branding-openSUSE installed? The 2nd latest entry in the changelog should be:
* Mon Nov 03 2014 badshah400@gmail.com - Gedit desktop file got renamed to org.gnome.gedit.desktop, update gnome_defaults.conf accordingly (boo#904010).
gedit is installed? (rpm -q gedit) Does the xdg-mime command give the same result when started as 'root' ? (su -) Does running (As root)
/usr/bin/update-mime-database "/usr/share/mime"
change anything? (This could mean that during install, when installing gio-branding-openSUSE, the updaye-mime-database binary could have been missing for example... /var/log/zypp or /var/log/YaST might have pointers to that) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=942813
http://bugzilla.opensuse.org/show_bug.cgi?id=942813#c4
Atri Bhattacharya
ok, so writer IS indeed set as the default.. now let's chase down the why :)
do you have gio-branding-openSUSE installed?
The 2nd latest entry in the changelog should be:
* Mon Nov 03 2014 badshah400@gmail.com - Gedit desktop file got renamed to org.gnome.gedit.desktop, update gnome_defaults.conf accordingly (boo#904010).
Yes. Correct changelog (I have the latest version from TW).
gedit is installed? (rpm -q gedit)
Yes
Does the xdg-mime command give the same result when started as 'root' ? (su -)
Yes, same result (writer.desktop)
Does running (As root)
/usr/bin/update-mime-database "/usr/share/mime"
change anything? (This could mean that during install, when installing gio-branding-openSUSE, the updaye-mime-database binary could have been missing for example... /var/log/zypp or /var/log/YaST might have pointers to that)
No, no change after running the command. I have no clue what is going on, /etc/gnome_defaults.conf suggests org.gnome.gedit.desktop over anything else for text/plain, so that isn't being read somehow? I have seen other mimetype associations messed up as well (can't recall which off the top of my head). And this text/plain messed up association was right from the get-go since I installed a fresh TW system on a VM. So nothing that I touched (at least knowingly). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=942813
http://bugzilla.opensuse.org/show_bug.cgi?id=942813#c5
Bjørn Lie
participants (1)
-
bugzilla_noreply@novell.com