Results 1 to 1 of 1

Thread: Leo Files - "Open With..." and Default Icon

Threaded View

  1. #1
    Member ColForbin's Avatar
    Join Date
    Jan 2010
    Posts
    93

    Default 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.
    Last edited by ColForbin; 01-23-2010 at 09:51 PM.
    "Whatever happened to playing a hunch, Scully? The element of surprise, random acts of unpredictability? If we fail to anticipate the unforeseen or expect the unexpected in a universe of infinite possibilities, we may find ourselves at the mercy of anyone or anything that cannot be programmed, categorized or easily referenced."

Similar Threads

  1. White screen after running "startx"
    By emximer in forum Beginners Forum
    Replies: 1
    Last Post: 04-30-2010, 08:41 PM
  2. "BackTrack 4 Final Released" not starting
    By habib in forum BackTrack Bugs
    Replies: 6
    Last Post: 02-07-2010, 11:26 PM
  3. problems whit "/etc/console-tools/config"
    By DreaDy.HK in forum Beginners Forum
    Replies: 1
    Last Post: 01-22-2010, 02:36 AM
  4. Replies: 0
    Last Post: 01-16-2010, 06:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •