timonwong / OmniMarkupPreviewer

Sublime Text 2&3 plugin to live preview markup files, supported (not limited to) markup formats are markdown, reStructuredText, WikiCreole and textile.
MIT License
500 stars 75 forks source link

Preview on MATE desktop does not work #56

Closed o3bvv closed 10 years ago

o3bvv commented 10 years ago

Hello!

Browser preview does not work with MATE desktop.

Error message (from OmniMarkupPreviewer/OmniMarkupLib/desktop/__init__.py:302):

OSError: Desktop 'X11' not supported (neither DESKTOP_LAUNCH nor os.startfile could be used)

Actually, using xdg-open for MATE solves the problem.

timonwong commented 10 years ago

Which version do you use? the v2.0.8 release should already address that problem.

o3bvv commented 10 years ago

I'm using v2.0.8 with Sublime 3 on Linux Mint 17 / MATE.

As I can see, sources handle KDE4, KDE, GNOME, XFCE, Mac OS X and so on, but no MATE indeed.

timonwong commented 10 years ago

@oblalex Ok, I found that I forget to push and release a new version for that...

In the new version, 'xdg-open' will be used when available

o3bvv commented 10 years ago

Сool, thank you!