On Thu, 18 Apr 2013 06:35:59 Sam Geeraerts wrote: > I think we have a misunderstanding. If I understand correctly then > you're talking about finding and listing all installed browsers. I > agree that that is difficult and distro-specific. > > My suggestion is to keep the hard coded browsers array (perhaps > slightly modified) that's already in src/ui/ui_prefs.c and check if the > given filenames are executable. Or, in pseudocode: > > for b in browsers: > for dir in $PATH: > if [ -x "$dir/$b.filename" ] > b.visible = true > break >
I understand what you're trying to do and I think it doesn't worth the effort. :) > Inspiring people to try a browser that is not in the package repo (i.e. > Opera) is what I'm trying to avoid for gNewSense. I think it is not possible to "inspire" gNewSense users to use proprietary software because those who choose "gNewSense" are probably strongly detest proprietary in any form . :) Perhaps what you're really trying is not to annoy them with mentioning of any non-free application. If you think that censoring-out opera is worth it then why not just remove it from list with simple patch? > I just thought to > deal with the more generic issue instead of just editing the hard coded > array. Those who choose to configure the browser setting up front are > probably power users who have no problem with the manual setting edit > box. > > I understand that you want to keep differences with upstream to a > minimum. I'll try to come up with a patch and take my case upstream. I'm with you if you want to extend hardcoded list of browsers a little but I'm against showing only installed browsers because of inconvenience, maintenance burden and secrecy. Just think about it: if you show only installed browsers in drop-down list then user will have to install browser first to see if it can be used with Liferea. To me it is a usability bug unless you modify Liferea to detect all available browsers that one can use. I hope you will be able to convince upstream that `opera` is not worth advertising in list of browsers and to replace it with something else. Cheers, Dmitry Smirnov GPG key : 4096R/53968D1B --- It is no use saying, 'We are doing our best.' You have got to succeed in doing what is necessary. -- Winston Churchill -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org