| Author |
Message |
mechanic
Joined: 12 Apr 2009 Posts: 29
|
Posted: Sat 30 Oct 2010, 19:25 Post_subject:
PupTray-0.4 Sub_title: A quick application launcher for puppy linux |
|
PupTray is a way to quickly launch your favorite programs. It is written in BaCon which you can find here:
http://www.basic-converter.org/
PupTray uses a config file that you set up to quickly run your favorite programs. Source is included and a readme file to get up and running fast.
This was written in Puppy Lucid 5.01 but should work for most versions of Puppy Linux. No dependencies except GTK+.
Thanks to vovchik for helping me get this up and running!
Have fun!
| Description |
This is the latest version. Enjoy!
|

Download |
| Filename |
puptray-0.4.pet |
| Filesize |
55.55 KB |
| Downloaded |
345 Time(s) |
| Description |
|
| Filesize |
33.03 KB |
| Viewed |
1859 Time(s) |

|
_________________ regards,
mechanic
Edited_time_total
|
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1239 Location: Ukraine
|
Posted: Sun 31 Oct 2010, 06:56 Post_subject:
really useful app |
|
Dear Puppians,
mechanic has done a really nice job here, and the program is genuinely useful and a breeze to configure. Please try it out.
With kind regards,
vovchik
|
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6196 Location: Auckland, New Zealand
|
Posted: Sun 31 Oct 2010, 07:32 Post_subject:
|
|
What makes it more useful than JWM tray buttons? You can't drag and drop programs into it, can you? Does it automatically find icons or something?
_________________ DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Sun 31 Oct 2010, 07:34 Post_subject:
|
|
didn't work on 2.14X
| Quote: | sh-3.00# /root/Startup/puptray
./PupTray: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./PupTray) |
Do you have the sources, If I could compile it on 2.14x then it should work. Different glibC
ttuuxxx
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6196 Location: Auckland, New Zealand
|
Posted: Sun 31 Oct 2010, 07:41 Post_subject:
Re: PupTray-0.1 Sub_title: A quick application launcher for puppy linux |
|
| mechanic wrote: | | Source is included and a readme file to get up and running fast. |
Will you post a package when you recompile it Ttuuxxx?
_________________ DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
|
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1239 Location: Ukraine
|
Posted: Sun 31 Oct 2010, 08:04 Post_subject:
for older puppies |
|
Dear ttuuxxx and disciple,
I think this binary will work in older puppies. I compiled it in 3.01...
With kind regards,
vovchik
PS. | Quote: | What makes it more useful than JWM tray buttons? You can't drag and drop programs into it, can you? Does it automatically find icons or something?
|
I use Icewm
| Description |
|

Download |
| Filename |
puptray.tar.gz |
| Filesize |
13.63 KB |
| Downloaded |
313 Time(s) |
|
|
Back to top
|
|
 |
mechanic
Joined: 12 Apr 2009 Posts: 29
|
Posted: Sun 31 Oct 2010, 11:39 Post_subject:
Re: really useful app |
|
| vovchik wrote: | Dear Puppians,
mechanic has done a really nice job here, and the program is genuinely useful and a breeze to configure. Please try it out.
With kind regards,
vovchik |
Thanks vovchik, this is my first program for puppy and I thank you for helping with it.
| disciple wrote: |
What makes it more useful than JWM tray buttons? You can't drag and drop programs into it, can you? Does it automatically find icons or something?
|
Sorry, it doesn't do all of this stuff. It's just a simple application launcher like I used before I moved to linux. I found it very useful so I wanted the same on puppy linux. I thought others might find it useful.
| ttuuxxx wrote: |
Do you have the sources, If I could compile it on 2.14x then it should work. Different glibC
|
Sorry about that. I included the sources so anyone could try to recompile it on their own machine. I never expected it would work for everybody using the earlier puppy versions. The sources should be in:
/usr/local/PupTray/src/
_________________ regards,
mechanic
|
|
Back to top
|
|
 |
Mobeus

Joined: 26 Aug 2010 Posts: 94
|
Posted: Sun 31 Oct 2010, 16:14 Post_subject:
|
|
I really like it! The only glitch is I'm running 5.1 with icewm and I had to modify the startup script to get it to show in the tray.
| Code: | #!/bin/sh
sleep 5
PupTray & |
The only way to improve it would be to have icons associated with the menu entries. Possible?
_________________ /root for the home team
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Mon 01 Nov 2010, 01:48 Post_subject:
|
|
Here's one I compiled for 2.14X plus I updated the sources to work better with puppy
the default was gedit for the text editor and firefox for the browser
Puppy uses defaultbrowser & defaulttexteditor
now works out of the box , Had to compile Bash 4.1 to get it working and then installed the bash beacon script and opened mrrxvt and typed bash bacon -j puptray.bac
Below is the pet, plus bash with the bacon script included (only needed for compiling not running Ptray )and a locales pet for bash
Thanks ttuuxxx
| Description |
|
| Filesize |
9.5 KB |
| Viewed |
1735 Time(s) |

|
| Description |
|

Download |
| Filename |
puptray-0.1a.pet |
| Filesize |
48.82 KB |
| Downloaded |
315 Time(s) |
| Description |
|

Download |
| Filename |
bash-bacon-4.1-i386.pet |
| Filesize |
479.99 KB |
| Downloaded |
334 Time(s) |
| Description |
|

Download |
| Filename |
bash-bacon-4.1-i386-locals.pet |
| Filesize |
645.52 KB |
| Downloaded |
380 Time(s) |
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Mon 01 Nov 2010, 03:46 Post_subject:
|
|
For a starter example on 2.14X you could use
Calculator=gcalctool
Word Processor=abiword
Text Editor=defaulttexteditor
Media Player=defaultmediaplayer
Audio Player=defaultaudioplayer
+++
just copy it over the default text and save it\
ttuuxxx
| Description |
|
| Filesize |
16.02 KB |
| Viewed |
1714 Time(s) |

|
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
mechanic
Joined: 12 Apr 2009 Posts: 29
|
Posted: Mon 01 Nov 2010, 19:56 Post_subject:
PupTray-0.2 Sub_title: Added icons to the menu items + more... |
|
Mobeus wrote:
The only way to improve it would be to have icons associated with the menu entries. Possible?
Here is version 0.2. I added icons to the menu items and now PupTray attempts to find the icon for the defaultxxx... executable names.
Have fun!
| Description |
|

Download |
| Filename |
puptray-0.2.pet |
| Filesize |
55.52 KB |
| Downloaded |
323 Time(s) |
| Description |
|
| Filesize |
34.78 KB |
| Viewed |
1632 Time(s) |

|
_________________ regards,
mechanic
|
|
Back to top
|
|
 |
mechanic
Joined: 12 Apr 2009 Posts: 29
|
Posted: Mon 01 Nov 2010, 20:13 Post_subject:
Re: PupTray-0.2 Sub_title: Added icons to the menu items + more... |
|
| mechanic wrote: |
Here is version 0.2. I added icons to the menu items and now PupTray attempts to find the icon for the defaultxxx... executable names.
|
Sorry, I forgot to update the binary. If you've downloaded this, please download again. Should be OK now.
_________________ regards,
mechanic
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Tue 02 Nov 2010, 02:09 Post_subject:
|
|
There was an error, line 291
gdk = gdk_pixbuf_new_from_file(icon$, NUL)
should be
gdk = gdk_pixbuf_new_from_file(icon$, NULL) <--- two "L's"
Plus its still using gedit and Firefox when it should be defaulttexteditor and defaultbrowser.
Fixed below
ttuuxxx
| Description |
|

Download |
| Filename |
puptray-0.2a.pet |
| Filesize |
70.9 KB |
| Downloaded |
309 Time(s) |
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
mechanic
Joined: 12 Apr 2009 Posts: 29
|
Posted: Tue 02 Nov 2010, 06:48 Post_subject:
PupTray-0.2 Sub_title: Latest version bugs? |
|
| ttuuxxx wrote: | There was an error, line 291
gdk = gdk_pixbuf_new_from_file(icon$, NUL)
should be
gdk = gdk_pixbuf_new_from_file(icon$, NULL) <--- two "L's"
|
Actually no, 'NUL' is correct. BaCon doesn't come with NULL defined, AFAIK (or NUL, for that matter). 'NUL' is defined in the source to be '0'
| Quote: |
Plus its still using gedit and Firefox when it should be defaulttexteditor and defaultbrowser.
Fixed below
ttuuxxx |
Thanks, I'll change that one. A big thanks for compiling this for earlier versions of puppy too!
_________________ regards,
mechanic
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Tue 02 Nov 2010, 07:00 Post_subject:
Re: PupTray-0.2 Sub_title: Latest version bugs? |
|
[quote="mechanic"] | ttuuxxx wrote: | There was an error, line 291
gdk = gdk_pixbuf_new_from_file(icon$, NUL)
should be
gdk = gdk_pixbuf_new_from_file(icon$, NULL) <--- two "L's"
|
Actually no, 'NUL' is correct. BaCon doesn't come with NULL defined, AFAIK (or NUL, for that matter). 'NUL' is defined in the source to be '0'
Yes I knew that butttttt when I went to compile it in its original state. It wouldn't compile, it would get an error, Once I added the second "L", It compiled just fine without error and finally worked perfectly. Below is the default error and once the "L" is added I get no errors.
Ps your welcome for the earlier compile
| Code: | sh-3.00# bash bacon -j puptray.bac
Starting conversion... done.
Starting compilation... Compiler emits messages!
Problem:
file 'puptray.bac.cpp' line 291: gdk = gdk_pixbuf_new_from_file(icon$, NUL)
Cause:
`NUL' undeclared (first use in this function)
mv: `puptray.bac.cpp' and `./puptray.bac.cpp' are the same file
sh-3.00# |
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
|