Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388853 - <xfce-base/exo-0.6.2-r1 is missing helpers .desktop file for www-client/{google-chrome,chromium}
Summary: <xfce-base/exo-0.6.2-r1 is missing helpers .desktop file for www-client/{goog...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-29 13:28 UTC by Michael Mol
Modified: 2012-03-01 15:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
google-chrome.desktop (google-chrome.desktop,221 bytes, text/plain)
2011-11-27 20:20 UTC, Christoph Mende (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Mol 2011-10-29 13:28:49 UTC
Chromium does not appear among the list of web browsers under 'preferred applications' in XFCE4. (I don't know the specific component responsible for managing preferred applications, or I'd try that for a start)

Chromium also does not appear in the "Internet" menu in e16.

Reproducible: Always




Portage 2.1.10.11 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.12.2-r0, 3.0.6-gentoo x86_64)
=================================================================
System uname: Linux-3.0.6-gentoo-x86_64-AMD_Phenom-tm-_9650_Quad-Core_Processor-with-gentoo-2.0.3
Timestamp of tree: Fri, 28 Oct 2011 23:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo spring
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA google-talkplugin"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -mcx16 -msahf -mpopcnt --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=amdfam10 -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=amdfam10 -mcx16 -msahf -mpopcnt --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=amdfam10 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://mirrors.cs.wmich.edu/gentoo http://gentoo.mirrors.tds.net/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/Spring"
SYNC="rsync://rsync29.us.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa amd64 audiofile avahi bcmath berkdb bzip2 cleartype cli consolekit cracklib crypt cscope css cups curl curlwrappers cxx dbus dri encode exif fam ffmpeg fftw flac fontconfig fortran gdbm gif gimp glut gmp gnuplot gpm gsl gsm gtk gzip hddtemp iconv imagemagick imap imlib ipv6 jabber javascript jpeg jpeg2k kdrive lame lapack libedit libnotify libsamplerate libwww lm_sensors lzma lzo mad matroska mbox mikmod mime mmap mmx mng modules mono mozilla mp3 mp4 mpeg mplayer mtp mudflap multilib musepack mysql ncurses nls nptl nptlonly nsplugin objc offensive ogg openal opencl openexr opengl openmp pam pcre perl php png portaudio posix ppds pppd rdesktop readline samba sasl seamonkey semantic-desktop session sharedmem shorten simplexml smp sndfile sox speex spell sse sse2 ssl subversion svg symlink sysfs syslog sysvipc szip taglib tcl tcpd theora threads timidity truetype udev unicode usb v4l2 videos vnc vorbis wavpack webkit wmf x264 xattr xcb xcomposite xft xinetd xml xmlrpc xmp xorg xpm xscreensaver xv xvid yahoo zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-10-29 13:55:13 UTC
Does the .desktop file installed with chromium have a line like this?

MimeType=x-scheme-handler/http;x-scheme-handler/https;

If not, it definately should. This is mandatory since glib >= 2.28.
Comment 2 Michael Mol 2011-10-29 15:18:29 UTC
(In reply to comment #1)
> Does the .desktop file installed with chromium have a line like this?
> 
> MimeType=x-scheme-handler/http;x-scheme-handler/https;
> 
> If not, it definately should. This is mandatory since glib >= 2.28.

[Desktop Entry]
Name=Chromium
Type=Application
Comment=Open-source version of Google Chrome web browser
Exec=chromium-browser %U
TryExec=chromium-browser
Icon=chromium-browser
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;
StartupWMClass=chromium-browser

So it looks like it has those two, in addition to text/html, text/xml and application/xhtml+xml
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-11-01 17:21:46 UTC
(In reply to comment #0)
> Chromium does not appear among the list of web browsers under 'preferred
> applications' in XFCE4. (I don't know the specific component responsible for
> managing preferred applications, or I'd try that for a start)

On my system 'preferred applications' XFCE applet lists Chromium (actually it has two entries, not sure why).

1. Could you please post the version number of chromium?
2. Also, what happens if you launch Chromium and set it as default browser from its interface?
3. Please also post output of "xdg-settings get default-web-browser"

> Chromium also does not appear in the "Internet" menu in e16.

This seems to be a different issue, please open a separate bug and post more details how you've installed e16 so we can reproduce your setup.
Comment 4 Michael Mol 2011-11-01 17:30:28 UTC
(In reply to comment #3)
> (In reply to comment #0)
> > Chromium does not appear among the list of web browsers under 'preferred
> > applications' in XFCE4. (I don't know the specific component responsible for
> > managing preferred applications, or I'd try that for a start)
> 
> On my system 'preferred applications' XFCE applet lists Chromium (actually it
> has two entries, not sure why).
> 
> 1. Could you please post the version number of chromium?

*  www-client/chromium
      Latest version available: 15.0.874.102
      Latest version installed: 15.0.874.102
      Size of files: 147,823 kB
      Homepage:      http://chromium.org/
      Description:   Open-source version of Google Chrome web browser
      License:       BSD

> 2. Also, what happens if you launch Chromium and set it as default browser from
> its interface?
> 3. Please also post output of "xdg-settings get default-web-browser"

I can't sit down at the console of that machine for a few days, so I'll get back to you on this when I can.

> 
> > Chromium also does not appear in the "Internet" menu in e16.
> 
> This seems to be a different issue, please open a separate bug and post more
> details how you've installed e16 so we can reproduce your setup.

Will do. Probably later this week, also. Grepping my .bash_history, I did find that my installation of xfce4 occurred as an invocation of:

sudo emerge xfce4-battery-plugin xfce4-battery-plugin xfce4-mount-plugin xfce4-sensors-plugin tango-icon-theme xfwm4-themes thunar-archive-plugin tumbler thunar-volman
Comment 5 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-11-15 08:21:19 UTC
Please provide all the requested info, then re-open the bug.

Note that I was mostly interested in how you've installed Enlightenment, not XFCE (that's useful to know anyway).
Comment 6 Michael Mol 2011-11-15 14:54:52 UTC
Sorry about that. Will do when I have time. Been unexpectedly swamped these past few weeks, and entering the time of year when it doesn't get any better.
Comment 7 Michael Mol 2011-11-27 10:44:40 UTC
Reproduced on a new system. Fresh install. No enlightenment, just xfce4. Chromium's .desktop file reads the same. This is an entirely stable system, no unmasked packages.

Setup sequence:
* Install Gentoo
* Install X
* Install xfce4-base/xfce4-meta
* Install www-client/chromium

 $ xdg-settings get default-web-browser
firefox.desktop

Which is strange, because I haven't installed Firefox. Following telling Chromium to make itself the default browser, XFCE4 successfully launches Chromium when I click "Web Browser" in the Applications menu. It also now appears in the list of browser under Preferred Applications.

*  www-client/chromium
      Latest version available: 15.0.874.121
      Latest version installed: 15.0.874.121
      Size of files: 147,587 kB
      Homepage:      http://chromium.org/
      Description:   Open-source version of Google Chrome web browser
      License:       BSD


Portage 2.1.10.11 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.12.2-r0, 3.0.6-gentoo x86_64)
=================================================================
System uname: Linux-3.0.6-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5345_@_2.33GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 25 Nov 2011 04:15:02 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -D_FORTIFY_SOURCE=2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=core2 -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -D_FORTIFY_SOURCE=2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=core2 -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://mirrors.cs.wmich.edu/gentoo http://gentoo.mirrors.tds.net/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j16 -l10"
PKGDIR="/usr/portage/packages"Portage 2.1.10.11 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.12.2-r0, 3.0.6-gentoo x86_64)
=================================================================
System uname: Linux-3.0.6-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5345_@_2.33GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 25 Nov 2011 04:15:02 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -D_FORTIFY_SOURCE=2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=core2 -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -D_FORTIFY_SOURCE=2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=core2 -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://mirrors.cs.wmich.edu/gentoo http://gentoo.mirrors.tds.net/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j16 -l10"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync29.us.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amd64 avahi berkdb bzip2 cdda cddb cdparanoia cdr cli cracklib crypt css cups curl cxx dbus dri dv dvd dvdr encode exif fam ffmpeg firefox flac fortran ftp gdbm geoip gimp gmp gnutls gpm gsm gzip hddtemp iconv ieee1394 imagemagick ipv6 joystick jpeg jpeg2k lame libnotify libsamplerate libwww lirc lm_sensors lzma lzo mad matroska mikmod mms mmx mng modules mp3 mp4 mpeg mtp mudflap multilib ncurses nls nptl nptlonly nsplugin offensive ogg openal opencl openexr opengl openmp pam pcre pda pdf perl png posix ppds pppd python quicktime raw rdesktop readline rss samba sasl sdl session sharedmem shorten smp sndfile sockets sound sox speex spell sse sse2 sse3 ssl svg sysfs syslog sysvipc szip taglib tcpd theora threads tiff timidity truetype udev unicode usb v4l vcd videos vim-syntax vnc vorbis wavpack wmf x264 xattr xcb xcomposite xft xinerama xml xmp xorg xscreensaver xv xvid yaz zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync29.us.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amd64 avahi berkdb bzip2 cdda cddb cdparanoia cdr cli cracklib crypt css cups curl cxx dbus dri dv dvd dvdr encode exif fam ffmpeg firefox flac fortran ftp gdbm geoip gimp gmp gnutls gpm gsm gzip hddtemp iconv ieee1394 imagemagick ipv6 joystick jpeg jpeg2k lame libnotify libsamplerate libwww lirc lm_sensors lzma lzo mad matroska mikmod mms mmx mng modules mp3 mp4 mpeg mtp mudflap multilib ncurses nls nptl nptlonly nsplugin offensive ogg openal opencl openexr opengl openmp pam pcre pda pdf perl png posix ppds pppd python quicktime raw rdesktop readline rss samba sasl sdl session sharedmem shorten smp sndfile sockets sound sox speex spell sse sse2 sse3 ssl svg sysfs syslog sysvipc szip taglib tcpd theora threads tiff timidity truetype udev unicode usb v4l vcd videos vim-syntax vnc vorbis wavpack wmf x264 xattr xcb xcomposite xft xinerama xml xmp xorg xscreensaver xv xvid yaz zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 8 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-11-27 13:33:34 UTC
Right, I was able to repro that scenario. I'm not sure what's the right fix there... does it work OOTB on any other distro?

XFCE team, any ideas? I can fix the Chromium side if needed, but for now I'm not sure how to debug it.
Comment 9 Christoph Mende (RETIRED) gentoo-dev 2011-11-27 20:20:34 UTC
Created attachment 293979 [details]
google-chrome.desktop

Attached is my google-chrome.desktop (self-made) that I put in ~/.local/share/xfce4/helpers/ to get google-chrome to show up in the list. I'm not quite sure what exactly was needed to get it there as I simply copied an existing helper .desktop file and changed it accordingly, but you can compare it to an existing one (I think chrome creates one if it thinks that it's not the default browser).
Comment 10 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-12-14 14:17:57 UTC
(In reply to comment #9)
> Attached is my google-chrome.desktop (self-made) that I put in
> ~/.local/share/xfce4/helpers/ to get google-chrome to show up in the list.

Thank you, even getting the path in ~/ is helpful, as I didn't know where exactly those files are stored.

However, it seems Firefox is not affected by this problem, i.e. you can install Firefox and XFCE somehow "knows" that Firefox is a web browser and displays it as a choice.

Is that hardcoded into XFCE, or does Firefox ship with some magic bits in its .desktop file that Chromium doesn't have? Any ideas or docs/code I could read?
Comment 11 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-01-26 18:15:00 UTC
Submitted an upstream bug, I think I figured out how it works.
Comment 12 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-02-19 11:14:15 UTC
(In reply to comment #11)
> Submitted an upstream bug, I think I figured out how it works.

FYI, it's fixed upstream: http://git.xfce.org/xfce/exo/commit/?id=a8bd98bfda679b52b92615984ec3129b1b9469da

And I think exo-0.7.1 contains the fix. Please give it some testing if possible.
Comment 13 Samuli Suominen (RETIRED) gentoo-dev 2012-03-01 15:10:54 UTC
Fixed in tree too. 0.6.2-r1 is stable candidate in approx 30 days, and 0.7.1 is part of Xfce 4.10 in package.mask.

+*exo-0.6.2-r1 (01 Mar 2012)
+
+  01 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> +exo-0.6.2-r1.ebuild,
+  +files/exo-0.6.x-chromium.patch:
+  Backport upstream patch to include Chromium (or Google Chrome) in the
+  preferred browsers list wrt #388853 by Michael Mol and Paweł Hajdan, Jr.
+
 *exo-0.7.1 (20 Feb 2012)
 
   20 Feb 2012; Samuli Suominen <ssuominen@gentoo.org> +exo-0.7.1.ebuild: