How to program a lightweight program launcher app

A home for all kinds of Puppy related projects
Post Reply
Message
Author
zenfunk
Posts: 220
Joined: Wed 18 Mar 2009, 07:28

How to program a lightweight program launcher app

#1 Post by zenfunk »

OK, here it goes:
I'd like to unclutter the Menu for my own Puppy version called PULP (for further Info se here: http://www.murga-linux.com/puppy/viewtopic.php?t=40226 . I thought I'd bundle the submenus in a little "Setup" launcher program from which you can choose your various setup wizards, hardware monitors etc.

Basically I have something like the wizard wizard in my mind, just a little bit bigger.

I already hacked something in GTKdialog. Although GTK dialog is very easy to understand and copy/paste goes a very long way, unfortunately this is also a very slow runtime. For the computers PULP is aimed at, I allways had the feeling that GTKdialog is a bit laggy.

So, is there a runtime that fullfills the following requirements:

- faster than GTKdialog (especially startup time)
- just as easy to program for an ignorant non- programmer like me
- scripted or interpreted or whatever it is called (so no compiling is necessary)
- it doesn't have to be pretty though- just a couple of buttons and some text labels- that's all, something that uses standard Xintrinsics, Motif, GTK 1.2 would be sufficient

BTW: TCL/TK is even slower on the startup than GTKdialog.

Thank you very much in advance,
Christian

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#2 Post by trapster »

trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#3 Post by amigo »

Xdialog, or any one of these hard-to-find GTK-1.2 goodies:
http://distro.ibiblio.org/pub/linux/dis ... MsgDialog/

I use nearly all of those for different purposes -the gtkdialog there may be exactly what you want -it predates the program used in Puppy and is more like an xmessage clone in GTK-1.2.

More options:
http://distro.ibiblio.org/pub/linux/dis ... enu-0.0.1/

aewm menu
http://distro.ibiblio.org/pub/linux/dis ... m-clients/

another one like xmessage:
http://distro.ibiblio.org/pub/linux/dis ... fxmsg-0.2/

Others I have, but which are not uploaded which you can search for:
bb-0.5 grun-0.8.1 grun-0.9.2 gtk-launch-1.1 run-free-2.0.0 tablaunch-0.6

zenfunk
Posts: 220
Joined: Wed 18 Mar 2009, 07:28

#4 Post by zenfunk »

Don't have propper access to the web, but here's a short thank you for your (hopefully) very helpfull suggestiuons.

Thanks, Christian

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#5 Post by technosaurus »

You can do it with jwm natively using a tray (it can be a standalone button anywhere) and a second root menu
http://www.murga-linux.com/puppy/viewto ... 851#380851
(as you can see jwm is quite hackable to be a full desktop environment)

if you set onroot="#" to #=1, 2, or 3 it will come up when the corresponding mouse button is clicked (puppy's is set to 3 or right click) see /root/.jwmrc for an example

for the rootmenu stuff:
http://joewing.net/programs/jwm/config.shtml
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

zenfunk
Posts: 220
Joined: Wed 18 Mar 2009, 07:28

#6 Post by zenfunk »

Allways wondered how this multiple root menu stuff worked. Thanks, will read the links.

BTW where can I tell jwm which icon to use for a new menu category.

Nevertheless, playing with xdialog was fun, almost felt like real programming again. I did my last programming on a C64! - LOL.

Post Reply