Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upimprove default mime handlers in F14 template #130
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
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.
|
Comment by rafal on 30 Mar 2011 12:53 UTC |
marmarek
assigned
rootkovska
Mar 8, 2015
marmarek
added this to the Release 1 Beta 1 milestone
Mar 8, 2015
marmarek
added
bug
C: core
P: major
labels
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
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 :)
|
Comment by joanna on 30 Mar 2011 13:11 UTC |
marmarek
modified the milestones:
Release 1 Beta 2,
Release 1 Beta 1
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Modified by joanna on 11 Apr 2011 12:10 UTC |
marmarek
added
P: minor
and removed
P: major
labels
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
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...
|
Comment by marmarek on 19 Apr 2011 20:56 UTC 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
assigned
marmarek
and unassigned
rootkovska
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Modified by marmarek on 20 Apr 2011 17:47 UTC |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
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).
|
Comment by joanna on 28 May 2011 09:16 UTC |
marmarek commentedMar 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