Contribute
Forking the Repository
In a web browser, open the Arcticons-Linux Codeberg repository.
You'll need to have a Codeberg account to click the Fork button in the top-right corner. You'll get your very own clone of Arcticons-Linux!
For simplicity, you probably want to use a Git GUI such as Desktop Plus (a fork of GitHub Desktop), Gittyup, or Gitnuro (all suggestions are open source and cross-platform), though many others should also work.
Sync a local version of your fork.
Now you have your local Arcticons-Linux project. This means you can add icons and edit mappings.yaml.
Preparing the codebase
For generating the icons, you may need to do a git submodule init followed by git submodule update to pull the Arcticons repo, which will be pulled into the .arcticons folder.
We are using uv for the dependency management of the Python scripts. Run uv sync --dev in the Arcticons-Linux repo folder to prepare the environment.
Contributing your own icons
To contribute icons, which don't fit into the Android icon pack, you can place them into the icons_linux folder.
For matching the Arcticons style, you can follow the Android creation guide here:
Creating iconsYou need to export the icon with black lines (stroke color #000) inside the icons_linux folder.
Mapping the icons
Under Linux, there is no single nomenclature for the app names, and so the icons are often needed in multiple places to account for different packaging systems etc.
For that, we have a mapping file called mapping.yaml, in which the icon names are mapped to different destinations.
Here is an example of a mapping:
The browser icon is mapped to three destinations. To add a new icon, just add the icon name as a new section and then the destination(s) as a list.
You can run uv run scripts/validate_mapping.py to validate the mapping file for correct syntax.
Finding the icons
There are multiple locations for icons on Linux, but there is an icon search script which helps to find mappings.
Run uv run scripts/icon_search.py <keyword> to find icons containing the keyword as well as desktop files. This searches the most common places. You can use the parameters -v to see from which files the mappings were found, --no-icons to only search desktop files and --no-desktop to only search icon folders.
One way to find them (on KDE), is by opening the properties for the app.
The name should match with the name inside the mappings.yaml file.
The prefix to the name corresponds to the location of the app.
Generating icons
Run uv run scripts/generate_icons.py -c generate-icons.toml to generate the icons.
Necessary information for a PR
New icons
You can create a PR as soon as you place the new icons inside the
icons_linuxdirectory. If you don't want to edit the mapping file, you can just give the mapping in the PR description.You can edit the mapping file to include the mappings just at the bottom of the file. While generating the icons, the mapping file will be sorted automatically.
If you like, you can also generate the icons on your machine to include them in the PR. Be aware that for this to work, you need to have the main Arcticons repo pulled as a submodule; additionally, you need to have Inkscape installed.
New mappings
If adding the mapping for an icon which doesn't exist yet in the mapping file, adding it to the bottom of the file is perfectly fine, it will be sorted automatically when generating the icons.
If adding a mapping to an icon which is already in the file, you can add the mapping to the list. It will be sorted automatically when generating the icons.
Uploading to Codeberg
Now you'll see a summary of the changes that you've made.
Give your commit a small summary to describe the work you did.
Press the Current branch button, then create a new branch. Give it a name and press Create.
Publish your branch and commit the changes.
Create a pull request and you're done!
There you go, now all you have to do is wait for it to be merged into the Linux theme.
Last updated
Was this helpful?