Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 26 May 2019, 05:20
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Right-click menu shows items I've hidden [jwm] (Solved)
Moderators: Flash, Ian, JohnMurga
Post new topic   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
proebler

Joined: 24 Jan 2012
Posts: 147
Location: TAS

PostPosted: Mon 02 Jul 2018, 02:48    Post subject:  Right-click menu shows items I've hidden [jwm] (Solved)  

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
F12.jpg
 Description   F12 used
 Filesize   34.19 KB
 Viewed   205 Time(s)

F12.jpg

right-click-desktop.jpg
 Description   right-click used
 Filesize   37.26 KB
 Viewed   206 Time(s)

right-click-desktop.jpg


Last edited by proebler on Tue 03 Jul 2018, 06:21; edited 1 time in total
Back to top
View user's profile Send private message 
HerrBert

Joined: 03 Nov 2016
Posts: 71
Location: NRW, Germany

PostPosted: Tue 03 Jul 2018, 04:14    Post subject:  

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:
<!-- 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
Back to top
View user's profile Send private message 
nic007


Joined: 13 Nov 2011
Posts: 2923
Location: Cradle of Humankind

PostPosted: Tue 03 Jul 2018, 05:40    Post subject:  

Generally you will have to run the command "fixmenus" and restart JWM for any changes to stick.
Back to top
View user's profile Send private message 
proebler

Joined: 24 Jan 2012
Posts: 147
Location: TAS

PostPosted: Tue 03 Jul 2018, 06:01    Post subject: right-click menu puzzle [jwm]  

@ 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. Very Happy
Vielen Dank!
proebler
Back to top
View user's profile Send private message 
gychang


Joined: 29 Nov 2008
Posts: 278
Location: San Diego, CA

PostPosted: Fri 12 Apr 2019, 12:25    Post subject: Re: right-click menu puzzle [jwm]  

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. Very Happy
Vielen Dank!
proebler


I am having the same issue with bionicpup64, but there is no directory or the file...,

_________________
---
trying to learn puppylinux...
---
Back to top
View user's profile Send private message 
HerrBert

Joined: 03 Nov 2016
Posts: 71
Location: NRW, Germany

PostPosted: Fri 12 Apr 2019, 13:39    Post subject:  

sorry, but i'm not familiar with bionicpup.

maybe someone else can jump in to help?
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 13224
Location: Arizona USA

PostPosted: Fri 12 Apr 2019, 23:09    Post subject:  

Gychang, you'll have better luck if you start a new thread describing your problem, rather than adding to this old thread.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0520s ][ Queries: 12 (0.0201s) ][ GZIP on ]