Mailinglist Archive: opensuse-bugs (3497 mails)

< Previous Next >
[Bug 860628] New: Unexpected mime-type settings
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 27 Jan 2014 17:44:24 +0000
  • Message-id: <bug-860628-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=860628

https://bugzilla.novell.com/show_bug.cgi?id=860628#c0


Summary: Unexpected mime-type settings
Classification: openSUSE
Product: openSUSE 13.1
Version: Final
Platform: x86-64
OS/Version: openSUSE 13.1
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Other
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: andreash87@xxxxxx
QAContact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/32.0.1700.77 Safari/537.36

I'm running a freshly installed openSUSE 13.1 with KDE 4.11.4.
Due to personal preference I installed Google-Chrome and configured it as the
default web-browser in the KDE config. Most applications respect that, and
links are opened in Google-Chrome. (E.g. `xdg-open http://www.google.com`)

However, some applications seem to use some other mechanism to open files, and
urls. I guess it is some gnome mechanism. In particular "Zotero standalone"
[1], a literature management tool that is based on Firefox.

[1]: http://www.zotero.org/

When I open a URL in Zotero it is opened in Firefox despite my configuration.
What's more, pdfs are opened in GIMP, which is a ridiculous choice. This can be
fixed half-way by manually editing `/usr/share/applications/defaults.list`
replacing the lines

text/html=firefox.desktop;google-chrome.desktop
text/xml=firefox.desktop;google-chrome.desktop
x-scheme-handler/http=firefox.desktop;google-chrome.desktop
x-scheme-handler/https=firefox.desktop;google-chrome.desktop
x-scheme-handler/ftp=firefox.desktop;google-chrome.desktop

to

text/html=google-chrome.desktop;firefox.desktop
text/xml=google-chrome.desktop;firefox.desktop
x-scheme-handler/http=google-chrome.desktop;firefox.desktop
x-scheme-handler/https=google-chrome.desktop;firefox.desktop
x-scheme-handler/ftp=google-chrome.desktop;firefox.desktop

and running `update-desktop-database` as root. Or, by editing
`~/.local/share/applications/mimeapps.list` in a similar fashion.
Unfortunately, I failed to fix the pdf-viewer issue this way.

Now, I realize that Zotero is not within the scope of the openSUSE project.
However, the above mime-settings are. What I would ask you to consider is

a) To replace the default pdf-viewer by something less arcane than gimp
(okular, evince, xpdf, anything...)
b) To make the KDE mime settings affect `~/.local/.../mimeapps.list`, or
similar, as well.



Reproducible: Always

Steps to Reproduce:
1. Install Google-Chrome, and Zotero
2. Configure Chrome as default browser, and okular as default pdf-viewer in the
KDE settings.
3. Try to open a URL, or pdf in Zotero.
Actual Results:
opens in firefox or gimp

Expected Results:
should open in chrome or okular

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
This Thread
  • No further messages