User Tools

Site Tools


config

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
config [2025/08/05 20:39] karcioconfig [2026/04/27 11:30] (current) karcio
Line 1: Line 1:
-How to add fonts to system+===== How to add fonts to system =====
  
 <code> <code>
Line 10: Line 10:
  
 # Copy to font location # Copy to font location
-sudo cp*.{ttf,otf} /usr/local/share/fonts/+sudo cp *.{ttf,otf} /usr/local/share/fonts/
  
 # Update the font cache # Update the font cache
 fc-cache -f -v fc-cache -f -v
 +</code>
 +
 +<code>
 +sudo apt-get -y install fonts-noto-color-emoji
 +</code>
 +
 +
 +<code>
 +sudo apt-get -y install fonts-font-awesome
 +</code>
 +
 +===== Add application to menu =====
 +
 +=== copy application to bin ===
 +
 +<code>
 +sudo cp Downloads/logseq /usr/local/bin 
 +</code>
 +
 +=== download app icon ===
 +<code>
 +wget https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/webp/logseq.webp
 +mv logseq.webp logseq.png
 +
 +cp logseq.png ~/.local/share/icons/logseq.png
 +</code>
 +
 +=== create .desktop file ===
 +
 +<code>
 +sudo vim ~/.local/share/applications/logseq.desktop
 +</code>
 +
 +__content of desktop file__
 +
 +<code>
 +[Desktop Entry]
 +Name=Logseq
 +Exec=/usr/local/bin/logseq
 +Icon=/home/karcio/.local/share/icons/logseq.png
 +Type=Application
 +Categories=Office;Utility;
 +Terminal=false
 +</code>
 +
 +===== Add flatpak application to menu =====
 +
 +Create:
 +<code>
 +vim ~/.local/share/applications/prusaslicer.desktop
 +</code>
 +
 +Paste:
 +<code>
 +[Desktop Entry]
 +Name=PrusaSlicer
 +Exec=flatpak run com.prusa3d.PrusaSlicer
 +Icon=com.prusa3d.PrusaSlicer
 +Type=Application
 +Categories=Graphics;
 +</code>
 +
 +Then make it executable:
 +<code>
 +chmod +x ~/.local/share/applications/prusaslicer.desktop
 </code> </code>
config.1754426376.txt.gz · Last modified: by karcio