Menuesystem/Editor for JWM and others (08)

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

Menuesystem/Editor for JWM and others (08)

#1 Post by MU »

This Menuesystem is based on wxBasic/Gtk, so it works independant of the WindowManager.

Since version 08, it has the option to export its Menues as a "Personal Menue" to the JWM-Desktopmenue.
See an image of this feature here:
http://noforum.de/dotpups/wxb-menue08.jpg

Use it, if you use a WindowManager not officially supported by Puppy, for example Enlightenment, or if you want to add your own entries without using a text-editor.
This Menue also displays DotPups installed with my installerscript described there: http://www.murga-linux.com/puppy/viewto ... 2081#12749

Image
Larger-Image: http://noforum.de/dotpups/menue02.jpg

You must install wxBasic first, or it will not work; ( http://www.murga-linux.com/puppy/viewtopic.php?t=1984 )

This menue reads in /root/.jwmrc to get the "System-Menue", so JWM should be installed if you want to access this menue if you use it for Desktops not officially supported by Puppy.


Mark
Attachments
Puppy-wxB-menue-0.8.pup
(27.41 KiB) Downloaded 1292 times
Last edited by MU on Tue 28 Aug 2007, 20:40, edited 14 times in total.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post by MU »

Version 0.2
New: Pictures for program-entries, but not for sub-menues.
New: Separator-lines
Last edited by MU on Mon 05 Sep 2005, 10:49, edited 2 times in total.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#3 Post by MU »

Version 0.3
You now can add your "personal" menue.
The Help will describe how to do it.
The "import KDE-Menue" does not work yet, it is intended for other Distributions.
Last edited by MU on Mon 05 Sep 2005, 10:50, edited 1 time in total.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#4 Post by MU »

Version 0.4
Now it includes a first version of a grafical menue-editor.
Last edited by MU on Mon 05 Sep 2005, 10:50, edited 1 time in total.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#5 Post by MU »

Version 0.5

Image

Larger image: http://noforum.de/dotpups/menue05.jpg

New:
- in the Menue-Editor, you now can move entries up/down.
- you can add programs via file-selector
- you can add other icon-directories
- It now installs to /usr/local
- Fixed a bug in the installer

Mark
Last edited by MU on Wed 07 Sep 2005, 00:40, edited 6 times in total.

Mathiasdm
Posts: 100
Joined: Thu 05 May 2005, 07:52

#6 Post by Mathiasdm »

I get the following error (using Puppy 1.0.5 alpha2):
Can't convert nothing to number
new() in file "main.wxb", line 317:
> myitem = new wxmenuitem( mHelp[counter] , ProgID , mText , mText , wxITEM_NORMAL)

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#7 Post by MU »

Hi,

you need a newer version of wxBasic (j3):

http://www.murga.org/%7Epuppy/viewtopic ... 1734#11734

I just deleted the link to the older version to avoid confusion.

Mark

Mathiasdm
Posts: 100
Joined: Thu 05 May 2005, 07:52

#8 Post by Mathiasdm »

Okay, works :-)

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#9 Post by MU »

fine :)

I just uploaded the menue again.
It now will install to /usr/local, which is a new directive for Puppy 1.0.5

Mark

User avatar
flamesage
Posts: 214
Joined: Sat 02 Jul 2005, 00:39

#10 Post by flamesage »

I installed it, but nothing appears in /usr/local.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#11 Post by MU »

Arg.. my new installerscript has a bug..

I'll fix it and upload all packages again in 1 or 2 hours.

Sorry, Mark

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#12 Post by MU »

Ok, fixed it and tested it on Puppy and Mandrake :)

Thanks a lot for the hint.

Mark

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#13 Post by MU »

I uploaded version 06

It contains a small bugfix in the grafical menue-editor, where some icons were not displayed.

Mark

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#14 Post by MU »

Version 07

Fixes a bug with displaying the JWM-Menue in Puppy 1.0.5

Now it registers to Pupget, so your menue also will be used if you remaster a new CD.

This is quite helpfull, as the Menues of the Windowmanagers are built from new in that process.
So your personal added entries in them will get lost.

Mark

GuestToday

JWM Menu

#15 Post by GuestToday »

Been trying out different DotPups and thought that JWM Menu sounded useful. It wasn't as intuitive as I hoped it would be (couldn't figure it out in two seconds..my fault I'm sure). I'll try it again later when I have more time...but when I uninstalled it through PupGet Packager it didn't get rid of the menu entry (start menu). Is that normal? Should I just delete it in the .jwmrc file? Thanks!

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#16 Post by MU »

Yes, it is normal that the entry in the startmenue stays.

Barry is working on a mechanism to deactivate entries.

I also plan better integration of my menue(-editor) and the menues of the windowmanagers.
I think somewhen in october I may present a solution for that.

I think I will use a central menuefile for "Personal Menue" and "DotPups".

You can export these two submenues to each windowmanager then.
An optional Tool will allow to import or delete existing entries.

Meanwhile you can delete them in .jwmrc with an editor.


Greets, Mark

GuestToday

Menuesystem

#17 Post by GuestToday »

Why was wxBasic used versus tcl/tk (or other script language) or C++, etc. Is it just easier/more familiar or does it have more functionality? Sorry if this is a really dumb question, my ignorance abounds...

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#18 Post by BarryK »

Mark,
It is probably asking too much...
I am wondering if it could be coded with wxbasicscript and gtkdialog2?

...um, probably not possible.
I was thinking though, gtkdialog2 does have a menu creation system.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#19 Post by MU »

Hi, it was one of my first programs for puppy, when wxBasicScript did not exist yet.

You could realize a menue in wxBasicscript, but I think the menueeditor will be more difficult.

The menueeditor allows to move entries up and down.
It is realized via invisible lists, that store several arrays.

Try to set the variable "debug" in the Menueeditor to "1", and you will see what I mean, a "full" view of all elements.

With Gtkdialog2 I would have to store more values in files, I fear this would become rather complex.

Might give it a try, but tend to stay with wxBasic for the editor.

Tcl/Tk: I built a menue with it 7 years ago, but think it is more difficult than Basic.
http://geocities.com/gpllinux/projekte/ ... -setup.zip
Extract, run ./Setup_linux in a rxvt. Has no Editor, does not support submenues.

C++ is nothing for me, don't get a "feeling" for that language. I was able to learn some C this year after years of not getting "warm" with it, but C++ is somehow not "my thing".

Mark

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#20 Post by BarryK »

I've never liked C or C++.
Don't really know why, there just seems something odd about them.

Post Reply