-
Clone Yaru repo, if you just would like to test experiments:
git clone https://github.com/ubuntu/yaru.git
-
Fork Yaru repo, if you want to make a pull request:
- Click on the Fork button at the top right corner of Yaru repo.
- Clone your fork running the command:
git clone https://github.com/YOUR_USERNAME/yaru.git
- Open wit Inkscape an .svg template from
~/yaru/icons/src/fullcolor/mimetypes
and name it text-x-nim.svg. - Select Layers → Layers and click the eye next to the layer called Baseplate to make it visible.
- Change the mimetypes so that will show text-x-nim.
- Click again the eye next to the layer called Baseplate to make it NOT visible.
- After you have finished to edit the template, save it and close Inkscape.
- Move to
~/yaru/icons/src/fullcolor/
directory and run the render-bitmaps.py script:cd ~/yaru/icons/src/fullcolor/ ./render-bitmaps.py text-x-nim
- Initialize build system:
cd ~/yaru meson build
- Build and install:
cd ~/yaru/build sudo ninja install
All Nim .png icons will now appear into the following forlders:
- system folder:
/usr/share/icons/Yaru
; - local repo folder:
~/yaru/icons/Suru
.
- Run the following commands:
cd ~/yaru git add . git commit -a -m "write_a_message"
- On GitHub select you Yaru-fork page
- Click on Pull requestes link (top left corner).
- Click on the Create pull request green button.