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 Thu 27 Nov 2014, 23:06
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
New xdg menu for Puppy
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [38 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
Buck Huffman

Joined: 09 Apr 2010
Posts: 5

PostPosted: Thu 04 Apr 2013, 22:05    Post subject:  

Hi Mobeus,

I wanted to use JWM with Fatdog64, but the menus weren't what I'm
used to. I've managed to tweak a few things but would like to really
take charge of things without having to dig into the guts of the system.
it looks like most of the menu structure is built by the script /usr/bin/jwm_menu_create,
while fixmenus is just a symlink to that script.

that Slackbones64 sounds very interesting, I would really like to know
more. Is there a release, beta, alpha?

Buck

Edit: I searched and found some info on Slackbones64 will definately
check it out.
Back to top
View user's profile Send private message 
gulk


Joined: 21 Apr 2008
Posts: 86

PostPosted: Thu 04 Apr 2013, 22:37    Post subject:  

Hi Mobeus,

thanks for the tip; it was so obvious that I missed it.
Now, as far as the magical appearance of items in the menu, what is happening here? Is LxPanel going through your .desktop folder everytime you select the menu? I can't see any lag, but isn't it kind of inefficient?

gulk
Back to top
View user's profile Send private message 
Mobeus


Joined: 26 Aug 2010
Posts: 94

PostPosted: Thu 04 Apr 2013, 23:18    Post subject:  

Hi gulk,

The standard lxpanel has menu-cache as a dependency. Menu-cache has a binary named menu-cached that runs in the background as a daemon, and this monitors a whole bunch of directories and files looking for changes and it keeps a constantly updated list in the users home directory. I'm not quite sure but I think menu-cache signals lxpanel to update it's menu when a change is detected, then lxpanel regenerates it's menu.

All of that really doesn't take much time or resources to accomplish. I doubt if anyone could notice it.

Regards,
Mobeus

_________________
/root for the home team
Back to top
View user's profile Send private message 
Mobeus


Joined: 26 Aug 2010
Posts: 94

PostPosted: Fri 05 Apr 2013, 00:52    Post subject:
Subject description: Handling apps that do not show in Puppy menus
 

Progress.

Now programs that normally do not show up in Puppy menus will be put in the "Other" menu.
This Other menu will only be visible when there is a program that does not have a matching menu category.
other-menu.png
 Description   
 Filesize   39.74 KB
 Viewed   645 Time(s)

other-menu.png


_________________
/root for the home team
Back to top
View user's profile Send private message 
gulk


Joined: 21 Apr 2008
Posts: 86

PostPosted: Fri 05 Apr 2013, 14:19    Post subject:  

Looking better by the minute, Mobeus. Keep it up.
Back to top
View user's profile Send private message 
go2null

Joined: 23 Oct 2011
Posts: 11

PostPosted: Fri 05 Apr 2013, 15:56    Post subject:  

Looks like a good effort to get a GTK editor. I'd encourage wider panel support, especially for GTK environments.

A quick google only unearthed:
1. Arch's xdg-menu, perl-based, supports
Quote:
twm
ion3
WindowMaker
fvwm2
icewm
blackbox
fluxbox
openbox
awesome

from XDG stuff. KDE, Gnome, Xfce, Enlightenment are already XDG compatible.

2. LXMenuEditor, java-based, supports LXDE and XFCE
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2671
Location: New Zealand

PostPosted: Sun 07 Apr 2013, 18:41    Post subject:  

Thanks Mobeus - this thread is helping answer questions I have as a result of trying to tidy up menus in an XFCE environment, which appears to be xdg compliant. Does your program handle xfce also? (most of the googling I have done refers to lxmenueditor and requiring java, which I don't want).
Back to top
View user's profile Send private message 
Mobeus


Joined: 26 Aug 2010
Posts: 94

PostPosted: Sun 07 Apr 2013, 22:32    Post subject:  

Hi greengeek,
Glad you find it useful. Xfce is xdg compliant, but the spec itself is flexible and different desktops will interpret the menu files in somewhat different ways, and some do not support some important, but optional, features.

My program and menus should work with xfce, because everything I’m doing is xdg compliant. I haven’t tested xfce yet but I don’t expect any major problems (famous last words). I’ve looked at LXMenuEditor and it has the same shortcomings as most other ones I’ve tried; a hard coded root menu. It is not xdg compliant.

Let me say it one more time Smile
This package will implement freedesktop.org xdg menus for Puppy in a way that any xdg compliant window manager and or panel will be able to use without modification. In addition to that it will work for the window managers and panels that the official woof-built Puppy supports at this time, and it will work with Puppy’s fixmenu script, and it will allow full menu customization.

Regards,
Mobeus

_________________
/root for the home team
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2671
Location: New Zealand

PostPosted: Mon 08 Apr 2013, 00:33    Post subject:  

Mobeus wrote:
Anyway, I just wanted to toss this out here and see if there is any community interest in it.

Yes there is.
I'd like to trial it yesterday please. Smile
Back to top
View user's profile Send private message 
Mobeus


Joined: 26 Aug 2010
Posts: 94

PostPosted: Mon 08 Apr 2013, 09:43    Post subject:  

greengeek wrote:
I'd like to trial it yesterday please.

Well, the menu infrastructure and the menu generator are almost ready for trials, but the editor is on hold until the infrastructure is deemed complete.

I would like a few volunteers to try just the menu using clean frugal installs on some different Puppys with different window managers and panels. That would be a good start to uncover the inevitable issues that will pop up. There’s some more testing to be done here and then I’ll put together a package with some documentation. One issue yet to be addressed is the XDG_MENU_PREFIX environment variable which Puppy does not supply, and many desktop environments rely on.

_________________
/root for the home team
Back to top
View user's profile Send private message 
gulk


Joined: 21 Apr 2008
Posts: 86

PostPosted: Mon 08 Apr 2013, 13:01    Post subject:  

Mobeus wrote:
I would like a few volunteers to try just the menu using clean frugal installs on some different Puppys with different window managers and panels.

Hi Mobeus,

I run Micko's Compiz sfs with pcmanfm/lxpanel to manage desktop and menu (what he calls "xwin dummy2"), so it won't be testing from a pristine frugal install. The pristine frugal install would be a Slacko 5.5 and Slacko 5.3 which I still have on the computer.
Let me know.

Regards,
gulk
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Wed 10 Apr 2013, 07:23    Post subject:  

greengeek wrote:
I'd like to trial it yesterday please. Smile


yes... watching on with interest.

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
jamesbond

Joined: 26 Feb 2007
Posts: 2230
Location: The Blue Marble

PostPosted: Wed 10 Apr 2013, 13:57    Post subject:  

01micko wrote:
yes... watching on with interest.

+1. Fatdog has openbox/lxpanel (with menu-cached) as default, and rather old version of JWM as backup.

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send private message 
Mobeus


Joined: 26 Aug 2010
Posts: 94

PostPosted: Fri 12 Apr 2013, 08:34    Post subject:  

Progress:

Support for fbpanel is finished.

Working on Fluxbox support.

_________________
/root for the home team
Back to top
View user's profile Send private message 
simargl

Joined: 11 Feb 2013
Posts: 572

PostPosted: Sat 13 Apr 2013, 13:31    Post subject:  

.
Last edited by simargl on Sun 01 Sep 2013, 11:03; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 2 of 3 [38 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.0792s ][ Queries: 12 (0.0064s) ][ GZIP on ]