I manually downloaded and installed Sublime Text 2 (instead of adding the repository and installing via
apt-get install) and I'm having some trouble getting gnome to find the high res icons for sublime.
I extracted the application to
Added the following executable script as
#!/bin/sh export SUBLIME_HOME="/usr/lib/sublime-text" $SUBLIME_HOME/sublime_text $*
/usr/lib/sublime-text/Icon directory contains icons for various resolutions in subdirectories (16x16, 32x32, 48x48, 128x128, 256x256), and I used the 256x256 one when I added the menu item to the cinnamon menu.
How does Gnome locate the icon for an application? I renamed the
/etc/lib/sublime-text/Icon directory and then I didn't get an icon at all (default gnome icon) so
Gnome's obviously using an icon from the
/usr/lib/sublime-text folder, but if so why how do I get it to use a highres one?
Also how does Gnome match the application to the image name? Currently the script in
/usr/bin is named
sublime, the directory in
/usr/lib is named
sublime-text, the executable in
/usr/bin/lib/sublime-text is named
sublime_text and the menu item is defined in a file named
I seriously don't understand how the system manages to match all of this...
I'm running Linux Mint 13 (Cinnamon)