Results 1 to 3 of 3

Thread: xdg-open can't open web links

  1. #1
    Join Date
    Feb 2016
    Beans
    21

    xdg-open can't open web links

    Hi folks,


    I've been having this problem for the past year probably but it's now come to a head as it's preventing me from installing google-drive-ocamlfuse.


    Whenever a CLI attempts to open a browser tab I get an error message and it appears as if my home directory is being automatically prefixed to the URL — so the command fails.


    E.g. when I run google-drive-ocamlfuse in a terminal the program should open by default web browser (Chrome) and bring me to the login screen.


    Instead I get:

    Code:
    /home/myuser/https:/accounts.google.com/o/oauth2/auth?client_id=111111111111111.apps.googleusercont ent.com&redirect_uri=https%3A%2F%2Fgd-ocaml-auth.appspot.com%2Foauth2callback&scope=https%3A%2 F%2Fwww.googleapis.com%2Fauth%2Fdrive&response_typ e=code&access_type=offline&approval_prompt=force&s tate=454545454545454545454: No such file or directory
    https://i.imgur.com/wlT9fkR.png

    Does anybody know what might be causing this and what I need to change for CLIs to be able to open links again?

    This is an LXDE specific bug - when I log out and use GNOME xde-open www.url.com works as expected and opens the link in my default browser (Chrome)

  2. #2
    Join Date
    Aug 2017
    Location
    melbourne, au
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: xdg-open can't open web links

    Quote Originally Posted by Daniel_Rosehill View Post
    Hi folks,

    I've been having this problem for the past year probably ...

    This is an LXDE specific bug ...
    You haven't specified a release (but I take it's 19.10 or 20.04 from ask.ubuntu), but please confirm.

    The past year grabs me though; in April 2019 a $BROWSER issue was tasked to be addressed in Lubuntu and subsequently fixed (ie. LXQt), something specifically impacting chrome & chromium (maybe T53). The Lubuntu team no longer supports LXDE except in 18.04 so your release may matter (though my memory is vague as I'd have heard details only 3rd hand).

  3. #3
    Join Date
    Jun 2007
    Beans
    17,337

    Re: xdg-open can't open web links


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •