Package: galternatives
Version: 1.0.9
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Dear Maintainer,

   I'm not sure what package to file this bug under, but I picked
galternatives because it's probably the most common way Debian users
(and others?) want to change default applications. Note that, as far
as I know, there's nothing wrong with galternatives itself: please
assign this bug to whichever package you consider to be most
appropriate.

   It all started when I installed the Vivaldi browser on my Debian
testing system. It worked fine in itself, but when I clicked on a link
in an email (using evolution and bluemail gave the same result), it
brought up vivaldi instead of my regular browser (Firefox). I checked
/etc/alternatives/x-www-browser, and it pointed to Firefox, just as
I'd set it. Still, clicking on email links brought up vivaldi instead
of Firefox.

   It's taken me quite some time to find out why this is happening. I
first discovered, using 'ps auxf', that the instance of vivaldi
brought up by clicking on an email link was called by
'/lib/systemd/systemd --user'. So systemd was involved. The plot
thickened.

   Today, I figured it out. Gnome. Now, I don't have Gnome installed
on my Debian testing box, but I installed it on a VM, and found that
gnome-control-center sets these things, *even when you don't have
Gnome installed*. I installed just gnome-control-center on my Debian
testing box, set it up as I wanted, and now clicking on an email link
brings up Firefox, as it's supposed to.

   This means that, for some default applications anyway,
galternatives is useless for setting them up, and, unless you have
gnome-control-center installed, there's no way to set them up at all.

   I'm not sure what the solution is here. Perhaps galternatives could
be modified to fix it, or perhaps a new application is in
order. Another alternative would be to install gnome-control-center at
all times, and provide instructions to use it if needed. (I don't
recommend this: the thing's ugly).

 .....Ron Murray

- -- System Information:
Debian Release: 12.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.2.10.khufu (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages galternatives depends on:
ii  gir1.2-gdkpixbuf-2.0  2.42.10+dfsg-1+b1
ii  gir1.2-gtk-3.0        3.24.37-2
ii  python3               3.11.2-1
ii  python3-gi            3.42.2-3+b1

Versions of packages galternatives recommends:
ii  pkexec       122-3
ii  python3-xdg  0.28-2

galternatives suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQJCBAEBCgAsFiEETZlw4yMXM0sUHntjEvfoZbXi52EFAmQvSEkOHHJqbXhAcmpt
eC5uZXQACgkQEvfoZbXi52Hm5w//VU59thhwWZgh1SoYF9+WleEsQUdacsSj+6m9
xMiHC83wiXDyXLA4TeYYD3qddIGTCr5dekgRrK4SX+ZF1a1YSdm3iw/NPXpFf8Yy
ASLhSU3b7FpzJjH+vmzCbQ6asYngmSRtLYGMgcbASh+0GgFQbZh9GsvBGJp3yu5x
Byrm5lUnu9gNZfGmAqSnsUhL9xJmpppvYKe3Ojknw1EXwMTKx/iCoNZDyzJ8bGO5
QsDrDPWKGK6O3tyTPEqYwaHN0PPw+1wJjGAEPhC8tAmO5dNtbLN0JDWtREiYG1Fv
9SUsmg3Jp//2bPfpqCOVrlm2obowmO8eV3R/4GL8mQDXmMMPTGRyI7nHDYn+hzLZ
89sCH32+vJ0i8if2yJP1lk938e9Yvko9gjKSnbB8Bz5aWiYtxMHbhWE5lTHJ1MrK
0IaaAbEcs4C/3bEPVyFtAVims/33+g6QgiOkQN48DJIQceLDymKFhxkR+9gcJ4OB
pOWsZN8E3A/6LnCxv0WdBqHvfl+rniwRwIP2Uk8A8SUxbiP1rVhmIS/eyJ1ARF3z
miAhOieNFpxwioba9EKRWknlA56qW5Aj19+yQOy7lhz3dRmHNWQH/WjH6ICBfznd
bGrAQxpnN/6PenJL21b5wqyEShzKv+g/CRSP/Ws9g7VHBjCdMNu+F14R0bAsXQXj
7B0CYp8=
=gwca
-----END PGP SIGNATURE-----

Reply via email to