Skip to content

Instantly share code, notes, and snippets.

@icedraco
Created November 16, 2024 15:57
Show Gist options
  • Save icedraco/1a6fab6fd6a0c1aa13bd96045babb672 to your computer and use it in GitHub Desktop.
Save icedraco/1a6fab6fd6a0c1aa13bd96045babb672 to your computer and use it in GitHub Desktop.
Furcadia GNOME Shortcut

Prerequisites

  • Furcadia installation path: /home/icedragon/Furcadia
  • Expected command: cd ~/Furcadia && ./Furcadia.exe

Desktop Entry

  • Create a file: ~/.local/share/applications/furcadia.desktop
[Desktop Entry]
Type=Application
Name=Furcadia
Exec=Furcadia.exe
Path=/home/icedragon/Furcadia
Icon=/home/icedragon/Furcadia/icons/Furcadia.png
Terminal=false
  • Make the file executable: chmod +x ~/.local/share/applications/furcadia.desktop

Extracting Desktop Icon

Prerequisites

Install the tools to extract .ico files from Furcadia.exe and convert them to .png

sudo dnf install icotools imagemagick
sudo apt install icoutils imagemagick

Extraction

cd ~/Furcadia

# Extract all available .ico files from Furcadia.exe into icons/
mkdir icons
wrestool -x -t 14 Furcadia.exe -o icons/

# Convert primary icon into .png format (.ico IS NOT supported)
convert Furcadia.exe_14_108_2048.ico Furcadia.png
  • This will produce multiple .png files with different resolutions/qualities!
  • Pick the best looking one, rename it to Furcadia.png and leave it that way

Update Icon Cache

Given the Desktop Entry file above, if the icon hasn't updated, you can run the following:

gtk-update-icon-cache ~/.local/share/icons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment