| View previous topic :: View next topic |
| Author |
Message |
rarsa

Joined: 29 May 2005 Posts: 1821 Location: Kitchener, Ontario, Canada
|
Posted: Mon Jun 26, 2006 5:25 am Post subject: Dynamic menu structure (XDG menus) for Puppy |
|
|
Here is the XDG menus package for Puppy 1.x and Puppy 2.x
Install it as an alien pupget.
Click the appropriate components you want to install:
Download and install these two components regardless of the WM you use
Gnome menus libraries (321 Kb)
Puppy menu structure base files (24 Kb)
Now download and install the menu generator for the window managers you are using.
JWM menu generator (4 Kb)
Fvwm95 menu generator (16 Kb)
IceWM menu generator (4 Kb)
XFCE menu generator (5 Kb) (see notes)
Fluxbox menu generator (4 Kb)
Blackbox menu generator (4 Kb)
Hackedbox menu generator (4 Kb)
Fbpanel menu generator (5 Kb) (see notes)
Hosting of the file is graciously provided by GermanPup.
Notes for XFCE
I used the Xfce under 1MB package.
- If you used a different installation your menu file may be in a
different place than expected. if that's the case, just replace your
menu file with a symlink to /usr/etc/xdg/xfce4/desktop/menu.xml
- If your icons don't show do | Code: | ln -sf /usr/local/lib/X11/mini-icons/* /usr/local/lib/X11/pixmaps
(only if you are using 2.x do the following too)
ln -sf /usr/local/lib/X11/pixmaps/ /usr/share/pixmaps |
Notes for fbpanel
- As fbpanel is not a window manager, the fbpanel_menu_refresh script will not get automatically executed, so you can add it to the .xinitrc or execute it whenever you install something.
- Do not start fbpanel with the puppy-fbpanel as it tries to generate the menu too.
What is a dynamic menu structure and why do you want to install this?
XDG menus is a standard published by freedesktop.org.
The main advantage is that it makes application installations
"desktop agnostic". This is, package installations that comply with the
standard, just need to include one file that describes the application
and all compliant window managers and desktop managers will show it in
the menu in the right place.
An added advantage is that the menu structure and the menu entries
are separated. this means that the user can change the menu structure
and still new applications will be able to be added to the menu
automatically. Previously the installers must know the menu structure
to know where to insert the new entry.
This is done by assigning each application specifying categories, e.g. Office;TextEditor;WordProcessor
and organizing the menu based on those categories so applications with the same categories will end up under the same submenu.
If you want to add an application to the menu, just create a .desktop file under /usr/share/applications assigning the appropriate categories. You can use any of the existing .desktop files as an example.
The source can be found at the puppylinux Subversion repository
| Code: | | http://svn2.cvsdude.com/puppylinux/puppy-desktop/xdgmenus/trunk |
_________________ http://rarsa.blogspot.com/ An eclectic collection of random thoughts.
Last edited by rarsa on Sun Aug 27, 2006 4:35 am; edited 10 times in total |
|
| Back to top |
|
 |
Lobster Official Crustacean

Joined: 04 May 2005 Posts: 4007 Location: Sushi
|
Posted: Mon Jun 26, 2006 5:54 am Post subject: |
|
|
You can always host here rarsa
http://www.murga.org/%7Epuppy/viewtopic.php?p=50928#50928
Look forward to this and might well use it on my over the edge
(like cutting edge but more dangerous) Linux Tmxxine 1.07c (Codenamed
Fish Sauce) Would this work with Xfce? - I did read somewhere from you
they have an odd menu structure . . .
Do not give up on these broad stroke iniatatives - Kenny is learning about XDG and it is a very good 'standard'. Bravo! _________________ Learn Lua
NEWS: Puppy Office 2.03CE Open Office + Puppy 2.02
Last edited by Lobster on Mon Jun 26, 2006 9:34 am; edited 1 time in total |
|
| Back to top |
|
 |
BarryK Puppy Master

Joined: 09 May 2005 Posts: 2525 Location: Perenjori, Western Australia
|
Posted: Mon Jun 26, 2006 9:30 am Post subject: |
|
|
| yes, i would like to (finally) get around to looking at putting xdg into pup2. |
|
| Back to top |
|
 |
Nathan F

Joined: 08 Jun 2005 Posts: 875 Location: Katy, TX
|
Posted: Mon Jun 26, 2006 2:51 pm Post subject: |
|
|
Oh, thank you. Please do, it's great.
Nathan
PS - Lobster I saw Tmxxine on distrowatch this morning, congrats
and good luck. Make sure you have lots of bandwidth, because you will
get several hundred downloads every time the name is mentioned on
Distrowatch  _________________ Puppy for 'artsy' types
Grafpup Linux |
|
| Back to top |
|
 |
rarsa

Joined: 29 May 2005 Posts: 1821 Location: Kitchener, Ontario, Canada
|
Posted: Mon Jun 26, 2006 3:03 pm Post subject: |
|
|
Lobster:
Thanks for the reminder. I had forgoten about Germanpup generosity.
I will also upload all the individual menu generators for each of the
window managers including the ones created by Nathan. And Yes, it
includes XFCE.
For XFCE I am bypassing their XDG implementation because its
incomplete and generate the menu on X startup as we do with other WM
that do not support "generated" menus. From the enduser point of view
it will be the same.
Barry:
The file I'm going to upload is not 100% an unleashed.
The main differences with the unleashed we included in 109CE are the following:
- In 109 we introduced a small change to fixmenus so entries for
the apps included in the remastered would be enabled. (when you see the
new fixmenus you'll see how easier it is to work with XDG)
- The package I'll be uploading includes a pinstall.sh that enables
the menu entries for the apps already installed and replaces the
<RootMenu> node of the .jwmrc
I will create an unleashed for you to play with. _________________ http://rarsa.blogspot.com/ An eclectic collection of random thoughts. |
|
| Back to top |
|
 |
rarsa

Joined: 29 May 2005 Posts: 1821 Location: Kitchener, Ontario, Canada
|
|
| Back to top |
|
 |
Lobster Official Crustacean

Joined: 04 May 2005 Posts: 4007 Location: Sushi
|
Posted: Tue Jun 27, 2006 4:39 pm Post subject: |
|
|
Very important piece of work Rarsa - many thanks - it makes Xfce totally usable
JWM menu is much more logical
Localisation efforts will be improved
Many, many thanks.
To install
1. Download
2. Open pupget (package manager from the menu)
3. Click on the second item - install alien package
4. Locate to the file you have downloaded
5. Wait for it to install
6. Reboot X
You will now have a simpler menu structure as in Puppy 1.09CE
The above image is from Xfce
Here is JWM
Rarsa - WP in Xfce is displaying as "Beaver" - should be Geany -
Xpaint is no longer in Puppy
rest seems OK _________________ Learn Lua
NEWS: Puppy Office 2.03CE Open Office + Puppy 2.02
Last edited by Lobster on Tue Jun 27, 2006 4:58 pm; edited 2 times in total |
|
| Back to top |
|
 |
rarsa

Joined: 29 May 2005 Posts: 1821 Location: Kitchener, Ontario, Canada
|
Posted: Tue Jun 27, 2006 4:55 pm Post subject: |
|
|
| Lobster wrote: | Very important piece of work Rarsa - many thanks - it makes Xfce totally usable
JWM menu is much more logical
Localisation efforts will be improved
| Lobster, the menu
structure that you are seing in XFce is still the static structure. I
haven't uploaded the dynamic menu generator for XFce. _________________ http://rarsa.blogspot.com/ An eclectic collection of random thoughts. |
|
| Back to top |
|
 |
rarsa

Joined: 29 May 2005 Posts: 1821 Location: Kitchener, Ontario, Canada
|
Posted: Tue Jun 27, 2006 4:57 pm Post subject: |
|
|
| Lobster wrote: | | Xpaint is no longer in Puppy | I tried deleting the .desktop files for the apps that are no longer in puppy but have symlinks to apps that are.
e.g. the mozilla and firefox symlinkx point to seamonkey, the Xpaint to mPaint, etc.
The package postinstalation script enables menu entries for
applications found on the computer. So it will find the xpaint symlink.
I think that those symlinks should not even exist. I think it's
more confusing having them when the application is not installed. Any
way, that was Barrys choice.
I'll remove the xpaint desktop file.
Thank you. _________________ http://rarsa.blogspot.com/ An eclectic collection of random thoughts. |
|
| Back to top |
|
 |
BarryK Puppy Master

Joined: 09 May 2005 Posts: 2525 Location: Perenjori, Western Australia
|
Posted: Tue Jun 27, 2006 10:12 pm Post subject: |
|
|
| Yes, I recognise the problems with have symlinks of apps that aren't there, and will move away from doing that. |
|
| Back to top |
|
 |
fitzhugh

Joined: 16 Jun 2006 Posts: 196 Location: Berkeley
|
Posted: Wed Jun 28, 2006 9:18 pm Post subject: COOL! Thank you! |
|
|
Just
spent a bit finding and understanding how Puppy/jwm do menus and a long
while tweaking it to my satisfaction... but I will happily start all
over if it means I can easily move between window managers since as a
newbie that was my main problem with trying others. I don't actually
like the look of jwm - no offense, I see it serves a purpose quite well
buy looking like windows (and admit this helped me) - but I would love
to have a slick looking desktop like I keep seeing screenshots of. THEN
I will feel like I have completely reposessed my computer back from M$
winblows and, even better, made it something of my own!
Also means those more expert users who have switched to other
window managers can easily create .pups from inside their own usual
window manager and not have to test both, if I grasp this.
Thanks!
Fitzhugh |
|
| Back to top |
|
 |
rarsa

Joined: 29 May 2005 Posts: 1821 Location: Kitchener, Ontario, Canada
|
Posted: Wed Jun 28, 2006 9:50 pm Post subject: |
|
|
[quote=]but
I will happily start all over if it means I can easily move between
window managers since as a newbie that was my main problem with trying
others.[/quote]
I am preparing full documentation both for users and developers.
To commit my self to do this, I volunteered to do a presentation to my local Linux Users group
If you are in Canada around Kitchener/Waterloo you are welcome to attend the meeting.
(Hey, we are just 1 hour away from Toronto, and London and about two hours away from Buffalo).
This LUG has all kind of members. from the very technical to the not technical at all. _________________ http://rarsa.blogspot.com/ An eclectic collection of random thoughts. |
|
| Back to top |
|
 |
rarsa

Joined: 29 May 2005 Posts: 1821 Location: Kitchener, Ontario, Canada
|
Posted: Fri Jul 21, 2006 3:44 pm Post subject: |
|
|
Here are a couple of news:
New XDG packages
I'm going through a full reorganization of the xdgmenus project repository.
According to the xdgmenus thread in the forum I am setting it up so we have one package for each of the following:
- XDG Menu structure (*.desktop, *.directory, *.menu) (DONE)
- Gnome-menus (the Gnome menus library) (DONE)
- One package for each of the window managers menu generators. (jwm, icewm and fvwm completed)
To accomplish this I am doing the following:
- Renaming and moving files and directories
- Creating one Makefile per package and deleting the make-tar so the build process is more standard.
- Adding README files.
XDG Presentation slides
I've uploaded the XDG presentation I did for my local Linux users group
http://kwlug.org/node/313
Right now my parents are in Canada so I haven't been able to deliver faster (I am really enjoying the time with them).
August will be a better time to complete this. _________________ http://rarsa.blogspot.com/ An eclectic collection of random thoughts. |
|
| Back to top |
|
 |
rarsa

Joined: 29 May 2005 Posts: 1821 Location: Kitchener, Ontario, Canada
|
Posted: Sat Aug 26, 2006 6:42 pm Post subject: |
|
|
Great milestone!!
I've cleaned up, tested and repackaged the menu generators for all window managers.
http://www.murga.org/~puppy/viewtopic.php?p=55316#55316
They are currently packaged as pupgets. Very small modifications are required to make them unleased packages.
So, regarless of the Window manager you prefer, go ahead, install the packages and start using XDG. _________________ http://rarsa.blogspot.com/ An eclectic collection of random thoughts. |
|
| Back to top |
|
 |
jam

Joined: 14 Jul 2006 Posts: 75
|
Posted: Sun Aug 27, 2006 4:37 am Post subject: XDG Menu Generator |
|
|
Great work rarsa!
This complements the work I'm doing with IceWM menu options. Now if
I make the changes to one WM it will carry through all of them. _________________ Jam |
|
| Back to top |
|
 |
|