Skip to content

Use xdg-open for Linux #34

@darvelo

Description

@darvelo

For some crazy reason, when running this plugin with the default hotkey I get this message in GNOME:

Iceweasel is already running, but is not responding.

I get this error sometimes with other things, and according to a poster on the Debian forums:

This bug is, IMO, the single worst/most pernicious bug in the entire Linux world. But it's clearly not going to be fixed. Which sucks.

For this reason I choose to use xdg-open from terminal to open urls. It chooses the system- or user-configured default browser, just like open on Mac.

If I manually do:

 let g:PreviewBrowsers = "xdg-open"

Then it works like a charm. But maybe this could do better with official support? I dunno. In any case, it may help people who have the same mysterious error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions