Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #161723

Re: Changing default XDB browser w/o GNOME etc.

From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: Changing default XDB browser w/o GNOME etc.
Date 2015-12-13 11:20 +0100
Message-ID <qFbV0-72v-17@gated-at.bofh.it> (permalink)
References <qFb8B-6vN-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, Dec 13, 2015 at 10:19:49AM +0100, Eduard Bloch wrote:
> Hello, dear lazynet,
> 
> I have a problem and I am not sure which is the best approach to tackle
> it.
> 
> Observation: various programs use the XDG mechanism (freedesktop
> configuration method) to start a specific browser to visit a hyperlink.
> Easy to verify with the xdg-open tool.
> 
> But how can I change this setting in a persistent way especially when I
> don't use Gnome or Kde or Xfce? I tried LxQt once and apparently the
> stupid thing has reset some configuration and now xdg-open starts
> Qupzilla which I don't like. Before, some other stupid program has reset
> it to Chromium which I don't like either.
> 
> How can I configure this, and do that in a way that is set persisently?
> i.e. no program or package changes the setting to its own yard.
> 
> NOTE: I will not install the monster just to change this simple setting.

If I were you, I'd just try to hi-jack xdg-open (it is, after all, just
a shell script under /usr/bin) by installing an alternative one under
/usr/local/bin (which comes before /usr/bin in the "usual" set up).

Of course you'll call back into the original /usr/bin/xdg-open whenever
convenient. In the most common case you just write a simple wrapper
around /usr/bin/xdg-open.

> Feels like things that have been established in a sane way (alternatives
> system and sensible-browser) are now reverted to the chaos we used to
> manage in the nineties :-(

I feel your pain. Applications programmers have become lazy and now
consider file system layout as a part of the "OS API", quabbling on whether
something should be under /opt or /usr/local, instead of coping with
it.

regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlZtPCgACgkQBcgs9XrR2kbxiwCeOQ1B+EfkUTOV4RnIjvl/QW9H
w18AnjERrGmUBqERh08z+zZ/BrFV7ndR
=xV5o
-----END PGP SIGNATURE-----

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Changing default XDB browser w/o GNOME etc. Eduard Bloch <edi@gmx.de> - 2015-12-13 10:30 +0100
  Re: Changing default XDB browser w/o GNOME etc. "Thomas Schmitt" <scdbackup@gmx.net> - 2015-12-13 10:40 +0100
    Re: Changing default XDB browser w/o GNOME etc. Eduard Bloch <edi@gmx.de> - 2015-12-14 11:30 +0100
  Re: Changing default XDB browser w/o GNOME etc. <tomas@tuxteam.de> - 2015-12-13 11:20 +0100
  Re: Changing default XDB browser w/o GNOME etc. Martin Read <zen75502@zen.co.uk> - 2015-12-13 12:20 +0100
    Re: Changing default XDB browser w/o GNOME etc. Eduard Bloch <edi@gmx.de> - 2015-12-14 11:20 +0100
  Re: Changing default XDB browser w/o GNOME etc. Christian Seiler <christian@iwakd.de> - 2015-12-15 17:20 +0100

csiph-web