Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 28 Apr 2015, 10:42
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Suggestions
MJWM - alternative menu generator for JWM
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 2 Posts_count   Goto page: Previous 1, 2
Author Message

Joined: 20 May 2006
Posts: 6497
Location: Auckland, New Zealand

PostPosted: Mon 17 Mar 2014, 20:21    Post_subject:  

OK, guys, he's fixed both those issues you reported.

So Terry, what are the reasons for your one? Did you write it specifically because you wanted to implement a menu-root.lst, because Barry's and Techno's ones both hard-code the categories? Or are there other reasons for it as well?
And were you aware of the thread I linked above on implementing the /etc/xdg/menus/applications.menu? I saw your complaint about different menu systems using "proprietary crap", so I would have thought you'd go for that, instead of inventing your own proprietary system. Even if you had a tool that build menu-root.lst from applications.menu...

- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send_private_message 

Joined: 11 Oct 2008
Posts: 7904
Location: qld

PostPosted: Tue 18 Mar 2014, 02:35    Post_subject:  

Tried this in Slackware. Has all the usual problems; JWM needs the extension of the icons ; JWM doesn't handle the %f,%F, %u and %U very nicely. Perhaps the %X issues should be reported to Joe as this has been standard for a while. Puppy strips those off with a sed call if something is installed through PPM. Categories worked fine. No KDE programs are found because /usr/share/applications/kde4/ isn't searched unless you tell mjwm to, but I don't think it handles 2 locations at once. No big deal. Could work around that with a separate include. Not that I will bother.

For a long time the Icon= entry had the file extension of the icon but now it seems most have dropped this.

EDIT: on second thought, JWM has never tried to generate menus so it's not Joe's problem.

Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 

Joined: 08 Jun 2005
Posts: 5047
Location: Arizona, U.S.A.

PostPosted: Tue 18 Mar 2014, 13:33    Post_subject:  

disciple; It looks like Mobeus was addressing what I looked at awhile back.
I decided that it is way more than I really wanted, and I began to make a simpler setup.

My Puppy has only root menu and it`s sub app items, so it`s quick and easy to access apps.
All that`s needed then is a file to set the root menu categories.
And a translation file to resolve the desktop file`s Categories= to those root menu categories.
Nothing`s fool proof, but this works and is so simple.
But it doesn`t use menu files, so I made a menu file to desktop file converter utility.

I know it departs from the FreeDesktop standard. If I see a good implementation of it, I`ll use it.
Back to top
View user's profile Send_private_message 

Joined: 11 Apr 2007
Posts: 889

PostPosted: Sun 23 Mar 2014, 12:47    Post_subject: Prototype for "Standard" menus in puppy  

Here's a prototype of what puppy might look like utilizing the "Standard" menu categories. It consists of three files, "pup_desk_parse_standard", "jwmrc_build" and the original "mjwm".

"pup_desk_parse_standard" grossly reassigns all of Categories in the /usr/share/applications/*.desktop files to the "standard menu" without submenus and terminates each "Category=Somename" with a semicolon.

"jwmrc_build" then builds a new .jwmrc file using the new .desktop category assignments with "mjwm", and restarts Jwm.

Just decompress the attached file "pup_standard.tar.gz" to /root, run "pup_desk_parse_standard", followed by "jwmrc_build".

Probably better to run this without a save file, because while modifying the desktop files doesn't impact the normal creation of the jwm menu, some empty sed tmp error files appear in /usr/share/applications.

The main category icons are missing, but can be easily supplied with a category link file pointing to an icon.

The rebuild clocks at time.026 vs 2.042 for fixmenus. (And the fixmenus time doesn't include the jwm -restart.)

Pretty fast and probably could be further optimized.

 Filesize   61.64 KB
 Viewed   365 Time(s)



Filename  pup_standard.tar.gz 
Filesize  99.55 KB 
Downloaded  78 Time(s) 
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 2 of 2 Posts_count   Goto page: Previous 1, 2
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Taking the Puppy out for a walk » Suggestions
Jump to:  

You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0511s ][ Queries: 13 (0.0042s) ][ GZIP on ]