How end 2.14 right-click on desktop displays the JWM menu?

Booting, installing, newbie
Post Reply
Message
Author
FuturePerfect
Posts: 47
Joined: Fri 01 Sep 2006, 02:40
Location: Southwestern U.S.

How end 2.14 right-click on desktop displays the JWM menu?

#1 Post by FuturePerfect »

How do I end the behavior that a right-click on the desktop on Puppy 2.14 displays the JWM Puppy main menu?

Building on rarsa's good information in
http://www.murga-linux.com/puppy/viewto ... 53&t=15659
I tried editing .jwmrc/etc/xdg/templates/_root_.jwmrc

Since the JWM documentation at
http://www.joewing.net/programs/jwm/config.shtml#root
pointed me to look at <RootMenu ... onroot="3">
as the place in that file where menu activation occurred,

I figured maybe if I changed it to ... onroot="0">
that would turn off the menu from a desktop right-click.

But after I saved the change and rebooted, I saw that the file rarsa pointed out as being generated from that template that actually control's JWM menu (the file /root/.jwmrc) was not changed and still showed ... onroot="3">

I went back to _root_.jwmrc and changed the entry to ... onroot="9"> and rebooted again, but still no change in .jwmrc

What am I doing wrong?

Thanks for a detailed reply--I am a newbie and without the other people in the forum I would be helpless.

Kal
Posts: 626
Joined: Thu 05 May 2005, 16:59
Location: California, High Desert

Change button

#2 Post by Kal »

I have changed it to the number 2 button on my computer to bring up the menu. You have to change from 3 to 2 in five places, to do so. Make sure you save your changes in text editor.

1. In /etc/xdg/templates/_root_.jwmrc in line 7 and 151 (these numbers have known to vary a little).

<RootMenu label="Menu" labeled="false" height="0" onroot="2">
<Key mask="A" key="F1">root:2</Key>

2. In /root/.jwmrc-tray in line 4 (hidden, left click eye in toolbar)

<TrayButton label="Menu" icon="mini-dog.xpm">root:2</TrayButton>

3. In /root/.jwm/jwmrc-personal in line 37 and 44 (note .jwm is a folder)

<Key key="F12">root:2</Key>
<Key mask="A" key="F1">root:2</Key>

Then do a "fixmenus" in terminal (without ") and Restart JWM. in Shutdown of main menu.
In terminal "jwm -p" will tell you if there are any problems.

Good Luck, Kal

FuturePerfect
Posts: 47
Joined: Fri 01 Sep 2006, 02:40
Location: Southwestern U.S.

#3 Post by FuturePerfect »

Kal:

Thank you! Holy cow, I would have never figured that out by myself. Your instructions were great. Worked perfectly.

Technically I can still get the JWM Puppy main menu to pop up anywhere on the desktop by clicking on my scroll wheel (which is of course the number 2 button I used from your instructions).

Could I keep any button from displaying this main menu from the desktop (my ultimate objective) by substituting 0, 6, 7, 8, or 9 for 2? Or by doing something else?

The JWM documentation says "...accessing root menus that are assigned to buttons 0, 6, 7, 8, or 9 will require the use of a tray button or key binding." Does this mean substituting one of these other button numbers to totally disable displaying the JWM Puppy main menu from the desktop is impossible or too complex?

Thanks again!

User avatar
eMeRy
Posts: 86
Joined: Sun 22 Jan 2006, 20:22
Location: Hungary,Europe

#4 Post by eMeRy »

I suggest first save the files than change '2' to '0'.
It worth a try.
It should work, I think. If I wrong, you can simple change back the original ones.

Kal
Posts: 626
Joined: Thu 05 May 2005, 16:59
Location: California, High Desert

#5 Post by Kal »

I just used "0" for "2" and no problem in all the places. Your welcome.
Good Luck, Kal

FuturePerfect
Posts: 47
Joined: Fri 01 Sep 2006, 02:40
Location: Southwestern U.S.

#6 Post by FuturePerfect »

Thanks! With changes of the above entires to 0 working perfectly, I now no longer have to endure the wrath of former Windows users asking me why a right click on the desktop brings up the main menu.

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#7 Post by trapster »

I now no longer have to endure the wrath of former Windows users asking me why a right click on the desktop brings up the main menu.
Just tell them "because it's suppose to".

If everything looks and runs and acts like windows, it might as well be windows. :)
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

Post Reply