Created attachment 115654 [details] dolphin screenshot SUMMARY Programming language files have their own specialized icons. Kotlin has none and is using the standard text file icon. STEPS TO REPRODUCE 1. create a file 2. rename the extension to .kt 3. OBSERVED RESULT Standard text file icons is displayed in Dolphin EXPECTED RESULT Kotlin programming language icons should be displayed SOFTWARE VERSIONS (available in About System) KDE Plasma Version: 5.13.5 KDE Frameworks Version: 5.48.0 Qt Version: 5.11.1 ADDITIONAL INFORMATION breeze-icon-theme.noarch 5.48.0-2.fc28
It looks like shared-mime-info doesn't know Kotlin files (.kt), so it treats it as what it is: a plain text file. $ file foo.kt foo.kt: text/plain Perhaps file a bug report against shared-mime-info
$ file -i APlusB.java APlusB.java: text/x-c++; charset=us-ascii $ file -i APlusB.kt APlusB.kt: text/x-c; charset=us-ascii I wonder why mime types are being misreported on my system. I will file a bug report against shared-mime-info
Once shared-mime-info knows about the file type, we will need a Breeze icon whose name is equal to the mimetype. Moving this back to Breeze Icons.
https://gitlab.freedesktop.org/xdg/shared-mime-info/issues/93 Filed the bug with the shared-mime-info. Thanks.
Thanks for taking care of this! Closing as downstream bug then.
Well we still need an appropriate icon, right?
If you need inspiration for the logo you may checkout the official branding in the link below. https://kotlinlang.org/docs/reference/faq.html#where-can-i-get-an-hd-kotlin-logo
Git commit 33ca64ca5c0da682ba5e6177a5578d1487e38c0e by Nate Graham, on behalf of Rafael Brandmaier. Committed on 13/01/2019 at 16:11. Pushed by ngraham into branch 'master'. Add Kotlin (.kt) mimetype icons Summary: FIXED-IN: 5.54 Add an icon for Kotlin files (.kt). Test Plan: {F6547502} Reviewers: #vdg, ngraham, ndavis Reviewed By: #vdg, ngraham, ndavis Subscribers: alex-l, ngraham, kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D18199 A +1 -0 icons-dark/mimetypes/16/text-x-kotlin.svg A +1 -0 icons-dark/mimetypes/22/text-x-kotlin.svg A +1 -0 icons-dark/mimetypes/32/text-x-kotlin.svg A +1 -0 icons-dark/mimetypes/64/text-x-kotlin.svg A +1 -0 icons/mimetypes/16/text-x-kotlin.svg A +1 -0 icons/mimetypes/22/text-x-kotlin.svg A +1 -0 icons/mimetypes/32/text-x-kotlin.svg A +1 -0 icons/mimetypes/64/text-x-kotlin.svg https://commits.kde.org/breeze-icons/33ca64ca5c0da682ba5e6177a5578d1487e38c0e