Just a Linux geek with a love for creative, witty, or just plain fun games... when I'm not too busy programming or reading.

Report RSS Update to my Icon-Setting Script

Posted by on

As of a few minutes ago, I've bumped my script for setting Desura game icons on Linux to version 0.2. Here's what's new:

  • All icon formats should now be supported. (Rather than being limited to formats Desura itself supports, it will now use PyGTK to generate a PNG-format icon in Desura's icon cache.)
  • Can now be installed anywhere. (In addition to checking its installation folder, it will also check the current working directory and try to look up Desura in the system launcher menu via its .desktop file.)
  • Icon name is now optional. (You can either reference the game in the launcher menu by name or, if the game's name in Desura is case-insensitive identical to the game's name in the Games category of the system launcher menu, the script can look up the icon name for you.)
  • The script will now warn you if nothing in the Desura games list matched.

This means that, for most people, setting the icon on a game is as simple as this:

# Set up the script (only needs to be done once)
sudo apt-get install python-gtk2 python-xdg
wget -O- https://gist.github.com/gists/1692707/download | tar xvz --strip=1
chmod +x set_icon.py

# Set the icon for "EDGE" from the Humble Bundle for Android
./set_icon.py EDGE
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: