(OLD) (ARCHIVED) Puppy Linux Discussion Forum Forum Index (OLD) (ARCHIVED) Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info

This forum can also be accessed as http://oldforum.puppylinux.com
It is now read-only and serves only as archives.

Please register over the NEW forum
https://forum.puppylinux.com
and continue your work there. Thank you.

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 26 Nov 2020, 11:09
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
SimplePuppyMenu3 (spm3)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Mon 04 Feb 2013, 09:09    Post subject:  SimplePuppyMenu3 (spm3)
Subject description: Light xdg-menu system
 

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
spm3.png
 Description   
 Filesize   61.82 KB
 Viewed   1537 Time(s)

spm3.png

spm3-0.1.pet
Description 
pet

 Download 
Filename  spm3-0.1.pet 
Filesize  3.47 KB 
Downloaded  1022 Time(s) 
mygtkmenu-1.3.pet
Description 
pet

 Download 
Filename  mygtkmenu-1.3.pet 
Filesize  15.17 KB 
Downloaded  993 Time(s) 

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html

Last edited by aragon on Tue 12 Feb 2013, 07:54; edited 1 time in total
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 15041
Location: Gatineau (Qc), Canada

PostPosted: Mon 04 Feb 2013, 10:41    Post subject:  

Many thanks, aragon !
_________________
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 15041
Location: Gatineau (Qc), Canada

PostPosted: Sat 09 Feb 2013, 10:01    Post subject:  

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.

_________________
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
Back to top
View user's profile Send private message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Tue 12 Feb 2013, 07:57    Post subject:  

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.

True, i neither don't like the syntax. But as it's more stable, at least for me, i'll stick with mygtkmenu.

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send private message 
Pelo

Joined: 10 Sep 2011
Posts: 12591
Location: Mer méditerrannée (1 kms°)

PostPosted: Thu 04 Feb 2016, 12:34    Post subject: 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' ?

_________________
Passenger Pelo ! don't ask him to repair the aircraft. Don't use him as a demining dog .... pleeease.
Back to top
View user's profile Send private message Yahoo Messenger 
jplt3


Joined: 08 Apr 2019
Posts: 118
Location: Planet Earth

PostPosted: Fri 01 Nov 2019, 07:40    Post subject:  

Hello ,

i'am trying to run spm3 on Bionicpup64 8.0 but i'have this error :

Quote:
/usr/bin/spm3: line 218: syntax error: unterminated quoted string


But i'am enable to find why ?
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 15041
Location: Gatineau (Qc), Canada

PostPosted: Fri 01 Nov 2019, 21:50    Post subject:  

Hi jplt3.

Strange... This is the error I am getting on jrb's upupbb32-light:
Quote:
[~]>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'
I wish aragon was still around!

BTW, aragon did not mention it explicitly above, but the script has 4 possible calls
(from the embedded doc within the script)
Code:
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}
----------------------------------------"


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.

_________________
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
Back to top
View user's profile Send private message 
jplt3


Joined: 08 Apr 2019
Posts: 118
Location: Planet Earth

PostPosted: Sat 02 Nov 2019, 09:58    Post subject:  

Thanks musher0 , i will maybe give it a try to get it work my 64 bits.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
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.0544s ][ Queries: 12 (0.0195s) ][ GZIP on ]