Results 1 to 9 of 9

Thread: Chromium "show in folder" and downloads in Lubuntu

  1. #1
    Join Date
    Jul 2007
    Location
    Alsip, IL
    Beans
    2,027
    Distro
    Ubuntu 10.04 Lucid Lynx

    Chromium "show in folder" and downloads in Lubuntu

    Howdy All,

    So I recently installed Lubuntu on my netbook and I have it all working except for one hitch - when I download something in Chromium (such as a .deb or a .odt file) when I click on the finished download in the bar at the bottom of Chromium it does not open the file in gdebi/abiword as it should. Also when I right click on a file and select "show in folder" it does not work...

    Any suggestions? Not sure if this is an issue with Chromium or LXDE/PCMan but I figured it couldn't hurt to post here asking about it.

    Regards,
    ~Jeff

  2. #2
    Join Date
    Jul 2006
    Location
    Here
    Beans
    10,544

    Re: Chromium "show in folder" and downloads in Lubuntu

    i think it's xdg-open.

    try this:
    sudo ln -s /usr/bin/gnome-open /usr/local/bin/xdg-open

  3. #3
    Join Date
    Jul 2007
    Location
    Alsip, IL
    Beans
    2,027
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Chromium "show in folder" and downloads in Lubuntu

    Quote Originally Posted by kerry_s View Post
    sudo ln -s /usr/bin/gnome-open /usr/local/bin/xdg-open
    Both those files exist already :-/ Any other ideas?

    ~Jeff

  4. #4
    Join Date
    Jul 2006
    Location
    Here
    Beans
    10,544

    Re: Chromium "show in folder" and downloads in Lubuntu

    Quote Originally Posted by beastrace91 View Post
    Both those files exist already :-/ Any other ideas?

    ~Jeff
    you don't understand, that command links xdg-open to gnome-open, cause gnome-open handles things better. you can always delete the "/usr/local/bin/xdg-open" link to reverse it back to normal.

    the problem with lxde, is it uses both gnome & xfce4 parts, so there are 3 different systems to open things "xdg-open, gnome-open, exo-open" out of the 3 the gnome-open gets it right most of the time & if it don't it can be changed in gconf-editor.

    xdg-open = open standard
    gnome-open = gnome
    exo-open = xfce4

    chromium uses xdg-open to determine what to use to open things.

  5. #5
    Join Date
    Sep 2005
    Beans
    7

    Re: Chromium "show in folder" and downloads in Lubuntu

    chrome uses xdg-open

    it is dumb script, edit it to your needs. i use e16 and rox to show in folder.

    Code:
    [root@rzcoolerm64 ~]# which xdg-open
    /usr/bin/xdg-open
    [root@rzcoolerm64 ~]# nano /usr/bin/xdg-open
    scroll to the very end of the file and hardcode what you need. i replaced the open_generic with rox.

    Code:
        generic)
        rox "$url"
        ;;
    
    #    generic)
    #    open_generic "$url"
    #    ;;

  6. #6
    Join Date
    Jul 2007
    Location
    Alsip, IL
    Beans
    2,027
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Chromium "show in folder" and downloads in Lubuntu

    Very cool! Thanks for the tip

    ~Jeff

  7. #7
    Join Date
    Sep 2010
    Location
    Turkey
    Beans
    3
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Chromium "show in folder" and downloads in Lubuntu

    i recently installed lubuntu on my laptop and had the same problem.
    But i just modified the file a bit differently due to lubuntu's default file manager is pcmanfm.

    generic)
    pcmanfm "$url"
    ;;

    worked for me. Thanks a lot for the solution

  8. #8
    Join Date
    Oct 2007
    Beans
    160

    Re: Chromium "show in folder" and downloads in Lubuntu

    Quote Originally Posted by realbezo View Post
    i recently installed lubuntu on my laptop and had the same problem.
    But i just modified the file a bit differently due to lubuntu's default file manager is pcmanfm.

    generic)
    pcmanfm "$url"
    ;;

    worked for me. Thanks a lot for the solution
    Thanks! I also have Lubuntu and this worked perfectly.

    I used leafpad to edit xdg-open:

    Code:
    sudo leafpad /usr/bin/xdg-open
    My changes looked like this when done and it works great with Chromium.
    Code:
        generic)
        pcmanfm "$url"
        ;;
    
    #    generic)
    #    open_generic "$url"
    #    ;;
    Last edited by ohiomoto; December 29th, 2010 at 12:44 AM.

  9. #9
    Join Date
    Jun 2010
    Location
    Legoland, Germany
    Beans
    145
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Chromium "show in folder" and downloads in Lubuntu

    Quote Originally Posted by kerry_s View Post
    i think it's xdg-open.

    try this:
    sudo ln -s /usr/bin/gnome-open /usr/local/bin/xdg-open
    Worked for me on Lubuntu 11.04.
    Thanks!
    How do you sudo?

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
  •