You are not logged in.

#1 2010-01-18 11:04:26

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Chromium default apps

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.


neutral

Offline

#2 2010-01-18 20:58:51

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: Chromium default apps

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

#3 2010-01-18 21:37:42

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: Chromium default apps

Oh thanks. I knew chromium used that but I didn't know it was just a script.
Cheers wink


neutral

Offline

#4 2010-01-18 22:22:56

tom5760
Member
From: Philadelphia, PA, USA
Registered: 2006-02-05
Posts: 283
Website

Re: Chromium default apps

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

#5 2010-01-19 00:22:04

robrene
Member
Registered: 2009-04-16
Posts: 168

Re: Chromium default apps

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.


smile neutral sad big_smile yikes wink hmm tongue lol mad roll cool

Offline

#6 2010-01-19 00:36:43

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: Chromium default apps

Thanks tom5760, that's exactly the info I was after. (I'm not a gnome/KDE user)


neutral

Offline

#7 2010-02-11 02:17:21

akshayshah
Member
Registered: 2009-05-23
Posts: 3

Re: Chromium default apps

tom5760 wrote:

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

#8 2010-02-19 23:44:37

profylno
Member
Registered: 2008-09-23
Posts: 10

Re: Chromium default apps

@tom5760
duuuuuude....

Offline

#9 2010-02-24 16:40:19

tom5760
Member
From: Philadelphia, PA, USA
Registered: 2006-02-05
Posts: 283
Website

Re: Chromium default apps

big_smile  Glad to be able to help!

Offline

#10 2010-02-26 00:56:28

akuschki
Member
Registered: 2009-10-17
Posts: 40

Re: Chromium default apps

@tom5760: you've heard that before, but: thank you so much! chrome was driving me crazy

Offline

#11 2010-04-09 14:17:19

MindTooth
Member
From: Norway
Registered: 2008-11-11
Posts: 331

Re: Chromium default apps

Just added this:http://wiki.archlinux.org/index.php/Chromium#Default_browser

What do you think?

Offline

#12 2010-04-09 15:40:29

mikesd
Member
From: Australia
Registered: 2008-02-01
Posts: 788
Website

Re: Chromium default apps

@tom5760

That is one of those things that bothered me but not so much that I looked into how to fix it. smile

Thanks.

Offline

#13 2010-06-12 20:31:58

Cookie
Member
Registered: 2008-03-08
Posts: 119

Re: Chromium default apps

tom5760 wrote:

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! big_smile


Linux nabcake in training...
ArchLinux64

Offline

#14 2010-08-06 23:21:16

strummer
Member
Registered: 2007-01-11
Posts: 87

Re: Chromium default apps

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 wink


P4 530J, Arch Linux

Offline

Board footer

Powered by FluxBB