trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: September 2020

[trinity-users] Re: [users] installing icecat from source packages - how2 draft

From: William Morder via tde-users <ml-migration-agent@...>
Date: Tue, 15 Sep 2020 06:24:27 -0700

On Tuesday 15 September 2020 06:11:52 you wrote:
> On 2020-09-15 06:55:15 William Morder via tde-users wrote:
> > Since this is not quite a new thread, but continues what was discussed in
> > the old thread, I've just changed the header. Also, I cut out the
> > comments, as this is already long enough, and those who are interested
> > can refer to the older threads to see what they missed.
> >
> > Okay, so there are a few more who express a little interest, by contrast
> > with those who are not interested, or don't see the need.
> >
> > The steps are still not quite as clear as they could be, but once I put
> > it all in order, I'll post it on the TDE wiki, or get help from Michael.
> > Comments are welcome; improvements can be made. This is not quite
> > finished as I want it, but it'll do for most of us.
> >
> > I could use some help on how to write symlinks at the end; otherwise,
> > just give me some time, so I can make sure that I got it right. If I've
> > missed anything, or could make it simpler or clearer, I am open to
> > suggestions. After I (we) get it in order, and simplify the steps, then
> > I'll post a how-to on the wiki.
> >
> > My source page was here:
> > https://ftp.gnu.org/gnu/gnuzilla/60.7.0/
> > Kate used another mirror, here:
> > https://mirrors.ocf.berkeley.edu/gnu/gnuzilla/60.7.0/
> > There are other mirrors, too.
> >
> > wget
> > http://ftp.gnu.org/gnu/gnuzilla/60.7.0/icecat-60.7.0.en-US.gnulinux-i686.
> >ta r.bz2 tar xvf icecat-60.7.0.en-US.gnulinux-i686.tar.bz2
> > sudo ln -s $PWD/icecat/icecat-bin /usr/bin/icecat icecat
> >
> > Here is where the problem comes in. The user [myself, in this example]
> > ends up with an icecat folder in the /home/<user> directory. If you look
> > at the last step, it is supposed to make a shortcut, /usr/bin/icecat,
> > which points to /usr/lib/icecat/icecat-bin -- but it seems a couple steps
> > are missing here.
> >
> > Unless you want to run icecat from your home folder, then you need to
> > find where to insert the icecat folder.
> >
> > The user must copy the newly-created icecat folder from
> > /home/<user>/icecat to /usr/lib; also it would probably be a good idea to
> > backup this icecat folder somewhere safe, so you don't have to repeat the
> > first step, and also for reference, because the contents will help you
> > identify the proper location.
> >
> > To make sure you are doing it right, compare with firefox or palemoon or
> > another mozilla browser.
> >
> > If you follow me so far, then:
> > backup!
> > sudo cp -v -r -f /home/<user>/icecat -t /media/<my_safe_location>/
> > then
> > sudo cp -v -r -f /home/<user>/icecat -t /usr/lib/
> >
> > So far, so good, but now you need to create a symlink:
> >
> > /usr/lib/icecat/icecat-bin >>> /usr/bin/icecat-bin
> >
> > Or maybe it is the other way round. In any case, I was reading up on the
> > syntax, how to create a symlink. Otherwise, I just do it manually: put
> > the two folders side by side, drag the icon into the folder where I want
> > it, but when Konqueror asks me if I want to move, copy, or link here, I
> > choose the last.
> >
> > Last step, for the insane control freaks (like the present author) who
> > want to stop all leaks and keep Big Brother and his evil minions from
> > nibbling away at your soul ...
> >
> > If you have extensions or settings from Firefox or other browsers, they
> > can be copied into your Icecat folder pretty much wholesale (but I
> > wouldn't do it that way the first time). /home/<user>/.mozilla/<mozilla
> > browser>; except for Pale Moon, which uses a non-mozilla folder,
> > /home/<user>/.moonchild productions -- which is annoying, for anybody who
> > uses command-line to move things around, because of that space in the
> > name.
> >
> > Should you choose to go this route, try adding extensions from your other
> > mozilla folders, one-at-a-time, to see what the browser will accept
> > without complaint. The new web extensions are displacing the older xpi
> > extensions, and some will not work, but newer ones are coming out, and
> > new versions of old classics are being redone, too.
> >
> > As I said, this is still messy, as I am retracing my steps and thinking
> > out loud, and repeating myself. The short version comes only with
> > revision.
> >
> > Bill
>
> 	When installing from a tarball, I always cd to /usr/local as root before I
> unpack, etc.  (My /usr/local is on a separate device so that I don't lose
> my additions if I need to reinstall the os.)  I hardly ever use sudo just
> because of issues like link creation.
> 	Anyway, once I'm in /usr/local, creating symbolic links is
> straightforward: the command format is ln -s <target> <link>; so in this
> case,
>
> |		ln -s /usr/local/lib/icecat/icecat-bin /usr/local/bin
> |		ll bin/icecat
> |		lrwxrwxrwx 1 root root 13 2020-09-15 07:43:49 bin/icecat ->
> | icecat/icecat
>
> 	One of the things that really bugs me about installing a GUI application
> from tarballs is that it almost never puts its icon where the desktop can
> find it (e.g. /usr/share/icons/...); sometimes there isn't even one in the
> tarball, and I have to scrape it from its website!
> 	So, for icecat,
>
> |		for i in 128 16 32 48 64
> |		  do
> |		    cp /usr/local/icecat/browser/chrome/icons/default/default$i.png \
> |		       /usr/local/share/icons/crystalsvg/${i}x${i}/apps/icecat.png
> |		  done
>
> (I suppose I could have created links, but for some reason I always copy
> icons. :-) )
>
> 	Okay, now this is strange; I've never seen this before.
>
> | @08:05:31,leslie@pinto
> | ~
> | $ paths
> | /home/leslie/bin
> | /home/leslie/bin/rexx
> | /home/leslie/bin/NetRexx
> | /home/leslie/.local/bin
> | /opt/trinity/bin
> | /opt/trinity/lib64
> | /usr/local/bin
> | /bin
> | /usr/bin
> | /usr/local/sbin
> | /sbin
> | /usr/sbin
> | /usr/local/lib64
> | /usr/local/lib
> | @08:05:40,leslie@pinto
> | ~
> | $ whereis icecat
> | icecat: /usr/local/bin/icecat /usr/local/icecat
> | @08:05:44,leslie@pinto
> | ~
> | $ icecat&
> | [1] 6451
> | @08:05:52,leslie@pinto
> | ~
> | $ icecat: command not found
> | [1]+  Exit 127                icecat
> |
> | @08:05:57,leslie@pinto
> | ~
> | $ /usr/local/bin/icecat&
> | [1] 6537
> | bash: /usr/local/bin/icecat: Too many levels of symbolic links
> | [1]+  Exit 126                /usr/local/bin/icecat
>
> 	Hmm... but then,
>
> | @08:06:04,leslie@pinto
> | ~
> | $ /usr/local/icecat/icecat&
> | [1] 6953
> | @08:06:52,leslie@pinto
> | ~
> | $ 1600175213915 addons.webextension.tortm-browser-button@jeremybenthum 
> | WARN
>
> Please specify whether you want browser_style or not in your browser_action
> options.
>
> | 1600175213916   addons.webextension.https-everywhere@...    WARN
>
> Please specify whether you want browser_style or not in your browser_action
> options.
>
> | JavaScript error: resource://activity-stream/lib/Screenshots.jsm, line
> | 102:
>
> TypeError: cache is undefined
>
> | JavaScript error: resource://activity-stream/lib/Screenshots.jsm, line
> | 102:
>
> TypeError: cache is undefined
>
> | JavaScript error: resource://activity-stream/lib/Screenshots.jsm, line
> | 102:
>
> TypeError: cache is undefined
>
> | JavaScript error: resource://activity-stream/lib/Screenshots.jsm, line
> | 102:
>
> TypeError: cache is undefined
>
> | JavaScript error: resource://activity-stream/lib/Screenshots.jsm, line
> | 102:
>
> TypeError: cache is undefined
>
> | console.log: Accessibility service init or shutdown observer does not
> | exist. *** UTM:SVC TimerManager:registerTimer called after
> | profile-before-change
>
> notification. Ignoring timer registration for id: telemetry_modules_ping
>
> | [1]+  Done                    /usr/local/icecat/icecat
>
> 	Anyone know why this symlink failed?
>
> Leslie

I did not have this experience; but then, I went about it following my own 
steps, and manually inserting the symlink. 

Bill
_______________________________________________
tde-users mailing list -- users@...
To unsubscribe send an email to users-leave@...
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@...