Where did LibreJS go?
- Inicie sesión o regístrese para enviar comentarios
A couple of times I decided to disable and then enable LibreJS and now I can't get it back. This happened once before and I solved it by reinstalling IceCat. This time I tried running icecat as root and I also created a temporary regular user to run icecat. LibreJS works with those other users. So I figured it is the settings, so I moved ~/.mozilla/icecat to ~/BAK.icecat and still LibreJS is missing. Is there a better solution than either:
1.) Never disable LibreJS
2.) Or disable LibreJS and reinstall icecat to enable it again?
I'm not sure you're providing enough information. It would be helpful to say how you go about disabling it and what happens when you try to turn it on again. For example: You go to Tools, Add-ons, and then...? It should be as easy as clicking the Enable button. Or is LibreJS not shown there or what? You do not say. :) Either way re-installing the browser to get an add-on back seems too much, especially since it is available via one-click install from the LibreJS website: http://www.gnu.org/software/librejs/
"I'm not sure you're providing enough information."
You are right, sorry about that.
To disable and enable I click the button with three horizontal bars and choose "addons" Then I see my addons and there are five of them, which are:
GNU LibreJS 6.0.10 (re-installed as part of troubleshooting)
HTML5 Video Everywhere! 0.3.4
HTTPS-Everywhere 5.1.3.asyncbeta1
IceCat Home 1.0
SpyBlock 2.6.9.0
The way I disabled LibreJS is choosing the button labeled "disable". There were two buttons previously "preferences" and "disable"; after re-installing LibreJS now I also have a third button "remove".
I started IceCat using a panel launcher in XFCE. I've used the launcher countless time successfully. When I tried loading IceCat as root and when I tried it as a new regular user, I ran IceCat by typing "icecat" in a terminal....which gives me an idea!
EDIT: I tried starting IceCat for my regular user by typing "icecat" in a terminal. It started IceCat, but I noticed a message in the terminal regarding a permission problem for the sessionstore.js file in ~/.mozilla/icecat/xblahblah
It turns out that file had owner and group as root. When I changed the owner and group of that file to my regular user, LibreJS reappeared!
I've since experimented with enabling/disabling LibreJS in icecat started in a terminal and icecat started from the panel launcher. It all works.
My only questions now are:
1.) Should I have changed the owner/group from root?
2.) How do you imagine this happened?
1 yes, everything under ~ should belong to you
2 you ran it as root with sudo icecat
(It's probably a bad idea to run it as root anyways but) if you wish to run graphical apps as root, use gksudo instead of sudo.
"1 yes, everything under ~ should belong to you
2 you ran it as root with sudo icecat"
Thank you. That makes sense.
I think I know what happened. Recently I've been trying alternate ways of starting a graphical session. From a VT I Usually type:
sudo lightdm
Then when I open gnome-terminal in XFCE I see my regular user name.
Experimenting with the startxfce4 command, in a VT, I typed:
sudo startxfce4
Then, when I opened gnome-terminal, I saw I was logged in as root. But I probably used icecat before opening gnome-terminal and discovering that I was logged in as root.
So I concluded I should use startxfce4 as a regular user:
startxfce4
Still, it is not clear to me why that would change my regular user's configuration files. It should just change root's configuration files. Also, I'm pretty sure I've experienced this problem before I've experimented with startxfce4
- Inicie sesión o regístrese para enviar comentarios