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

improve default mime handlers in F14 template #130

Closed
marmarek opened this Issue Mar 8, 2015 · 6 comments

Comments

Projects
None yet
2 participants
@marmarek
Member

marmarek commented Mar 8, 2015

Reported by rafal on 24 Mar 2011 17:12 UTC
They are even worse than in f13. Particularly annoying is the fact that pdf files are opened in DispVM by gimp,

Migrated-From: https://wiki.qubes-os.org/ticket/130

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by rafal on 30 Mar 2011 12:53 UTC
mimeopen retrieves the information about associations from mime cache; and this cache can be rebuilt upon any package update, so changing it is not good.
mimeopen ignores /usr/share/applications/defaults.list. It honours /home/user/.local/share/applications/defaults.list. We can create it via "xdg-mime default evince.desktop application/pdf" in core-appvm %post, but again, the existing AppVMs will not notice. Should we do it this way ?
"xdg-mime default" has no "--mode system" switch, it always creates /home/user/.local/share/applications/defaults.list.

Member

marmarek commented Mar 8, 2015

Comment by rafal on 30 Mar 2011 12:53 UTC
mimeopen retrieves the information about associations from mime cache; and this cache can be rebuilt upon any package update, so changing it is not good.
mimeopen ignores /usr/share/applications/defaults.list. It honours /home/user/.local/share/applications/defaults.list. We can create it via "xdg-mime default evince.desktop application/pdf" in core-appvm %post, but again, the existing AppVMs will not notice. Should we do it this way ?
"xdg-mime default" has no "--mode system" switch, it always creates /home/user/.local/share/applications/defaults.list.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by joanna on 30 Mar 2011 13:11 UTC
I think we should just postpone it until Beta 2. For now, we will just not install GIMP in the template :)

Member

marmarek commented Mar 8, 2015

Comment by joanna on 30 Mar 2011 13:11 UTC
I think we should just postpone it until Beta 2. For now, we will just not install GIMP in the template :)

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Modified by joanna on 11 Apr 2011 12:10 UTC

Member

marmarek commented Mar 8, 2015

Modified by joanna on 11 Apr 2011 12:10 UTC

@marmarek marmarek added P: minor and removed P: major labels Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by marmarek on 19 Apr 2011 20:56 UTC
--mode system can be achieved by XDG_DATA_HOME=/usr/share

And why not use xdg-open in DispVM, which doesn't have this problem (ignoring system defaults.list)?

So what defaults (besides pdf) should be changed?

BTW I've just installed gimp and it doesn't replace my default handler for pdf (which is "evince" of course). So package installation order matters? Strange...

Member

marmarek commented Mar 8, 2015

Comment by marmarek on 19 Apr 2011 20:56 UTC
--mode system can be achieved by XDG_DATA_HOME=/usr/share

And why not use xdg-open in DispVM, which doesn't have this problem (ignoring system defaults.list)?

So what defaults (besides pdf) should be changed?

BTW I've just installed gimp and it doesn't replace my default handler for pdf (which is "evince" of course). So package installation order matters? Strange...

@marmarek marmarek assigned marmarek and unassigned rootkovska Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Modified by marmarek on 20 Apr 2011 17:47 UTC

Member

marmarek commented Mar 8, 2015

Modified by marmarek on 20 Apr 2011 17:47 UTC

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by joanna on 28 May 2011 09:16 UTC
The mime handlers seem to work fine. Doing this ticker right, would involve significant UI work, which we currently don't want to engage in (e.g. before we settle on the actual WM in Dom0).

Member

marmarek commented Mar 8, 2015

Comment by joanna on 28 May 2011 09:16 UTC
The mime handlers seem to work fine. Doing this ticker right, would involve significant UI work, which we currently don't want to engage in (e.g. before we settle on the actual WM in Dom0).

@marmarek marmarek added the worksforme label Mar 8, 2015

@marmarek marmarek closed this Mar 8, 2015

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