Menu

#3 Add xdg-open to the list of browsers

closed-accepted
nobody
None
5
2012-05-14
2007-09-29
No

Here's a patch that makes fontforge try xdg-open before others when opening a browser.

xdg-open is part of xdg-utils, for more info see http://portland.freedesktop.org/wiki/XdgUtils

Discussion

  • Ville Skyttä

    Ville Skyttä - 2007-09-29

    Try xdg-open first

     
  • George Williams

    George Williams - 2007-09-30

    Logged In: YES
    user_id=201273
    Originator: NO

    Applied, with modifications.

     
  • George Williams

    George Williams - 2007-09-30
    • status: open --> closed
     
  • Ville Skyttä

    Ville Skyttä - 2007-09-30

    Logged In: YES
    user_id=32457
    Originator: YES

    The problem with trying firefox before xdg-open and htmlview is that if firefox is installed, it will be used and the user's browser choice (which he has set in GNOME, KDE, or using the $BROWSER environment variable, or perhaps by other means) is ignored. xdg-open and htmlview on the other hand will try to invoke the user's chosen browser. Because of that, I still suggest the order xdg-utils, htmlview, and only after them specific browsers - reopening for that.

     
  • Ville Skyttä

    Ville Skyttä - 2007-09-30
    • status: closed --> open
     
  • George Williams

    George Williams - 2007-09-30

    Logged In: YES
    user_id=201273
    Originator: NO

    Yes, and fontforge will also look at the BROWSER environment variable, so if that is set the list order is irrelevant.

     
  • Ville Skyttä

    Ville Skyttä - 2007-10-02

    Logged In: YES
    user_id=32457
    Originator: YES

    But setting $BROWSER is much more rare than setting up one's preferences via a modern desktop environment's "preferred applications" or somesuch option.

     
  • Michał Nowakowski

    • status: open --> closed-accepted
     
  • Michał Nowakowski

    Thanks.

    I don't know when it happened, but the code is already in git.
    Closing "pro forma".

     

Log in to post a comment.