You are not logged in.
Pages: 1
I use Chromium as my default web browser and Thunar as my default file manager. When I download a file using Chromium and click on "Show in Folder", nothing happens. How can I get Chromium to use Thunar to open up the Download folder? Thanks.
I'm using
Chromium version 4.0.306.0
Thunar version 1.0.1
Last edited by nabilalk (2010-01-26 08:37:38)
#! 10 “Statler” r20110207 32-bit & Openbox
Offline
I am running Google Chrome 4.0.295.0 unstable on my Debian box and when I click "Open Folder", it works and opens Thunar. I should think it is possible to have the same happen with Chromium on your system, but I am just not sure where to look to make it happen. Maybe Chromium is relying on a system variable to define the file manager?
Offline
I am running Google Chrome 4.0.295.0 unstable on my Debian box and when I click "Open Folder", it works and opens Thunar. I should think it is possible to have the same happen with Chromium on your system, but I am just not sure where to look to make it happen. Maybe Chromium is relying on a system variable to define the file manager?
Strange. I followed this Wiki to set Thunar as the default file manager, but Chromium still doesn't recognize it.
#! 10 “Statler” r20110207 32-bit & Openbox
Offline
Hi, i've got the same problem. When i click on "open folder" it doesn't do anything :s
drs
Offline
Could it be a difference between Chrome and Chromium? I have Chromium and it doesn't open the folder.
Edit: http://code.google.com/p/chromium/issue … l?id=19987
Edit 2: http://bbs.archlinux.org/viewtopic.php?id=81611
Last edited by anonymous (2010-01-27 20:24:33)
Note: ** Please read before posting **
BTW if you wish to contact me, send me an e-mail instead of a PM.
Offline
Try installing libfile-mimeinfo-perl then see if Chrome/Chromium will open folders/files properly.
Note: ** Please read before posting **
BTW if you wish to contact me, send me an e-mail instead of a PM.
Offline
The following package worked for me in Arch linux with openbox: perl-file-mimeinfo
after that chromium recognized thunar 
EDIT: it seemed that it also helped on dropbox
, now I can open the dropbox folder directly by clicking on the dropbox icon in the sys tray.
Last edited by Sunai (2010-08-18 16:22:53)
Offline
Chromium uses the xdg-mime specification for opening downloaded files and folders.
A couple of steps are required to make your setup compatible:
1. Add this line to your Openbox autostart.sh file:
export DE=gnomeThis makes Openbox pretend that it's Gnome to system calls and therefore makes your desktop xdg compliant.
2. The xdg-mime specifications are found in a file called defaults.lst in any of these places /usr/share/applications, usr/local/share/applications, ~/.local/share/applications. The latter ones taking precedence.
If you have ever opened a file by right-clicking on it in Thunar and specifying which application you want to use by default, the defaults.list file is where this information is stored. Unfortunately there won't be an entry for all mime types and in your case for the folder mime-type. So, open the file:
~/.local/share/applications/defaults.list
and add this line:
application/x-directory=Thunar-folder-handler.desktoptake care with the capital T for Thunar.
Logout and back in and Chromium should now open folders in Thunar following a download.
If you want to make sure that other downloaded files can be opened straight from download, then you need to figure out the correct mime-type definition and the corresponding .desktop (launcher) file and add it to your defaults.list file. Use the command:
xdg-mime query filetype [path/filename.extension]
eg
xdg-mime query filetype $HOME/Pictures/wallpaper.jpg
image/jpegFind out what your favourite application launcher is by doing:
dir /usr/share/applicationsSo I might add to the defaults.list:
image/jpeg=viewnior.desktopDon't worry, you don't need to make an entry for every default as many will already be set in the system-wide files, only when Chromium fails to open a file in your preferred application.
Offline
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.