hexchat opens the links unconditionally with www-client/links also if the system preference is chromium. There is no way to change it in the hexchat preferences. Portage 2.2.8-r1 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.17, 3.10.40-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.10.40-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.2 KiB Mem: 6047760 total, 398992 free KiB Swap: 8388604 total, 8388604 free Timestamp of tree: Wed, 04 Jun 2014 06:15:01 +0000 ld GNU ld (GNU Binutils) 2.23.2 app-shells/bash: 4.2_p45 dev-lang/python: 2.7.6, 3.3.3 dev-util/cmake: 2.8.12.2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.12.6, 1.13.4 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.7.3-r1 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.13 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo pipelight x-portage ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/applications/chromium-browser-chromium.desktop /usr/share/applications/firefox.desktop /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0" 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" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org http://gentoo.wheel.sk/ http://mirror.netcologne.de/gentoo/ http://mirrors.linuxant.fr/distfiles.gentoo.org/" LANG="it_IT.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/tmp/" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/pipelight /usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="X acl alsa amd64 berkdb bzip2 cli consolekit cracklib crypt cups cxx dbus dri fortran gdbm gif iconv jpeg kde mmx modules mp3 multilib mysql ncurses nptl ogg opengl openmp pam pcre png policykit qt3support qt4 readline session sse sse2 ssl symlink tcpd threads tiff udev unicode vorbis zlib" ABI_X86="64" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="radeon r600 nouveau" USE_PYTHON="2.7" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= net-irc/hexchat-2.9.6.1-r2 was built with the following: USE="dbus gtk plugins ssl -fastscroll -gtkspell -ipv6 -libcanberra -libnotify -libproxy -nls -ntlm -perl -plugin-checksum -plugin-doat -plugin-fishlim -plugin-sysinfo -python -sexy -spell -theme-manager" PYTHON_SINGLE_TARGET="python2_7 -python3_3" PYTHON_TARGETS="python2_7 -python3_3"
maybe a dupe of 504026
(In reply to Agostino Sarubbo from comment #0) > hexchat opens the links unconditionally with www-client/links also if the > system preference is chromium. > > There is no way to change it in the hexchat preferences. And there shouldn't really be, that's left for the desktops, so in eg. Xfce, from menu, Settings > Preferred Applications And if your desktop or minimal WM doesn't have such GUI to select default browser, you do it by hand, either writing directly to mimeapps.list or using xdg-utils commands As in, hexchat is just respecting the default browser provided by mime support in glib What does your ~/.local/share/applications/mimeapps.list look like? It's the x-scheme-handler/http; and x-scheme-handler/https; lines that define default browser. See eg. bug 504026 and http://forums.gentoo.org/viewtopic-p-7562572.html#7562572 "RESOLVED, INVALID", leaving it to hexchat maintainer
Here is the official Portage news item: http://sources.gentoo.org/gitweb/?p=proj/gentoo-news.git;a=blob;f=2011/2011-04-27-glib-228/2011-04-27-glib-228.en.txt;h=81a12cb4b2dbda7a1671268fc2beaea582f908a7;hb=c196f42c2d5f3878a29f25c928e4ca281555843b x-scheme-handlers have been the default since 2011 and GLib 2.28
(In reply to Agostino Sarubbo from comment #1) > maybe a dupe of 504026 most definately, if you use KDE. KDE doesn't have capability for setting default browser, mail client, torrent client, terminal, and such
looks like the wrong bug tracker https://github.com/hexchat/hexchat/issues/660 Could be misconfiguration or not. Anyway, this cannot be solved on ebuild level. If there is a patch, I can backport it.
(In reply to Julian Ospald (hasufell) from comment #5) > looks like the wrong bug tracker Well, this bug should have been filed as "I'm using desktop $something and when I set default browser from it, it fails to set x-scheme-handlers for http and https to mimeapps.list for glib's and xdg-utils's mime which has been the default since 2011 and GLib 2.28" So this bug should have been filed against the maintainers of the desktop he is using, so like bug 504026 I know for a fact Xfce and GNOME works as expected when setting default apps, and I know for a fact KDE has been broken since 2011 regarding setting default browser for other than KDE programs Dunno about other desktops if they properly handle the x-scheme-handlers, but there was the official Portage GLEP 42 news item sent regarding it with instructions for manually setting them Setting default browser used to be a problem in the past, there was multiple different ways of setting it, but the x-scheme-handlers finally took over and it's the only way to set them left, some old ways like $BROWSER still exist as a fallback in some apps like xdg-utils, but the x-scheme-handlers take priority everywhere it matters > > https://github.com/hexchat/hexchat/issues/660 That looks like different issue.
(In reply to Samuli Suominen from comment #6) > (In reply to Julian Ospald (hasufell) from comment #5) > > https://github.com/hexchat/hexchat/issues/660 > > That looks like different issue. URL handling, KDE user. Looks like the same.
(In reply to Julian Ospald (hasufell) from comment #7) > (In reply to Samuli Suominen from comment #6) > > (In reply to Julian Ospald (hasufell) from comment #5) > > > https://github.com/hexchat/hexchat/issues/660 > > > > That looks like different issue. > > URL handling, KDE user. Looks like the same. As original reporter of bug, listed at URL, i can say - problem was in misconfigured workstation. Somehow xdg preferences was borked. When i run(replace browser.desktop with apropriate desktop file for your browser): $ xdg-mime default browser.desktop x-scheme-handler/http $ xdg-mime default browser.desktop x-scheme-handler/https issue was fixed. And, by the way, KDE has default browser/mail-client settings, but they are 'default' only for KDE apps. Not sure, if they can be synced with XDG settings, though. I have this problem on one of two identical software configurations, so, i do not know why it broke.
also... upstream doesn't seem to intend to make this url opening logic more desktop dependant