New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing chromium in a Fedora-24-based DVM Template hijacks unrelated MIME types #2786

Open
andrewdavidwong opened this Issue Apr 30, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@andrewdavidwong
Member

andrewdavidwong commented Apr 30, 2017

Qubes OS version (e.g., R3.2):

R3.2

Affected TemplateVMs (e.g., fedora-23, if applicable):

fedora-24-dvm


Expected behavior:

Files opened in DispVMs open in appropriate programs.

Actual behavior:

Files opened in DispVMs open in Chromium, even when Chromium cannot read them.

Steps to reproduce the behavior:

  1. Use a plain fedora-24-based DVM Template.
  2. Open, e.g., an "office" file (e.g., ODS, ODF, DOCX, XLS, etc.) file in a new DispVM. (Note: Trigger the opening from a non-DispVM in a DispVM. Do not qvm-copy the file then manually open it from the DispVM.)
  3. The file opens as expected in some appropriate "office suite" program, if installed.

By contrast:

  1. Install Chromium in the same DVM Template.
  2. Try to open the same file again in a new DispVM (after regenerating the DVM Template).
  3. The file opens in Chromium, but since Chromium can't read it, it just triggers a useless and endless "download file" loop.

General notes:

Opening the file from, e.g., Nautilus inside the DispVM works as expected.


Somewhat related thread:
https://groups.google.com/d/topic/qubes-users/VcAnMItJkEY/discussion

@ubestemt

This comment has been minimized.

Show comment
Hide comment
@ubestemt

ubestemt May 1, 2017

Not sure I can help since I don't use that template myself, but does ~/.local/share/applications/mimeapps.list change? What is the output of xdg-mime query default application/vnd.oasis.opendocument.text and what happens when you run xdg-open filename?

Maybe something in this how-to proves helpful: https://github.com/QubesOS/qubes-doc/pull/379/files?short_path=83ca4e2#diff-83ca4e28de9bcee331783522a52c2bd0

ubestemt commented May 1, 2017

Not sure I can help since I don't use that template myself, but does ~/.local/share/applications/mimeapps.list change? What is the output of xdg-mime query default application/vnd.oasis.opendocument.text and what happens when you run xdg-open filename?

Maybe something in this how-to proves helpful: https://github.com/QubesOS/qubes-doc/pull/379/files?short_path=83ca4e2#diff-83ca4e28de9bcee331783522a52c2bd0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment