Pmenu - Puppy Menu Editor

Window managers, icon programs, widgets, etc.
Message
Author
big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#40 Post by big_bass »

Hey trapster

a great app !
and your coding is logical to follow
I did some minor tweaks to make the JWM auto update the menu
to reflect instant changes you make in the GUI
I added jemimah's fix also --- thanks jemimah

*using TXZ packages I can permanently remove the apps from the OS
but your program is useful to hide the apps from users that may be confused by so many apps in the menu

thanks

I am posting the TXZ package for anyone that is using TXZ-pup
since a slack-desc file is also required


http://www.puppy2.org/slaxer/Pmenu-1-i486-3_SLXR.txz



# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|' on
# the right side marks the last column you can put a character in. You must make
# exactly 11 lines for the formatting to be correct. It's also customary to
# leave one space after the ':'.

|-----handy-ruler------------------------------------------------------|
Pmenu: Pmenu (trapster)
Pmenu:
Pmenu: http://www.murga-linux.com
Pmenu: /puppy/viewtopic.php?t=40277&search_id=809322187
Pmenu: hide clutter from menu
Pmenu: with fix by Jemimah to not require GUI reloads april 2010
Pmenu: with auto refresh JWM menu big_bass sept 3 2010
Pmenu:
Pmenu: Package created for TXZ_pup
Pmenu:
Pmenu:





here is diff against the fix by Jemimah
so you can see what changed between them

Code: Select all

--- /root/Downloads/Pmenu.0.1/usr/local/pmenu/pmenu	2010-04-14 23:36:52.000000000 +0800
+++ /root/Pmenu-1/usr/local/pmenu/pmenu	2010-09-03 10:08:28.000000000 +0800
@@ -2,6 +2,9 @@
 #created trapster March 2009 for Puppy 4.00, GPL
 #fix by Jemimah to not require GUI reloads april 2010
 
+# sept 3 2010
+#fix by big_bass to auto update JWM and fixmenus to reflect changes instantly in the menu
+
 #finds all items currently listed in the menu...
 /usr/local/pmenu/current_list.sh #writes to /usr/local/pmenu/current_list.txt
 
@@ -13,13 +16,14 @@ export PMENU="<window title=\"Pmenu edit
 
 <vbox>
  <hbox>
-  <text use-markup=\"true\"><label>\"<b>PUPPY MENU EDITOR                                  
+  <text use-markup=\"true\"><label>\"<b>JWM MENU EDITOR                                  
   </b>\"</label></text>
   </hbox>
   <hbox>
   <vbox>
 <frame Choose an Item Below to Have it Removed From the Menu Only        >
 <table>
+
 <label>Current Menu Item</label>
 <height>200</height>
     <variable>TREE1</variable>
@@ -27,11 +31,16 @@ export PMENU="<window title=\"Pmenu edit
     <action>/usr/local/pmenu/remove_item.sh \$TREE1</action>
     <action>/usr/local/pmenu/current_list.sh</action>
     <action>/usr/local/pmenu/removed_list.sh</action>
+    <action>fixmenus</action>
+    <action>jwm -restart</action>
     <action>Clear:TREE1</action>
     <action>Refresh:TREE1</action>
     <action>Clear:TREE2</action>
     <action>Refresh:TREE2</action>
+   
 </table>
+
+
 </frame>
   </vbox>
  </hbox>
@@ -45,13 +54,15 @@ export PMENU="<window title=\"Pmenu edit
     <action>/usr/local/pmenu/add_item.sh \$TREE2</action>
     <action>/usr/local/pmenu/removed_list.sh</action>
     <action>/usr/local/pmenu/current_list.sh</action>
+    <action>fixmenus</action>
+    <action>jwm -restart</action>
     <action>Clear:TREE2</action>
     <action>Refresh:TREE2</action>
     <action>Clear:TREE1</action>
     <action>Refresh:TREE1</action>
+    
 </table>
     
-<button><label>Refresh Menu</label><action>fixmenus</action></button>
 <button><label>Close</label><action>/usr/local/pmenu/close.sh</action></button>
  </frame>
 </hbox>

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#41 Post by jemimah »

Big_bass, check out afishe2000's improvements as well!

http://murga-linux.com/puppy/viewtopic.php?t=57805

its-me-again
Posts: 109
Joined: Thu 29 Apr 2010, 05:23

#42 Post by its-me-again »

zigbert wrote:Trapster
Your Pmenu is better as a standalone app. The one in Stardust is a configuration tool depending on jwm. Sorry for using the same name. - I wasn't aware of your work.


Sigmund
hi where can we get your version of pmenu. you mention. is it this http://www.murga-linux.com/puppy/viewtopic.php?t=40277

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

#43 Post by trapster »

trapster
Maine, USA

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

Post Reply