SimplePuppyMenu3 (spm3) is a menu system for 'menuless' wm like echinus and dwm. The menu is similar to the jwm-menu, but no icons and no differentiated subcategories. the menu itself is run via mygtkmenu.
spm3 is the successor/brother of spm2 (see here: http://www.murga-linux.com/puppy/viewtopic.php?p=602434). Whilst spm2 uses aemenu to display the menu, spm3 uses mygtkmenu. Reason is, the i have difficulties with running aemenu successfully in/with some windowmanagers (e.g. dwm). With mygtkmenu this does not happen.
spm3 consists of only one ash-script to parse the desktop-files and generate the menu-file.
It is based on the famous jwm-tools by technosaurus (many thanks). See here for more details: http://www.murga-linux.com/puppy/viewtopic.php?t=70804
To make use of spm3, you should assign a keyboard-shortcut to 'spm3 -m'. how to do that depends on your wm.
Update Menu and help for spm3 could also be reached from the menu itself.
Some Notes:
- spm3 checks only the first category of the desktop-file.
- spm3 will use the text in your $LANG if available in the desktop-file.
Dependency is mygtkmenu (attached).
Tested in Puppy 4.31.
aragon
SimplePuppyMenu3 (spm3)
SimplePuppyMenu3 (spm3)
- Attachments
-
- spm3.png
- (61.82 KiB) Downloaded 1451 times
-
- spm3-0.1.pet
- (3.47 KiB) Downloaded 978 times
-
- mygtkmenu-1.3.pet
- (15.17 KiB) Downloaded 946 times
Last edited by aragon on Tue 12 Feb 2013, 11:54, edited 1 time in total.
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
True, i neither don't like the syntax. But as it's more stable, at least for me, i'll stick with mygtkmenu.musher0 wrote:However, for the advanced end-user, the gtkmenu entries are more complicated to understand and change than the one-line entries in aemenu. Just an observation.
Best regards.
aragon
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Musher0 how would you translate 'de fil en aiguille' ?
De fil en aiguille j'en suis arrivé ici. Ah voilà un menu simple mais qui me plait.
I start with echinus > aragon > Musher0 that lead me here..
I was disscussingwith Musher about menu with only icons, no need of translation.
SPM3 is the opposite, and it ... please me.
Musher0 how would you translate 'de fil en aiguille' ?
I start with echinus > aragon > Musher0 that lead me here..
I was disscussingwith Musher about menu with only icons, no need of translation.
SPM3 is the opposite, and it ... please me.
Musher0 how would you translate 'de fil en aiguille' ?
Hi jplt3.
Strange... This is the error I am getting on jrb's upupbb32-light:
BTW, aragon did not mention it explicitly above, but the script has 4 possible calls
(from the embedded doc within the script)
Another thought: you are on a 64-bit Pup and the mygtkmenu utility on this page is 32-bit.
The bash script will run on either 64- or 32-bit, it does not matter; but the exec
mygtkmenu would probably have to recompiled on a 64-bit Pup.
IHTH. TWYL.
Strange... This is the error I am getting on jrb's upupbb32-light:
I wish aragon was still around![~]>spm3 -h
/usr/bin/spm3: line 197: syntax error near unexpected token `done'
/usr/bin/spm3: line 197: ` done depends on your windowmanager. The menu will be created on'
[~]>spm3 -c
/usr/bin/spm3: line 197: syntax error near unexpected token `done'
/usr/bin/spm3: line 197: ` done depends on your windowmanager. The menu will be created on'
BTW, aragon did not mention it explicitly above, but the script has 4 possible calls
(from the embedded doc within the script)
Code: Select all
echo "----------------------------------------
spm3 - SimplePuppyMenu 3
----------------------------------------
Info: Creates and displays a simplified xdg-menu using mygtkmenu.
Syntax: spm3 [option]
Options: -c Create the menu-file
-m Display the menu
-v Display version info
-h Display help
Usage: To use spm3, assign a keyboard-shortcut to 'spm3 -m'. How this is
done depends on your windowmanager. The menu will be created on
first run (it will be written to /tmp and rebuild on every boot).
You can also recreate the menu from the spm3-submenu.
Own Entries: To include your own 'Favorites', create the file
/root/.config/spm3/favorites and add your favorites. For syntax
see the sample file at /usr/share/doc/spm3
To include your own entries at the top/bottom of the menu, create
the file /root/.config/spm3/top and/or /root/.config/spm3/bottom.
For syntax see the sample file.
Note: spm3 only uses the first category-entry of a desktop-file.
Version: ${spm3version}
----------------------------------------"
The bash script will run on either 64- or 32-bit, it does not matter; but the exec
mygtkmenu would probably have to recompiled on a 64-bit Pup.
IHTH. TWYL.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)