Skip to content
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

[Icon request] MIME-Type: TOML #2676

Closed
UnlimitedCookies opened this issue May 7, 2021 · 7 comments
Closed

[Icon request] MIME-Type: TOML #2676

UnlimitedCookies opened this issue May 7, 2021 · 7 comments

Comments

@UnlimitedCookies
Copy link

UnlimitedCookies commented May 7, 2021

Nautilus and other file managers still display the default text file icon.
(.toml file extension)

  • (yet unofficial) Mime-Type: application/toml
  • Icon Name: ? probably TOML
  • Description: TOML is a structured language, similar to YAML, JSON etc.
  • Webpage (optional): https://toml.io
  • Original Icon:
    Icon used on Github:
    image
    Some icon I found on the internet:
    image
@varlesh
Copy link
Contributor

varlesh commented May 9, 2021

output?
gio info -a standard::icon YOUR-TOML-FILE

@varlesh
Copy link
Contributor

varlesh commented May 9, 2021

i'm not found toml on shared-mime-info

@UnlimitedCookies
Copy link
Author

UnlimitedCookies commented May 10, 2021

See https://toml.io/en/v1.0.0#mime-type (I think this isn't official yet)

output of gio info:

unix mount: /dev/sda3 /home ext4 rw,relatime
attributes:
  standard::icon: text-plain, text-x-generic, text-plain-symbolic, text-x-generic-symbolic

@UnlimitedCookies
Copy link
Author

UnlimitedCookies commented May 10, 2021

i'm not found toml on shared-mime-info

They don't include it yet, so I have opened an issue with them: https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/156

@UnlimitedCookies
Copy link
Author

Now there's an open merge request that proposes to add the TOML mime-type.

Is this enough for you to create a custom icon? The definition includes <generic-icon name="text-x-generic"/> .

@varlesh
Copy link
Contributor

varlesh commented May 13, 2021

when will be merged - icon will be added

@UnlimitedCookies
Copy link
Author

The MR has been merged.

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

No branches or pull requests

2 participants