Right-click menu shows items I've hidden [jwm] (Solved)

Using applications, configuring, problems
Locked
Message
Author
proebler
Posts: 178
Joined: Tue 24 Jan 2012, 11:15
Location: TAS

Right-click menu shows items I've hidden [jwm] (Solved)

#1 Post by proebler »

There are three ways to bring up the main menu in Puppy:
The Menu button in the tray, or using F12 or right-clicking the desktop.

I have set up a customized Puppy based on upupbb-18.05 [Bionic-Beaver] in which I hide most of the main menu items.
The main menu shows what/how I want it, when I bring it up through the Menu button or through F12.

However when I bring it up by right-clicking the desktop, then all menu categories are shown, including the ones which I have hidden.
No [sub] menu entries are shown, provided they have all been hidden with the Menu Manager.

I load LibreOffice from SFS at boot.
Since I have hidden the main menu categories Graphic, Document, Business and Personal, LibreOffice's applications do not show when the Menu button or F12 are used. This is how I want it.

However when right-click is used to show the main menu, then LibreOffice applications show in categories Graphic, Document, Business and Personal.
The entries for LibreOffice 'Draw' in the Graphic category are in triplicate.

Is there a way to modify what the right-click main menu shows?
I have not been able to locate the file which sets that menu.
I know how to customize /root/.jwmrc [even how not to show the LibreOffice apps within their categories when the latter are not hidden].

thanks
proebler
Attachments
F12.jpg
F12 used
(34.19 KiB) Downloaded 288 times
right-click-desktop.jpg
right-click used
(37.26 KiB) Downloaded 294 times
Last edited by proebler on Tue 03 Jul 2018, 10:21, edited 1 time in total.

HerrBert
Posts: 152
Joined: Thu 03 Nov 2016, 15:11
Location: NRW, Germany

#2 Post by HerrBert »

IIRC tray-button and f12 are configured in /etc/xdg/templates/_root_.jwmrc as root:9, whereas rightclicking is generated by a script. ~/.jwm/root_menus/menu3 is a link to it.

Code: Select all

<!-- root menus for MOUSE activation -->
...
<RootMenu label="3" labeled="false" height="24" onroot="3"><Include>exec:$HOME/.jwm/root_menus/menu3</Include></RootMenu>
...
<!-- jwm menus for puppy Linux -->
<RootMenu label="Menu" labeled="false" height="24" onroot="9">
HTH

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#3 Post by nic007 »

Generally you will have to run the command "fixmenus" and restart JWM for any changes to stick.

proebler
Posts: 178
Joined: Tue 24 Jan 2012, 11:15
Location: TAS

right-click menu puzzle [jwm]

#4 Post by proebler »

@ HerrBert
thank you for pointing me in the right direction.
By modifying /usr/local/jwm_config/menu_build_main I can achieve what I want.
I have the main menu, brought up with right-click on the desktop, now showing the same as with F12 or the tray button. :D
Vielen Dank!
proebler

User avatar
gychang
Posts: 414
Joined: Sat 29 Nov 2008, 20:30
Location: San Diego, CA

Re: right-click menu puzzle [jwm]

#5 Post by gychang »

proebler wrote:@ HerrBert
thank you for pointing me in the right direction.
By modifying /usr/local/jwm_config/menu_build_main I can achieve what I want.
I have the main menu, brought up with right-click on the desktop, now showing the same as with F12 or the tray button. :D
Vielen Dank!
proebler
I am having the same issue with bionicpup64, but there is no directory or the file...,
---
trying to learn puppylinux... :D
---

HerrBert
Posts: 152
Joined: Thu 03 Nov 2016, 15:11
Location: NRW, Germany

#6 Post by HerrBert »

sorry, but i'm not familiar with bionicpup.

maybe someone else can jump in to help?

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#7 Post by Flash »

Gychang, you'll have better luck if you start a new thread describing your problem, rather than adding to this old thread.

Locked