Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 303100

Summary: www-client/chromium: provide default-apps file for showing chromium as an option from gnome-default-applications-properties
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: Current packagesAssignee: Bernard Cafarelli <voyageur>
Status: RESOLVED FIXED    
Severity: enhancement CC: phajdan.jr
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: chromium.xml

Description Pacho Ramos gentoo-dev 2010-02-01 14:06:55 UTC
I have prepared a xml file to be installed under:
/usr/share/gnome-control-center/default-apps

After placing it in that location, you will see an option in gnome-default-applications-properties to select Chromium as default browser

For now, it doesn't include any option for open new URLs on new tab or new window, since I don't know how to run chromium to open links in new windows

Thanks for including it :-)

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2010-02-01 14:07:30 UTC
Created attachment 218081 [details]
chromium.xml
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-02-01 19:22:10 UTC
A little thing. I don't have gnome. Which package provides /usr/share/gnome-control-center/default-apps? My plan would be to add a gnome USE flag, if it is enabled then depend on the package and install the file.
Comment 3 Pacho Ramos gentoo-dev 2010-02-01 19:37:31 UTC
It's provided by gnome-base/gnome-control-center , and this "splitted" way for including apps to gnome-default-applications-properties was implemented with gnome-control-center-2.23.5, then, as older one in tree is 2.24, it should also work with it (I have tested it with 2.26)

But I am unsure about if a RDEPEND on gnome-control-center would be strictly needed, since chromium will still work fine and that file wouldn't be used in that case. My original intention was to install that file unconditionally because of bug 198901 , but it's simply what I would probably done, maybe I am wrong :-)

Regards
Comment 4 Bernard Cafarelli gentoo-dev 2010-02-02 10:20:42 UTC
If it's just a matter of installing a text file, indeed we could install it unconditionally (udev and logrotate flags got axed on this).

For new window/new tab, I'm sure there was a page on http://code.google.com/p/chromium that listed the command line flags, but I can't find it at the moment :/
Comment 5 Pacho Ramos gentoo-dev 2010-02-02 11:01:57 UTC
Seems that it has been implemented recently:
http://code.google.com/p/chromium/issues/detail?id=26728

then, we probably will need to wait a bit
Comment 6 Bernard Cafarelli gentoo-dev 2010-02-03 13:11:29 UTC
Ok, in the meantime I've added the current version to 4.0.266-r1, 9999 and new 5.0.307.1, thanks for providing the file! 
Comment 7 Pacho Ramos gentoo-dev 2010-02-03 13:24:03 UTC
OK, feel free to ping me if you need an updated version when opening in new windows is supported :-)

Best regards