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

XDG and shared-mime-info for .robot files #4738

Closed
Akselmo opened this issue Apr 16, 2023 · 1 comment
Closed

XDG and shared-mime-info for .robot files #4738

Akselmo opened this issue Apr 16, 2023 · 1 comment

Comments

@Akselmo
Copy link

Akselmo commented Apr 16, 2023

Hi, we'd like to add custom icons for .robot files in KDE Breeze icon set. However, this requires that the .robot files have their own shared-mime-info, such as text/robotframework or something similar.

However, one can't create an MIMEtype for an extension we don't control, of course.

Here's more information about shared-mime-info: https://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec/

If I understand this correctly, RF would need to install it's own MIMEtype during pip install, with xdg-mime. There are probably alternative ways too.

This would also fix an issue of .robot files being handled as .patch files by default because of the *** Header *** parts of the file.

Any interest in this? 😄

@Akselmo Akselmo closed this as completed Apr 24, 2023
@Akselmo
Copy link
Author

Akselmo commented Apr 24, 2023

Continues here #4746

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

No branches or pull requests

1 participant