Bookmark Menu

Support and discussions for the x86/x64 Linux version of Pale Moon.

Moderators: trava90, satrow

pmunix
Moongazer
Moongazer
Posts: 7
Joined: Mon, 26 Feb 2018, 16:47

Bookmark Menu

Unread postby pmunix » Mon, 26 Feb 2018, 17:36

Super fast browser!

Small issue but would like to enable it for our many users.

What is the best way to hide the Bookmark Menu for all users. So not a per user setting, but for all users on a system.
From the browser itself it is simple, but is there configuration to do it?

pmunix
Moongazer
Moongazer
Posts: 7
Joined: Mon, 26 Feb 2018, 16:47

Re: Bookmark Menu

Unread postby pmunix » Tue, 27 Feb 2018, 17:28

I add a picture to show how it looks. My browser is in Dutch.
It is called the Bookmark Menu...and I want to hide it. Not in the GI but in configuration.

palemoon-bookmark-menu.png

GMforker
Astronaut
Astronaut
Posts: 537
Joined: Thu, 27 Aug 2015, 06:29
Location: Czech Republic

Re: Bookmark Menu

Unread postby GMforker » Tue, 27 Feb 2018, 17:56

This settings is in the user profile:

xulstore.json

Code: Select all

"PersonalToolbar":{"collapsed":"true"} (or "false")
Last edited by GMforker on Tue, 27 Feb 2018, 17:56, edited 1 time in total.

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 4778
Joined: Tue, 09 Oct 2012, 19:37

Re: Bookmark Menu

Unread postby New Tobin Paradigm » Tue, 27 Feb 2018, 19:15

Why the HELL are you telling someone to edit profile.. files manually.. What you even suggested someone UNWISELY do won't even do what they want...
Last edited by New Tobin Paradigm on Tue, 27 Feb 2018, 19:17, edited 2 times in total.
Image

== We got to install microwave ovens / Custom kitchen deliveries / We got to move these refrigerators / We got to move these color TVs ==
http://binaryoutcast.com/ | http://thereisonlyxul.org/

User avatar
Isengrim
Astronaut
Astronaut
Posts: 548
Joined: Tue, 08 Sep 2015, 22:54
Location: 127.0.0.1
Contact:

Re: Bookmark Menu

Unread postby Isengrim » Tue, 27 Feb 2018, 19:41

Does right clicking next to the menu bar and unchecking "Bookmarks Toolbar" in the list not accomplish this?

Edit: Oops, just ignore me.
Last edited by Isengrim on Tue, 27 Feb 2018, 20:08, edited 3 times in total.
Linux Mint 18.3 Cinnamon (64-bit)
Windows 7 (64-bit) (Sometimes)
Windows 10 build 1803 (64-bit) (Sometimes)
We are our choices.

GMforker
Astronaut
Astronaut
Posts: 537
Joined: Thu, 27 Aug 2015, 06:29
Location: Czech Republic

Re: Bookmark Menu

Unread postby GMforker » Tue, 27 Feb 2018, 19:48

New Tobin Paradigm wrote:Why the HELL are you telling someone to edit profile.. files manually..

No, I just wrote where this setting is stored.

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 4778
Joined: Tue, 09 Oct 2012, 19:37

Re: Bookmark Menu

Unread postby New Tobin Paradigm » Tue, 27 Feb 2018, 20:29

Except.. that has NOTHING to do with what he is asking.. That would only apply for established profiles..
Image

== We got to install microwave ovens / Custom kitchen deliveries / We got to move these refrigerators / We got to move these color TVs ==
http://binaryoutcast.com/ | http://thereisonlyxul.org/

User avatar
Fedor2
Astronaut
Astronaut
Posts: 558
Joined: Mon, 11 Apr 2016, 01:26

Re: Bookmark Menu

Unread postby Fedor2 » Tue, 27 Feb 2018, 21:02

You may be do the hack of the profile creation, i think it is stored in omni.jar in some java code, so you can unpack, make the needed editions and pack back.

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 4778
Joined: Tue, 09 Oct 2012, 19:37

Re: Bookmark Menu

Unread postby New Tobin Paradigm » Tue, 27 Feb 2018, 21:27

In any event, I see no reason to instruct someone on how to do unwise and unsupported things.
Image

== We got to install microwave ovens / Custom kitchen deliveries / We got to move these refrigerators / We got to move these color TVs ==
http://binaryoutcast.com/ | http://thereisonlyxul.org/

pmunix
Moongazer
Moongazer
Posts: 7
Joined: Mon, 26 Feb 2018, 16:47

Re: Bookmark Menu

Unread postby pmunix » Wed, 28 Feb 2018, 17:00

Thanks for your help. This is a deep "inside job".
Would be nice if we could think of a way to make this more simple.

This is what I did:

- mkdir /tmp/temp #made a temp directory
- cp /opt/palemoon/browser/omni.ja /tmp/temp #copied /opt/palemoon/browser/omni.ja to it
- cd /tmp/temp # cd
- unzip omni.ja # unzip it
- vi chrome/browser/content/browser/browser.xul # edit it

change

<toolbar id="PersonalToolbar"
mode="icons" iconsize="small" defaulticonsize="small"
lockiconsize="true"
class="chromeclass-directories"
context="toolbar-context-menu"
defaultset="personal-bookmarks"
toolbarname="&personalbarCmd.label;" accesskey="&personalbarCmd.accesskey;"
collapsed="false"
customizable="true">

to


<toolbar id="PersonalToolbar"
mode="icons" iconsize="small" defaulticonsize="small"
lockiconsize="true"
class="chromeclass-directories"
context="toolbar-context-menu"
defaultset="personal-bookmarks"
toolbarname="&personalbarCmd.label;" accesskey="&personalbarCmd.accesskey;"
collapsed="true"
customizable="true">

So the collapsed is now “true”.

- rm omni.ja # delete the old file
- zip -r omni.ja * # made a new omni.ja file
- cp /tmp/temp/omni.ja /opt/palemoon/browser/omni.ja # copied it back

Now every new user (or user with a removed profile) gets a collapsed PersonalToolbar / Bookmark Menu

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 4778
Joined: Tue, 09 Oct 2012, 19:37

Re: Bookmark Menu

Unread postby New Tobin Paradigm » Wed, 28 Feb 2018, 17:17

I hope you don't plan on redistributing this.. Cause it won't be allowed with official branding.
Image

== We got to install microwave ovens / Custom kitchen deliveries / We got to move these refrigerators / We got to move these color TVs ==
http://binaryoutcast.com/ | http://thereisonlyxul.org/

User avatar
JustOff
Localization Coordinator
Localization Coordinator
Posts: 1579
Joined: Thu, 03 Sep 2015, 19:47
Location: UA
Contact:

Re: Bookmark Menu

Unread postby JustOff » Wed, 28 Feb 2018, 17:19

IMHO, this is a wrong and dangerous way that one should not recommend to anyone, let alone give detailed instructions. The same can be easily and safely done using an extension that can be enabled by default for all profiles.
Last edited by JustOff on Wed, 28 Feb 2018, 17:24, edited 1 time in total.
Here are the add-ons I made in a spare time. That was fun!

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 4778
Joined: Tue, 09 Oct 2012, 19:37

Re: Bookmark Menu

Unread postby New Tobin Paradigm » Wed, 28 Feb 2018, 17:26

Glad someone else sees this..

Ignore the WebExtensions bits.. Most of that document still applies even to us.. I wish I could find the original resource that described the distribution/extensions directories..
Last edited by New Tobin Paradigm on Wed, 28 Feb 2018, 17:31, edited 2 times in total.
Image

== We got to install microwave ovens / Custom kitchen deliveries / We got to move these refrigerators / We got to move these color TVs ==
http://binaryoutcast.com/ | http://thereisonlyxul.org/

pmunix
Moongazer
Moongazer
Posts: 7
Joined: Mon, 26 Feb 2018, 16:47

Re: Bookmark Menu

Unread postby pmunix » Wed, 28 Feb 2018, 17:44

What could be wrong with hiding a Bookmark Menu?
It uses space in a browser window and is filled with standard links most people don't use.

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 4778
Joined: Tue, 09 Oct 2012, 19:37

Re: Bookmark Menu

Unread postby New Tobin Paradigm » Wed, 28 Feb 2018, 17:50

Whatever this person decides to do they best not distribute it with official branding...

http://www.palemoon.org/redist.shtml
Image

== We got to install microwave ovens / Custom kitchen deliveries / We got to move these refrigerators / We got to move these color TVs ==
http://binaryoutcast.com/ | http://thereisonlyxul.org/

User avatar
JustOff
Localization Coordinator
Localization Coordinator
Posts: 1579
Joined: Thu, 03 Sep 2015, 19:47
Location: UA
Contact:

Re: Bookmark Menu

Unread postby JustOff » Wed, 28 Feb 2018, 18:01

There is nothing wrong with hiding a Bookmarks Menu Toolbar, but editing omni.ja is definitely a bad idea.

PS: And, of course, the distribution license should also be respected if you plan to publish the package that was modified in any way.
Last edited by JustOff on Wed, 28 Feb 2018, 18:45, edited 2 times in total.
Here are the add-ons I made in a spare time. That was fun!

pmunix
Moongazer
Moongazer
Posts: 7
Joined: Mon, 26 Feb 2018, 16:47

Re: Bookmark Menu

Unread postby pmunix » Wed, 28 Feb 2018, 18:16

There is no redistribution of the package. Only usage.

I don’t like to have the standard Bookmark menu compulsory. That’s all.

Maybe it can be done in configuration in the future?

User avatar
Fedor2
Astronaut
Astronaut
Posts: 558
Joined: Mon, 11 Apr 2016, 01:26

Re: Bookmark Menu

Unread postby Fedor2 » Wed, 28 Feb 2018, 18:50

Without repacking omni.ja, i got on mind a method used to cancel addon signing requirement in newer firefox - crafted config.js in browser folder

riiis
Lunatic
Lunatic
Posts: 432
Joined: Sat, 17 May 2014, 15:51
Location: USA

Re: Bookmark Menu

Unread postby riiis » Wed, 28 Feb 2018, 19:26

Off-topic:
Note the "omni.ja" file is not a standard archive file. For example, omni.ja (even if renamed to omni.jar or omni.zip) can not be opened with the popular archive manager 7-Zip. When the edited contents of omni.ja are re-zipped, there is no certainty that the new omni.ja is in the same format as the original omni.ja.
extract-omni-fails.jpg
pmunix wrote:Small issue but would like to enable it for our many users.
What is the best way to hide the Bookmark Menu [Bookmarks Toolbar] for all users on a system.
This is what I did:
...
Now every new user (or user with a removed profile) gets a collapsed PersonalToolbar / Bookmark Menu [Bookmarks Toolbar]
What could be wrong with hiding a Bookmark Menu [Bookmarks Toolbar]? It uses space in a browser window and is filled with standard links most people don't use.

A new forum user. Appears to have above-average technical knowledge. Yet, posts bizarre question and provides an even more bizarre response to this very same question. Perhaps the forum is being trolled? In recent weeks, there seems to be several posts to this forum, of similar nature.
Last edited by riiis on Wed, 28 Feb 2018, 19:32, edited 1 time in total.

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 4778
Joined: Tue, 09 Oct 2012, 19:37

Re: Bookmark Menu

Unread postby New Tobin Paradigm » Wed, 28 Feb 2018, 19:43

I kinda agree.. But I can't tell if this is the case in this instance..
Image

== We got to install microwave ovens / Custom kitchen deliveries / We got to move these refrigerators / We got to move these color TVs ==
http://binaryoutcast.com/ | http://thereisonlyxul.org/


Return to “Pale Moon for Linux”

Who is online

Users browsing this forum: No registered users and 6 guests