Comments (11)
This is the third extension that Linux does not support yet.
ELM, Nim and PureScript are not present in the file associations list at Manjaro KDE.
If not, maybe you have to add and create x-elm, x-nim and x-purs, like:
But I am waiting for the answer of @SmartFinn.
from suru-plus-ubuntu.
I have tested, creating new extension and it worked. But you use GNOME and I do not know how to create the new extension. Let's wait for the answer of @SmartFinn, he is an experienced programmer. As these extensions are not supported yet, the programmers who use this icons theme have to create by themselves.
from suru-plus-ubuntu.
KDE develoeprs: @rwha and @cfeck, @Montel, @davidedmundson,
@Pointedstick
GNOME developers: @averi, @behdad, @cgwalters and @SEJeff
Good evening, please consider adding support for ELM, Nim and PureScript programming languages as new files associations if possible. They are becoming popular, principally ELM.
from suru-plus-ubuntu.
Now, in the commit 3a7ee64, PureScript mimetype is added.
Wait for the answer of @SmartFinn, he will test it and tell you how you create in GNOME.
from suru-plus-ubuntu.
@gusbemacbe okay, thank you so much!
from suru-plus-ubuntu.
@SmartFinn, sorry, I found something, but I am not sure it will work on Gnome, maybe @ntilotta , you can try and test.
I found where the ELM ffile asocitaion I created is stored. It is in ~/.local/share/mime/
Run via terminal:
touch ~/.local/share/mime/text/x-elm.xml
touch ~/.local/share/mime/icons
nano ~/.local/share/mime/text/x-elm.xml
Copy
<?xml version="1.0" encoding="utf-8"?>
<mime-type xmlns="http://www.freedesktop.org/standards/shared-mime-info" type="text/x-elm">
<!--Created automatically by update-mime-database. DO NOT EDIT!-->
<comment>ELM Programming Language</comment>
<icon name="x-elm"/>
<glob-deleteall/>
<glob pattern="*.elm"/>
</mime-type>
And modify the file icons
via the command nano ~/.local/share/mime/icons
x-elm
Log out and log in
from suru-plus-ubuntu.
@gusbemacbe I've using this method as described in here https://developer.gnome.org/integration-guide/stable/mime.html.en as follow:
In directory /usr/share/mime/packages I've created those files:
elm-lang.xml
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
<mime-type type="text/x-elm">
<comment>Elm Programming Language</comment>
<glob pattern="*.elm"/>
<icon name="x-elm"/>
</mime-type>
</mime-info>
nim-lang.xml
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
<mime-type type="text/x-nim">
<comment>Nim Programming Language</comment>
<glob pattern="*.nim"/>
<icon name="x-nim"/>
</mime-type>
<mime-type type="text/x-nim">
<comment>NimScript File</comment>
<glob pattern="*.nims"/>
<icon name="x-nim"/>
</mime-type>
<mime-type type="text/x-nim">
<comment>Nimble File</comment>
<glob pattern="*.nimble"/>
<icon name="x-nim"/>
</mime-type>
</mime-info>
purescript.xml
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
<mime-type type="text/x-purs">
<comment>PureScript Programming Language</comment>
<glob pattern="*.purs"/>
<icon name="x-purs"/>
</mime-type>
</mime-info>
then on the console just enter sudo update-mime-database /usr/share/mime/ and you've done, it works like a charm ;)
from suru-plus-ubuntu.
Great! I close now.
from suru-plus-ubuntu.
Ideally this would be added to shared-mime-info
so individual desktop environments wouldn't have to redundantly add support themselves.
https://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec/
from suru-plus-ubuntu.
I read, but I do not understand. Are you suggesting us to submit an enhancement request to the MIME bugtracker with our new missed XML files that we have created?
from suru-plus-ubuntu.
Yes.
from suru-plus-ubuntu.
Related Issues (20)
- [Missing Mimetype] Nim Programming Language HOT 2
- Icone perdute HOT 3
- Icone sullo stilo di Suru++ HOT 7
- Per favore, cambia l'icona di warzone2100 HOT 2
- Corriggere le icone HOT 2
- [Missing] Electrum Litecoin Wallet Icon HOT 2
- Hai bisogno di correggere le icone! HOT 152
- Icone aggiunte o modificate HOT 113
- Cosa resta da fare HOT 31
- Needed small help HOT 16
- Stupendo HOT 24
- Cambio Colore HOT 3
- L'icona `gnome-window-manager` HOT 1
- [Icon Request] Visual Studio Code HOT 9
- Icon Request: KeepassXC HOT 1
- I want Ubuntu 20.04 style black and purple folder icons.
- Remmina panel icons renamed
- Icon Request: Virt Machine Manager HOT 2
- emotes/symbolic wrongly named emmoltes/symbolic in the index.theme directories listing
- Is a new release coming?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from suru-plus-ubuntu.