xenlism / wildfire

Minimal icon theme for *nix
GNU General Public License v3.0
136 stars 28 forks source link

Icon request: Rust programming language #38

Closed fbruetting closed 6 years ago

fbruetting commented 8 years ago

Hi, love your mime icons! Would you please provide a rusty rust icon, too?

Here's the official Logo, if it helps: https://upload.wikimedia.org/wikipedia/commons/d/d5/Rust_programming_language_black_logo.svg

fbruetting commented 8 years ago

Would be nice if you can provide an icon for the according „crates“ (*.rlib) also. :)

Maybe some colors like this? http://www.cargocontainerhq.com/images/used-cargo-containers.jpg

xenlism commented 6 years ago

Thank you. I will work ASAP.

fbruetting commented 6 years ago

You’re alive! Great – can’t wait to see further improvements! 😎

xenlism commented 6 years ago

I need your help. first for mimetype. file --mime-type /path/to/file second icons. cat /usr/share/applications/{ name of rusticon.desktop} grep | Icon=

fbruetting commented 6 years ago

lib.rs: text/x-c

There is no Rust application, there’s just rustc and cargo which both being terminal programs.

fbruetting commented 6 years ago

Would you also look into https://github.com/xenlism/wildfire/issues/43 again, as this was targeted against the .jl file icons, and not against the application? :)

xenlism commented 6 years ago

This file ? artboard 1 text-x-c

xenlism commented 6 years ago

please answer me.

fbruetting commented 6 years ago

Today in the evening. I was not at home this weekend.

Am 30.04.2018 11:26 schrieb Nattapong Pullkhow notifications@github.com:

please answer me.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

fbruetting commented 6 years ago

Ok, so C source and header files are text/plain (and the correct icons are shown), whereas Rust files are shown as text/x-c with a standard text file icon.

bildschirmfoto von 2018-04-30 20-29-49

xenlism commented 6 years ago

Or I will try.

xenlism commented 6 years ago

You have to try. And I will do for JL file.

xenlism commented 6 years ago

please try and tell me. now I add .rs ..jl

fbruetting commented 6 years ago

Now it’s the same. Still, the header is detected, although being text/plain. Can you point me to information on how this works? Then I will see if I can get it to work. I guess that the system somehow detects the content via some other way.

bildschirmfoto von 2018-05-01 18-00-18

fbruetting commented 6 years ago

Seems file is not that good – if I use xdg-mime query filetype <FILE> instead, I get:

text/x-csrc (C source)
text/x-chdr (C header)
text/rust (Rust)
text/plain (Julia)

Seems like there is no MIME type implemented for Julia yet, I’ll do some research on this.

xenlism commented 6 years ago

please try again, I have to sleep.

fbruetting commented 6 years ago

Now just the C header file got a new icon. Maybe the routine for this doesn’t detect the MIME type for Rust applications. I see if I can look into that, the next days.

xenlism commented 6 years ago

I try to fix it but wont work.