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 74 forks source link

Sublime3 can not open the default browser to preview by using OmniMarkupPreviewer on Ubuntu 16.04 #98

Open leslieam opened 8 years ago

leslieam commented 8 years ago

Sublime3 can not open the default browser to preview by using OmniMarkupPreviewer on Ubuntu 16.04

ravenfu commented 7 years ago

modify OmniMarkupPreviewer Setting ,like this: { "browser_command": ["google-chrome","{url}"] }

aefgijn commented 6 years ago

@ravenfu This can not be solved

frozentearz commented 6 years ago

I got the some Pb. My system is Kali which based on Ubuntu & Debian. <"browser_command": ["open", "-a", "Google Chrome", "{url}"],> this's my config and I use Chrome.

ashengtx commented 6 years ago

I met the same problem and I can not find the solution in this issues. Fortunately, I find an alternative tool and it does work. I hope it will help you guys. https://github.com/revolunet/sublimetext-markdown-preview

theLastTrain commented 6 years ago

Here I found a solution, use this setting "browser_command": ["open", "-a", "Google Chrome", "--args", "{url}"],

It is because somehow Apple( maybe Google itself? whatever) changed the command of invoking Chrome to open a url. So i guess it's not really a OmniMarkupPreviewer issue. The parameters above will be explained into: open -a /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args {url} You can try it out right away.