-
Notifications
You must be signed in to change notification settings - Fork 8
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
Document icons depending on which application opens a document #159
Comments
In this case, the |
As pointed out rightfully by @[email protected]:
The one of the application that gets to open it when the file is double-clicked. For that exact reason! |
The example above may be not the best one, as this may simply be the effect of the VirtualBox FreeBSD package lacking the icons (FreeBSD bug report), which, e.g., Fedora's RPMFusion virtualbox package and http://archive.ubuntu.com/ubuntu/pool/multiverse/v/virtualbox/virtualbox-qt_6.1.6-dfsg-1_amd64.deb make available in Thanks @[email protected] for pointing this out. This is the upstream location of these icons: |
This is an absolutely dysfunctional atrocity.
Why is the document not showing clearly which application it will be opened with?
In my opinion, I am not interested in which data a file contains. I am interested in which application it is opened with. Different documents with the same data format may need to be opened with different applications (or even versions).
This has never worked in a "proper desktop" fashion on "Linux desktops". Possibly because the XDG standards don't even account for this.
Can it be that XDG doesn't even have the concept of document icons?
This is how it should be:
Yet where would the document icons be coming from?
The desktop file doesn't specify which documents it can open, nor what icon they should have:
Icon=VBox
also gives no clue about where that icon might be hiding... or which version of it should be used.Apparently XDG is not even allowing for the absolute bare essentials of a desktop to work properly, like having proper document icons.
Do we even have the document icon?
Nope! Only the application icon!
As a last resort, we can generate document icons from application icons on the fly by combining a generic document icon like this
with a small version of the application icon.
Extra credits for giving the document a color similar to the dominant color in the application icon.
The text was updated successfully, but these errors were encountered: