You are not logged in.
http://bbs.archlinux.org/viewtopic.php? … 48#p684348
http://archlinux.me/dusty/2009/12/14/a-quick-laugh/
Jokes aside, how do I assign what's what? I know its xdg whatever but what do I use to customise default apps?
I deliberately uninstalled firefox so chromium stopped trying to open everything in it.
Offline
Read the "xdg-open" script. That's what chromium runs to open things, and it's not very complicated, or very smart about it. At least one person just replaced that script with one that does what they want.
Offline
Oh thanks. I knew chromium used that but I didn't know it was just a script.
Cheers
Offline
Actually, semi-recently, the xdg-open script got a bit smarter. If you have the "perl-file-mimeinfo" package installed, xdg-open will use mimeopen (if you are not useing kde, gnome) to open files. With mimeopen, you can use "mimeopen -d" with any file to specify which program to open them with. After that, chromium will use that app to open files with that mimetype.
Offline
tom5760, that was the most helpful post so far! I've been wondering for a long time which package provided mimeopen! If something like this doesn't exist in the Wik ialready, I might throw together a little article ove rthe weekend.
Offline
Thanks tom5760, that's exactly the info I was after. (I'm not a gnome/KDE user)
Offline
Actually, semi-recently, the xdg-open script got a bit smarter. If you have the "perl-file-mimeinfo" package installed, xdg-open will use mimeopen (if you are not useing kde, gnome) to open files. With mimeopen, you can use "mimeopen -d" with any file to specify which program to open them with. After that, chromium will use that app to open files with that mimetype.
@tom5760, you're a lifesaver. This problem was driving me *nuts*, and the other solutions I found were all a bit kludgy.
Offline
@tom5760
duuuuuude....
Offline
Glad to be able to help!
Offline
@tom5760: you've heard that before, but: thank you so much! chrome was driving me crazy
Offline
Just added this:http://wiki.archlinux.org/index.php/Chromium#Default_browser
What do you think?
Offline
Actually, semi-recently, the xdg-open script got a bit smarter. If you have the "perl-file-mimeinfo" package installed, xdg-open will use mimeopen (if you are not useing kde, gnome) to open files. With mimeopen, you can use "mimeopen -d" with any file to specify which program to open them with. After that, chromium will use that app to open files with that mimetype.
THANK YOU! it was driving me mad, that file associations messed up after I removed gnome and started using open box/compiz standalone. chromium would open folders in firefox and other apps won't launch :S. but this tip solved all that ^^
I love you man!
Linux nabcake in training...
ArchLinux64
Offline
Sorry I still don't understand how this works. I'm using Gnome, but I also tried "mimeopen -d". But when I click .pdf or .torrent links Chromium still wants to save.
(I switched to Chromium today
P4 530J, Arch Linux
Offline