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


Groups > linux.debian.user > #191369 > unrolled thread

Configuring WebHTTrack as I WANT

Started byRichard Owlett <rowlett@cloud85.net>
First post2018-01-20 17:40 +0100
Last post2018-01-21 12:50 +0100
Articles 6 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  Configuring WebHTTrack as I WANT Richard Owlett <rowlett@cloud85.net> - 2018-01-20 17:40 +0100
    Re: Configuring WebHTTrack as I WANT davidson <davidson@freevolt.org> - 2018-01-20 23:20 +0100
      Re: Configuring WebHTTrack as I WANT Richard Owlett <rowlett@cloud85.net> - 2018-01-21 11:50 +0100
        [SUCCESS!] Re: Configuring WebHTTrack as I WANT Richard Owlett <rowlett@cloud85.net> - 2018-01-21 12:40 +0100
    Re: Configuring WebHTTrack as I WANT Curt <curty@free.fr> - 2018-01-21 11:20 +0100
      Re: Configuring WebHTTrack as I WANT Richard Owlett <rowlett@cloud85.net> - 2018-01-21 12:50 +0100

#191369 — Configuring WebHTTrack as I WANT

FromRichard Owlett <rowlett@cloud85.net>
Date2018-01-20 17:40 +0100
SubjectConfiguring WebHTTrack as I WANT
Message-ID<va4lr-33I-11@gated-at.bofh.it>
WebHTTrack insists on using Firefox as the User Interface.
That *VERY* annoying as I use SeaMonkey > 99.9% of the time.
I went to the website <http://www.httrack.com> and did not find anything 
even somewhat relevant.

I attempted to edit usr/bin/webhttrack without benefit.
Searching suggest these locations for possible edits.

Contains:
at line 6:	BROWSEREXE=""
edited to:	BROWSEREXE="seamonkey"

at line 7:	SRCHBROWSEREXE="x-www-browser www-browser iceape mozilla 
firefox ...
edited to:	SRCHBROWSEREXE="x-www-browser www-browser iceape mozilla 
seamonkey firefox ...

at line 20:	SRCHPATH="$BINWD /usr/local/bin /usr/share/bin /usr/bin  ...
edited to:	SRCHPATH="$BINWD /usr/bin/seamonkey/ /usr/local/bin 
/usr/share/bin /usr/bin ...


SRCHPATH="$BINWD /usr/local/bin /usr/share/bin /usr/bin  ...
SRCHPATH="$BINWD /usr/bin/seamonkey/ /usr/local/bin /usr/share/bin 
/usr/bin ...

I used its Windows incarnation years ago and was happy with it.
Suggestions for having it use SeaMonkey for its UI?
Suggestions for an alternative?

TIA

[toc] | [next] | [standalone]


#191381

Fromdavidson <davidson@freevolt.org>
Date2018-01-20 23:20 +0100
Message-ID<va9Et-6Cx-11@gated-at.bofh.it>
In reply to#191369
On Sat, 20 Jan 2018, Richard Owlett wrote:

Caveat: I know nothing about seamonkey, and I have never used
httrack/webhttrack.

> WebHTTrack insists on using Firefox as the User Interface.

Are you certain webhttrack isn't just using x-www-browser, which
happens to be set, via the links in your /etc/alternatives directory,
to firefox?

What does the following tell you?

  $ update-alternatives --display x-www-browser

> That *VERY* annoying as I use SeaMonkey > 99.9% of the time.

If in fact firefox is the currently selected alternative for
x-www-browser, you can choose another one (interactively) with

  # update-alternatives --config x-www-browser

If seamonkey is not presently one of the available alternatives for
x-www-browser, you can register it as an alternative like so[1]:

  # update-alternatives --install /usr/bin/x-www-browser x-www-browser /path/to/seamonkey 20

If you do in fact need to register seamonkey as an alternative for
x-www-browser, and if you have a seamonkey man page installed, you'll
probably want to register its man page too. You could extend the
command above like so, to accomplish this:

  # update-alternatives --install /usr/bin/x-www-browser x-www-browser
    /path/to/seamonkey 20 --slave
    /usr/share/man/man1/x-www-browser.1.gz x-www-browser.1.gz
    /path/to/man-page/for/seamonkey.1.gz

You will need to replace /path/to/seamonkey, in the above commands,
with the path to your seamonkey program,

  $ type -P seamonkey # print path to seamonkey executable

and replace /path/to/man-page/for/seamonkey.1.gz with the appropriate
path to the man page file:

  $ man -w seamonkey # display the path to seamonkey's man page

> I went to the website <http://www.httrack.com> and did not find anything even 
> somewhat relevant.
>
> I attempted to edit usr/bin/webhttrack without benefit.
> Searching suggest these locations for possible edits.
>
> Contains:
> at line 6:	BROWSEREXE=""
> edited to:	BROWSEREXE="seamonkey"
>
> at line 7:	SRCHBROWSEREXE="x-www-browser www-browser iceape mozilla 
> firefox ...
> edited to:	SRCHBROWSEREXE="x-www-browser www-browser iceape mozilla 
> seamonkey firefox ...

My line of questioning/suggestions above was inspired by the prominent
position of "x-www-browser" in the list immediately above.

Lastly, regarding the change below, does a *directory*
/usr/bin/seamonkey/ exist on your system? Looks a little weird to
me. (Not that I would know.)

> at line 20:	SRCHPATH="$BINWD /usr/local/bin /usr/share/bin /usr/bin  ...
> edited to:	SRCHPATH="$BINWD /usr/bin/seamonkey/ /usr/local/bin 
> /usr/share/bin /usr/bin ...

Good luck with your project.

NOTES

1. "20" is a priority. Relatively high numbers mean relatively high
priority. Replace it with whatever numeric priority you fancy. But
note that with "update-alternatives --config" you can manually select
any alternative, regardless of its priority.

[toc] | [prev] | [next] | [standalone]


#191391

FromRichard Owlett <rowlett@cloud85.net>
Date2018-01-21 11:50 +0100
Message-ID<valmi-5zm-5@gated-at.bofh.it>
In reply to#191381
On 01/20/2018 04:42 PM, davidson wrote:
> On Sat, 20 Jan 2018, Richard Owlett wrote:
> 
> Caveat: I know nothing about seamonkey,

No problem, I've been using its predecessors since Netscape 4.

> and I have never used httrack/webhttrack.

I chose it primarily because I was familiar with its Windows version.

> 
>> WebHTTrack insists on using Firefox as the User Interface.
> 
> Are you certain webhttrack isn't just using x-www-browser, which
> happens to be set, via the links in your /etc/alternatives directory,
> to firefox?
> 
> What does the following tell you?
> 
>   $ update-alternatives --display x-www-browser

It verbosely tells I'm using Firefox ;)

> 
>> That *VERY* annoying as I use SeaMonkey > 99.9% of the time.
> 
> If in fact firefox is the currently selected alternative for
> x-www-browser, you can choose another one (interactively) with
> 
>   # update-alternatives --config x-www-browser
> 
> If seamonkey is not presently one of the available alternatives for
> x-www-browser, you can register it as an alternative like so[1]:
> 
>   # update-alternatives --install /usr/bin/x-www-browser x-www-browser 
> /path/to/seamonkey 20
> 
> If you do in fact need to register seamonkey as an alternative for
> x-www-browser, and if you have a seamonkey man page installed, you'll
> probably want to register its man page too. You could extend the
> command above like so, to accomplish this:
> 
>   # update-alternatives --install /usr/bin/x-www-browser x-www-browser
>     /path/to/seamonkey 20 --slave
>     /usr/share/man/man1/x-www-browser.1.gz x-www-browser.1.gz
>     /path/to/man-page/for/seamonkey.1.gz
> 
> You will need to replace /path/to/seamonkey, in the above commands,
> with the path to your seamonkey program,
> 
>   $ type -P seamonkey # print path to seamonkey executable
> 
> and replace /path/to/man-page/for/seamonkey.1.gz with the appropriate
> path to the man page file:
> 
>   $ man -w seamonkey # display the path to seamonkey's man page
> 
>> I went to the website <http://www.httrack.com> and did not find 
>> anything even somewhat relevant.
>>
>> I attempted to edit usr/bin/webhttrack without benefit.
>> Searching suggest these locations for possible edits.
>>
>> Contains:
>> at line 6:    BROWSEREXE=""
>> edited to:    BROWSEREXE="seamonkey"
>>
>> at line 7:    SRCHBROWSEREXE="x-www-browser www-browser iceape mozilla 
>> firefox ...
>> edited to:    SRCHBROWSEREXE="x-www-browser www-browser iceape mozilla 
>> seamonkey firefox ...
> 
> My line of questioning/suggestions above was inspired by the prominent
> position of "x-www-browser" in the list immediately above.

I saw browser names I recognized and ignored the ones I didn't.
Having just done a web search for "x-www-browser" I should have searched 
for the first unknown in what was obviously a prioritized list.

Preliminary searches for "BROWSEREXE" and "SRCHBROWSEREXE" indicates 
pursuing them will be educational.

> 
> Lastly, regarding the change below, does a *directory*
> /usr/bin/seamonkey/ exist on your system?

Yepp. I put it there, so to speak.
When Debian and Mozilla where at odds over browser names I said 
"Phooey." I've been using SeaMonkey direct from 
<https://www.seamonkey-project.org/>.

> Looks a little weird to me. (Not that I would know.)

I do do weird things. Sometimes for valid reasons. Other times it causes 
an 'educational experience'.

> 
>> at line 20:    SRCHPATH="$BINWD /usr/local/bin /usr/share/bin 
>> /usr/bin  ...
>> edited to:    SRCHPATH="$BINWD /usr/bin/seamonkey/ /usr/local/bin 
>> /usr/share/bin /usr/bin ...
> 
> Good luck with your project.
> 
> NOTES
> 
> 1. "20" is a priority. Relatively high numbers mean relatively high
> priority. Replace it with whatever numeric priority you fancy. But
> note that with "update-alternatives --config" you can manually select
> any alternative, regardless of its priority.

Thank you.

[toc] | [prev] | [next] | [standalone]


#191392 — [SUCCESS!] Re: Configuring WebHTTrack as I WANT

FromRichard Owlett <rowlett@cloud85.net>
Date2018-01-21 12:40 +0100
Subject[SUCCESS!] Re: Configuring WebHTTrack as I WANT
Message-ID<vam8F-664-1@gated-at.bofh.it>
In reply to#191391
On 01/21/2018 04:39 AM, Richard Owlett wrote:
> On 01/20/2018 04:42 PM, davidson wrote:
>> On Sat, 20 Jan 2018, Richard Owlett wrote:
>>
>> [snip]
>>   # update-alternatives --install /usr/bin/x-www-browser x-www-browser 
>> /path/to/seamonkey 20
>>

Worked like a charm. Now to re-read the WebHTTrack documentation. I've 
forgotten a lot since I last used it.

Thanks again.

[toc] | [prev] | [next] | [standalone]


#191390

FromCurt <curty@free.fr>
Date2018-01-21 11:20 +0100
Message-ID<vakTf-5nt-1@gated-at.bofh.it>
In reply to#191369
On 2018-01-20, Richard Owlett <rowlett@cloud85.net> wrote:
>
> at line 7:	SRCHBROWSEREXE="x-www-browser www-browser iceape mozilla 
> firefox ...
> edited to:	SRCHBROWSEREXE="x-www-browser www-browser iceape mozilla 
> seamonkey firefox ...
>

I'm not in agreement with this edit, as you have left 'x-www-browser' at
the head of the list, and the x-www-browser symlink is probably pointing
to firefox and chosen first (finding itself as it does at the head of
the list of possibilities).

I would have put seamonkey at the head of the list, myself.  Could be
wrong, though.

Now, I believe davidson suggested modifying your system-wide default
browser to reflect your seamonkey shenanigans.

 update-alternatives --config x-www-browser

I guess is the way to do that correctly.

https://wiki.debian.org/HOWTO/DefaultWebBrowser

-- 
“True terror is to wake up one morning and discover that your high school class
is running the country.” – Kurt Vonnegut

[toc] | [prev] | [next] | [standalone]


#191393

FromRichard Owlett <rowlett@cloud85.net>
Date2018-01-21 12:50 +0100
Message-ID<vamil-6aa-3@gated-at.bofh.it>
In reply to#191390
On 01/21/2018 04:15 AM, Curt wrote:
> On 2018-01-20, Richard Owlett <rowlett@cloud85.net> wrote:
>>
>> at line 7:	SRCHBROWSEREXE="x-www-browser www-browser iceape mozilla
>> firefox ...
>> edited to:	SRCHBROWSEREXE="x-www-browser www-browser iceape mozilla
>> seamonkey firefox ...
>>
> 
> I'm not in agreement with this edit, as you have left 'x-www-browser' at
> the head of the list, and the x-www-browser symlink is probably pointing
> to firefox and chosen first (finding itself as it does at the head of
> the list of possibilities).
> 
> I would have put seamonkey at the head of the list, myself.  Could be
> wrong, though.

You weren't! <GRIN>
As I replied to davidson, "Having just done a web search for 
"x-www-browser" I should have searched for the first unknown in what was 
obviously a prioritized list."

> 
> Now, I believe davidson suggested modifying your system-wide default
> browser to reflect your seamonkey shenanigans.

Using his directions and with man page open it not only worked but I 
learned details of what I was doing.

> 
>   update-alternatives --config x-www-browser
> 
> I guess is the way to do that correctly.
> 
> https://wiki.debian.org/HOWTO/DefaultWebBrowser
> 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web