custom-WebBrowser follow up

Jerry Bond stormyjerry at gmail.com
Wed Feb 26 15:23:20 CET 2014


Thanks for the answer, Nick--I wasn't sure as a mere Project Manager 
that i counted as a "developer" ...

1) I meant my question to be simpler: if a user selects a preferred 
browser, why doesn't helpers.rc use the "Name" string in the desktop 
file?  (Maybe you answered that and I just didn't get it...)

2) Is that "directory of desktop files shipped with the exo package with 
all 'known' browsers, editors and terminals" editable by us to include 
QupZilla?

Thanks.

Jerry

On 02/26/2014 05:19 AM, xfce4-dev-request at xfce.org wrote:
> Send Xfce4-dev mailing list submissions to
> 	xfce4-dev at xfce.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://mail.xfce.org/mailman/listinfo/xfce4-dev
> or, via email, send a message with subject or body 'help' to
> 	xfce4-dev-request at xfce.org
>
> You can reach the person managing the list at
> 	xfce4-dev-owner at xfce.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Xfce4-dev digest..."
>
>
> Today's Topics:
>
>     1. Wiki-update: How to contribute page (Simon Steinbei?)
>     2. Re: Wiki-update: How to contribute page (Nick Schermer)
>     3. Re: Wiki-update: How to contribute page (Nick Schermer)
>     4. Re: Wiki-update: How to contribute page (Nick Schermer)
>     5. custom-WebBrowser (Jerry Bond)
>     6. Re: custom-WebBrowser (Nick Schermer)
>     7. Re: Associate calendar with left-click on Clock (PePa)
>     8. Re: ANNOUNCE: xfce4-panel 4.11.0 released (Yves-Alexis Perez)
>
>
> ----------------------------------------------------------------------
>
>
>
> ------------------------------
>
> Message: 5
> Date: Tue, 25 Feb 2014 09:51:05 -0500
> From: Jerry Bond <stormyjerry at gmail.com>
> To: xfce4-dev at xfce.org
> Subject: custom-WebBrowser
> Message-ID: <530CADD9.1040209 at gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
>
> Hi List --
>
> I posted this question twice on the Forum without result, so am turning
> to you.
>
> In MX-14, we are now (approaching RC 1) using QupZilla as default
> browser because of its high function:size ratio and have selected it
> under Preferred Applications.  We are trying to code for a GUI entry
> "Restore Default Browser defaults," and we are having trouble
> generalizing it to read the name of the selected default browser.  I see
> ~/.config/xfce4/helpers.rc, where I read: WebBrowser=custom-WebBrowser,
> and I also see that a new desktop file has been placed inside ~/.local.
>
> When the user selects a browser, any browser, under Preferred
> Applications, *why doesn't the name just simply show up in the
> helpers.rc file* as long as there is an executable and a desktop file?
> Is there a master list of known/named/approved browsers somewhere that
> we can edit so the helpers.rc file will include the actual browser name?
>
> Thanks for any help.
>
> Jerry
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20140225/500d7436/attachment-0001.html>
>
> ------------------------------
>
> Message: 6
> Date: Tue, 25 Feb 2014 16:08:59 +0100
> From: Nick Schermer <nick at xfce.org>
> To: Xfce development list <xfce4-dev at xfce.org>
> Subject: Re: custom-WebBrowser
> Message-ID:
> 	<CACjEWJmdqN+d1knhBKGy0BNzsd0es9aLqHr-zGoG6FE5jtBuKg at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
> Forums are for users, not for development.
>
> We cannot referrer to the browser name, since this is a translatable
> string [in the desktop files], so therefore the desktop file name is
> used as this is unique. That said, yes there is a directory of desktop
> files shipped with the exo package with all 'known' browsers, editors
> and terminals because there is a lot of difference in the way
> applications are spawn with arguments.
>
> To give an example for terminals:
> xterm uses: xterm -e @args
> xfce4-terminal uses xterm -x @args
>
> This is not standardized in the .desktops files shipped with the
> application in situations like this, so there is no other option than
> collecting this our selfs.
>
> Nick



More information about the Xfce4-dev mailing list