Author |
Message |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15238 Location: Paradox Realm
|
Posted: Tue 02 Nov 2010, 09:05 Post subject:
|
|
duplicate
Last edited by Lobster on Tue 02 Nov 2010, 09:09; edited 1 time in total
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15238 Location: Paradox Realm
|
Posted: Tue 02 Nov 2010, 09:08 Post subject:
|
|
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
_________________ YinYana AI Buddhism
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 11193 Location: Ontario Canada,Sydney Australia
|
Posted: Tue 02 Nov 2010, 14:54 Post subject:
|
|
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 |
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.
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
|
|
 |
mechanic
Joined: 12 Apr 2009 Posts: 29
|
Posted: Tue 02 Nov 2010, 18:35 Post subject:
PupTray-0.3 Subject description: Final? |
|
ttuuxxx wrote: | 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 |
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.
ttuuxxx |
OK guys, I think I have fixed most, if not all of the bugs. (famous last words?)
Anyway, I hope this one works OK for you guys. Now to make some programming tools for myself...
Go Puppy!
Description |
|

Download |
Filename |
puptray-0.3.pet |
Filesize |
55.51 KB |
Downloaded |
541 Time(s) |
_________________ regards,
mechanic
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 11193 Location: Ontario Canada,Sydney Australia
|
Posted: Tue 02 Nov 2010, 22:00 Post subject:
Re: PupTray-0.3 Subject description: Final? |
|
mechanic wrote: | ttuuxxx wrote: | 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 |
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.
ttuuxxx |
OK guys, I think I have fixed most, if not all of the bugs. (famous last words?)
Anyway, I hope this one works OK for you guys. Now to make some programming tools for myself...
Go Puppy! |
Hi your defaulttexteditor and defaultbrowser now works Congrads !!
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: | 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#
|
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
|
|
 |
PjotAwake

Joined: 03 Nov 2010 Posts: 34 Location: The Hague, The Netherlands
|
Posted: Wed 03 Nov 2010, 17:09 Post subject:
|
|
Quote: |
Buttttttttttt the "NUL" error still happens and won't compile unless I change it "NULL"
|
Strange. In the top of the 'puptray.bac' sourcefile you should see the following line:
Code: |
GLOBAL NUL TYPE STRING
|
Can you see it? Can you tell us the version of BaCon you are using to compile?
Furthermore I can see you are using BASH. What BASH version are you using (should be version 4.0 or higher)? Puppy by default comes with the BASH 3.x.
Btw why are you using the '-j' option? There are no preprocessor macros defined in the source...
Regards
Peter
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 11193 Location: Ontario Canada,Sydney Australia
|
Posted: Wed 03 Nov 2010, 17:15 Post subject:
|
|
PjotAwake wrote: | Quote: |
Buttttttttttt the "NUL" error still happens and won't compile unless I change it "NULL"
|
Strange. In the top of the 'puptray.bac' sourcefile you should see the following line:
Yes I noticed that back in v.1
Code: |
GLOBAL NUL TYPE STRING
|
Can you see it? Can you tell us the version of BaCon you are using to compile?
I'm using the latest BaCon bash version, I downloaded the latest with my first compile.
Furthermore I can see you are using BASH. What BASH version are you using (should be version 4.0 or higher)? Puppy by default comes with the BASH 3.x.
I'm using the latest Bash 4.1
Btw why are you using the '-j' option? There are no preprocessor macros defined in the source... Yes I used everytime the '-j' option
Regards
Peter |
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
|
|
 |
mechanic
Joined: 12 Apr 2009 Posts: 29
|
Posted: Wed 03 Nov 2010, 20:46 Post subject:
|
|
PjotAwake wrote: |
Strange. In the top of the 'puptray.bac' sourcefile you should see the following line:
Code: |
GLOBAL NUL TYPE STRING
|
Btw why are you using the '-j' option? There are no preprocessor macros defined in the source...
|
Hello Peter, all of this is my fault. I did define the
Code: |
GLOBAL NUL TYPE STRING
|
*but* never set the value in the source code. Ooops!
So, just set this to 0 in line 292:
Code: |
gdk = gdk_pixbuf_new_from_file(icon$, 0)
|
I just copied and pasted the command line that I had used for another program so the "-j" option was pasted into the readme.txt file.
So it's all my fault. Sorry, I hope the code works ok now.
_________________ regards,
mechanic
|
Back to top
|
|
 |
mechanic
Joined: 12 Apr 2009 Posts: 29
|
Posted: Wed 03 Nov 2010, 21:06 Post subject:
PupTray-0.4 Subject description: Latest PupTray |
|
Here is the latest version. I fixed the "NUL" bug and updated the readme.txt with the changes.
Description |
|

Download |
Filename |
puptray-0.4.pet |
Filesize |
55.55 KB |
Downloaded |
541 Time(s) |
_________________ regards,
mechanic
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 11193 Location: Ontario Canada,Sydney Australia
|
Posted: Wed 03 Nov 2010, 21:23 Post subject:
|
|
Hi mechanic yes that now works 100% perfectly excellent job
ttuuxxx
Description |
|

Download |
Filename |
puptray-0.4-2.14X.pet |
Filesize |
48.26 KB |
Downloaded |
536 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
|
|
 |
sszindian

Joined: 24 Apr 2010 Posts: 744 Location: Pennsylvania U.S.
|
Posted: Thu 13 Jan 2011, 16:33 Post subject:
Puppy 5.2 |
|
Installed puptray-0.4.pet in Puppy 5.2...
It apears to have installed, there is an Icon in the tray and when I left-click on it nothing happens, when I right click I get
(an Icon) Beaco Website
(an Icon) Edit Configuration
(an Icon) Help
(an Icon) Quit
When I left-click on 'Edit Configuration I Get this window that says-
BaCon Website=defaultbrowser "http://www.basic-converter.org/"
+++
Edit Configuration=defaulttexteditor "/root/.puptray.cfg"
What do I do from here to get menu items so I can put a few in the tray??? Or... doesn't this prog work with 5.2 ???
|
Back to top
|
|
 |
mechanic
Joined: 12 Apr 2009 Posts: 29
|
Posted: Thu 13 Jan 2011, 18:41 Post subject:
Re: Puppy 5.2 |
|
sszindian wrote: | Installed puptray-0.4.pet in Puppy 5.2...
It apears to have installed, there is an Icon in the tray and when I left-click on it nothing happens, when I right click I get
(an Icon) Beaco Website
(an Icon) Edit Configuration
(an Icon) Help
(an Icon) Quit
When I left-click on 'Edit Configuration I Get this window that says-
BaCon Website=defaultbrowser "http://www.basic-converter.org/"
+++
Edit Configuration=defaulttexteditor "/root/.puptray.cfg"
What do I do from here to get menu items so I can put a few in the tray??? Or... doesn't this prog work with 5.2 ??? |
Seems to be working fine. Right click, choose "Edit Configuration" and the configuration file should come up in your default editor.
Now edit this file to set your programs that you want to start with puptray. For instance, this is my configuration file:
<start>
Scite=SciTE
+++
GLADE=glade-3
DevHelp=devhelp
+++
GObject Help=firefox "file:///mnt/sdb4/gtk-doc/html/gobject/index.html"
+++
BcxGurus=firefox "http://www.bcxgurus.com/bcxusers/"
BaCon Website=firefox "http://www.basic-converter.org/"
BaCon Forum=firefox "http://basic-converter.proboards.com/"
+++
Edit Configuration=gedit "/root/.puptray.cfg"
PWRD=gedit "/mnt/sdb3/psword.txt"
<end>
Note this line:
Scite = SciTE
(name in menu) = (command to run)
Put "+++" in the file anywhere you want a seperator.
HTH
_________________ regards,
mechanic
|
Back to top
|
|
 |
sszindian

Joined: 24 Apr 2010 Posts: 744 Location: Pennsylvania U.S.
|
Posted: Thu 13 Jan 2011, 21:35 Post subject:
Puppy Tray |
|
Thanks mechanic!!!!
I figured it might be something like you describe but I didn't know for sure... we'll give it a shot.
|
Back to top
|
|
 |
bigpup

Joined: 11 Oct 2009 Posts: 10303 Location: Charleston S.C. USA
|
Posted: Fri 14 Jan 2011, 23:04 Post subject:
Re: PupTray-0.4 Subject description: Latest PupTray |
|
mechanic wrote: | Here is the latest version. I fixed the "NUL" bug and updated the readme.txt with the changes. |
To help people find the latest version you should go to the first entry in this post and update the download link. Change title of post to PupTray-0.4 would also help.
Thanks for thr PuppTray.
|
Back to top
|
|
 |
|