Results 1 to 2 of 2

Thread: Adding a right click, and setting default extensions

  1. Adding a right click, and setting default extensions

    Hi Forums!

    I'm using SUSE Linux Enterprise Desktop 12.

    -----
    1.

    I've installed Sublime Text3, and have made a desktop shortcut using alacarte. I'm using Markdown, and want to make Sublime text the default app for files of extension "*.md"

    Is there a config file where I can set this?
    (I did try finding Sublime under Open_with -> other application etc. But Sublime is not listed there.

    ----

    2.

    How can I add a right-click open with.. sublime option to the context mouse menu?

    ---

    Thanks!

    Best,
    Paul

  2. #2

    Re: Adding a right click, and setting default extensions

    Quote Originally Posted by prussell View Post
    I'm using SUSE Linux Enterprise Desktop 12.

    -----
    1.

    I've installed Sublime Text3, and have made a desktop shortcut using alacarte. I'm using Markdown, and want to make Sublime text the default app for files of extension "*.md"

    Is there a config file where I can set this?
    (I did try finding Sublime under Open_with -> other application etc. But Sublime is not listed there.

    ----

    2.

    How can I add a right-click open with.. sublime option to the context mouse menu?

    ---
    The answer to both questions is the same, you need to make it so Gnome recognises Sublime Text3 has an application that is able to handle files with extension .md. Though these things are handled via MIME types not file extensions so you'll probably need to define a custom MIME type as there doesn't seem to be an official one for Markdown.
    Take a look at https://wiki.archlinux.org/index.php...e_associations it's the Arch Wiki but your question is not SLED 12 specific.
    If you find this post helpful and are logged into the web interface, please show your appreciation and click on the star below... thanks!

Bookmarks

Posting Permissions

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