The time now is Wed 22 May 2013, 21:56
All times are UTC - 4 |
|
Page 3 of 3 [43 Posts] |
Goto page: Previous 1, 2, 3 |
| Author |
Message |
big_bass

Joined: 13 Aug 2007 Posts: 1736
|
Posted: Fri 03 Sep 2010, 11:28 Post subject:
|
|
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: |
--- /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>
|
_________________ slackware 14
|
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Fri 03 Sep 2010, 16:10 Post subject:
|
|
Big_bass, check out afishe2000's improvements as well!
http://murga-linux.com/puppy/viewtopic.php?t=57805
|
|
Back to top
|
|
 |
its-me-again
Joined: 29 Apr 2010 Posts: 109
|
Posted: Mon 17 Jan 2011, 05:54 Post subject:
|
|
| 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
|
|
Back to top
|
|
 |
trapster

Joined: 28 Nov 2005 Posts: 1966 Location: Maine, USA
|
Posted: Mon 17 Jan 2011, 13:27 Post subject:
|
|
Try This one
_________________ trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install:Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Puppeee-1.0 AND lupu52 w/ fluxbox
|
|
Back to top
|
|
 |
|
|
Page 3 of 3 [43 Posts] |
Goto page: Previous 1, 2, 3 |
|
|
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
|