Leo Files - "Open With..." and Default Icon
This is so minor. Please pardon me.
It's easy enough for a user to create a .leo file and set it to always "Open With..." /opt/leo/launchLeo.py
After making this association, I wanted to have the nice Leo, lion icon for the filetype. After a little research, I did this, and it works:
Code:
~# cp /opt/leo/leo/Icons/leoapp32.png /root/.kde3/share/icons/nuvoX_0.7/32x32/mimetypes/
Code:
~# nano /root/.kde3/share/mimelnk/application/leo.kde.desktop
Code:
[Desktop Entry]
Type=MimeType
MimeType=application/leo
Icon=leoapp32
X-KDE-AutoEmbed=true
Patterns=*.leo
Name=Leo
I saved leo.kde.desktop. Then, in Konqueror, I navigated to a folder containing a .leo file. The icon was set. The last thing I had to do was reset the leo file's association to always "Open With..." /opt/leo/launchLeo.py. All was good.
--Edit: I'm an idiot. Should have posted in BackTrack Fixes. Apologies.