Bookmark Menu

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
pmunix

Bookmark Menu

Unread post by pmunix » 2018-02-26, 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

Re: Bookmark Menu

Unread post by pmunix » 2018-02-27, 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

Re: Bookmark Menu

Unread post by GMforker » 2018-02-27, 17:56

This settings is in the user profile:

xulstore.json

Code: Select all

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

New Tobin Paradigm

Re: Bookmark Menu

Unread post by New Tobin Paradigm » 2018-02-27, 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 2018-02-27, 19:17, edited 2 times in total.

User avatar
Isengrim
Board Warrior
Board Warrior
Posts: 1325
Joined: 2015-09-08, 22:54
Location: 127.0.0.1
Contact:

Re: Bookmark Menu

Unread post by Isengrim » 2018-02-27, 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 2018-02-27, 20:08, edited 3 times in total.
a.k.a. Ascrod
Linux Mint 19.3 Cinnamon (64-bit), Debian Bullseye (64-bit), Windows 7 (64-bit)
"As long as there is someone who will appreciate the work involved in the creation, the effort is time well spent." ~ Tetsuzou Kamadani, Cave Story

GMforker

Re: Bookmark Menu

Unread post by GMforker » 2018-02-27, 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.

New Tobin Paradigm

Re: Bookmark Menu

Unread post by New Tobin Paradigm » 2018-02-27, 20:29

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

Fedor2

Re: Bookmark Menu

Unread post by Fedor2 » 2018-02-27, 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.

New Tobin Paradigm

Re: Bookmark Menu

Unread post by New Tobin Paradigm » 2018-02-27, 21:27

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

pmunix

Re: Bookmark Menu

Unread post by pmunix » 2018-02-28, 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

New Tobin Paradigm

Re: Bookmark Menu

Unread post by New Tobin Paradigm » 2018-02-28, 17:17

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

JustOff

Re: Bookmark Menu

Unread post by JustOff » 2018-02-28, 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 2018-02-28, 17:24, edited 1 time in total.

New Tobin Paradigm

Re: Bookmark Menu

Unread post by New Tobin Paradigm » 2018-02-28, 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 2018-02-28, 17:31, edited 2 times in total.

pmunix

Re: Bookmark Menu

Unread post by pmunix » 2018-02-28, 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.

New Tobin Paradigm

Re: Bookmark Menu

Unread post by New Tobin Paradigm » 2018-02-28, 17:50

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

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

JustOff

Re: Bookmark Menu

Unread post by JustOff » 2018-02-28, 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 2018-02-28, 18:45, edited 2 times in total.

pmunix

Re: Bookmark Menu

Unread post by pmunix » 2018-02-28, 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?

Fedor2

Re: Bookmark Menu

Unread post by Fedor2 » 2018-02-28, 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: 471
Joined: 2014-05-17, 15:51
Location: USA

Re: Bookmark Menu

Unread post by riiis » 2018-02-28, 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 2018-02-28, 19:32, edited 1 time in total.

New Tobin Paradigm

Re: Bookmark Menu

Unread post by New Tobin Paradigm » 2018-02-28, 19:43

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

Locked