# Adding a right click, and setting default extensions

**URL:** <https://forums.suse.com/t/adding-a-right-click-and-setting-default-extensions/27154>\
**Category:** SLED Applications\
**Created:** [June 15, 2015, 7:16pm UTC](https://forums.suse.com/t/adding-a-right-click-and-setting-default-extensions/27154 "2015-06-15T19:16:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![prussell](https://avatars.discourse-cdn.com/v4/letter/p/ac8455/32.png) [@prussell](https://forums.suse.com/u/prussell)\
**Post date:** [June 15, 2015, 7:16pm UTC](https://forums.suse.com/t/adding-a-right-click-and-setting-default-extensions/27154/1 "2015-06-15T19:16:46Z")

</div>

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.

* * *

1. 

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

* * *

Thanks!

Best,  
Paul

---

<div class="post-metadata">

**Author:** ![mikewillis](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@mikewillis](https://forums.suse.com/u/mikewillis)\
**Post date:** [June 15, 2015, 8:57pm UTC](https://forums.suse.com/t/adding-a-right-click-and-setting-default-extensions/27154/2 "2015-06-15T20:57:52Z")

</div>

> [@prussell;28388](#):
>
> 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.
> 
> * * *
> 
> 1. 
> 
> 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/Default\_applications#Custom\_file\_associations](https://wiki.archlinux.org/index.php/Default_applications#Custom_file_associations) it’s the Arch Wiki but your question is not SLED 12 specific.
