PupTray-0.4
PupTray-0.4
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!
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!
- Attachments
-
- puptray-0.4.pet
- This is the latest version. Enjoy!
- (55.55 KiB) Downloaded 967 times
-
- puptray.jpg
- (33.03 KiB) Downloaded 2488 times
Last edited by mechanic on Sun 16 Jan 2011, 12:56, edited 1 time in total.
regards,
mechanic
mechanic
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
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
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?
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
didn't work on 2.14X
ttuuxxx
Do you have the sources, If I could compile it on 2.14x then it should work. Different glibCsh-3.00# /root/Startup/puptray
./PupTray: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./PupTray)
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
Re: PupTray-0.1
Will you post a package when you recompile it Ttuuxxx?mechanic wrote:Source is included and a readme file to get up and running fast.
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
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.
I think this binary will work in older puppies. I compiled it in 3.01...
With kind regards,
vovchik
PS.
I use IcewmWhat 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?
- Attachments
-
- puptray.tar.gz
- (13.63 KiB) Downloaded 836 times
Re: really useful app
Thanks vovchik, this is my first program for puppy and I thank you for helping with it.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
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.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 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:ttuuxxx wrote: Do you have the sources, If I could compile it on 2.14x then it should work. Different glibC
/usr/local/PupTray/src/
regards,
mechanic
mechanic
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.
The only way to improve it would be to have icons associated with the menu entries. Possible?
Code: Select all
#!/bin/sh
sleep 5
PupTray &
/root for the home team
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
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
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
- Attachments
-
- PupTray-0.1.jpg
- (9.5 KiB) Downloaded 2310 times
-
- puptray-0.1a.pet
- (48.82 KiB) Downloaded 867 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
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
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
- Attachments
-
- PupTray-0.1.jpg
- (16.02 KiB) Downloaded 2363 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
PupTray-0.2
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!
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!
- Attachments
-
- puptray-0.2.pet
- (55.52 KiB) Downloaded 852 times
-
- PupTray.jpg
- (34.78 KiB) Downloaded 2069 times
regards,
mechanic
mechanic
Re: PupTray-0.2
Sorry, I forgot to update the binary. If you've downloaded this, please download again. Should be OK now.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.
regards,
mechanic
mechanic
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
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
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
- Attachments
-
- puptray-0.2a.pet
- (70.9 KiB) Downloaded 852 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
PupTray-0.2
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'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"
Thanks, I'll change that one. A big thanks for compiling this for earlier versions of puppy too!Plus its still using gedit and Firefox when it should be defaulttexteditor and defaultbrowser.
Fixed below
ttuuxxx
regards,
mechanic
mechanic
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Re: PupTray-0.2
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.mechanic wrote: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'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"
Ps your welcome for the earlier compile
Code: Select all
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 :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
That's because the default release is set to gedit and firefox, it you system link gedit to geany and system link firefox to seamonkey located in usr/bin both go to website, edit config should work, or edit /root/.puptray.cfg in geany, The next release I think he's going to change that.Lobster wrote:I am in Luci-234
I get the tray icon
left click nothing
right click (go to website, edit config etc) does nothing
did an x restart but no help - maybe when I reboot . . .
Many thanks - well done on baconification
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
PupTray-0.3
OK guys, I think I have fixed most, if not all of the bugs. (famous last words?)ttuuxxx wrote:That's because the default release is set to gedit and firefox, it you system link gedit to geany and system link firefox to seamonkey located in usr/bin both go to website, edit config should work, or edit /root/.puptray.cfg in geany, The next release I think he's going to change that.Lobster wrote:I am in Luci-234
I get the tray icon
left click nothing
right click (go to website, edit config etc) does nothing
did an x restart but no help - maybe when I reboot . . .
Many thanks - well done on baconification
ttuuxxx
Anyway, I hope this one works OK for you guys. Now to make some programming tools for myself...
Go Puppy!
- Attachments
-
- puptray-0.3.pet
- (55.51 KiB) Downloaded 697 times
regards,
mechanic
mechanic
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Re: PupTray-0.3
Hi your defaulttexteditor and defaultbrowser now works Congrads !!mechanic wrote:OK guys, I think I have fixed most, if not all of the bugs. (famous last words?)ttuuxxx wrote:That's because the default release is set to gedit and firefox, it you system link gedit to geany and system link firefox to seamonkey located in usr/bin both go to website, edit config should work, or edit /root/.puptray.cfg in geany, The next release I think he's going to change that.Lobster wrote:I am in Luci-234
I get the tray icon
left click nothing
right click (go to website, edit config etc) does nothing
did an x restart but no help - maybe when I reboot . . .
Many thanks - well done on baconification
ttuuxxx
Anyway, I hope this one works OK for you guys. Now to make some programming tools for myself...
Go Puppy!
Buttttttttttt the "NUL" error still happens and won't compile unless I change it "NULL"
I know it doesn't sense but it works if it's changed.
here's the error
Code: Select all
sh-3.00# bash bacon -j puptray.bac
Starting conversion... done.
Starting compilation... Compiler emits messages!
Problem:
file 'puptray.bac.cpp' line 293: 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 :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)