PupTray-0.4

Window managers, icon programs, widgets, etc.
Message
Author
User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#16 Post by Lobster »

duplicate
Last edited by Lobster on Tue 02 Nov 2010, 13:09, edited 1 time in total.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#17 Post by Lobster »

I am in Luci-234
I get the tray icon
left click nothing
right click (go to website, edit config etc) does nothing

:oops:
did an x restart but no help - maybe when I reboot . . .

Many thanks - well done on baconification
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#18 Post by ttuuxxx »

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

:oops:
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 :)

mechanic
Posts: 29
Joined: Sun 12 Apr 2009, 20:20

PupTray-0.3

#19 Post by mechanic »

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

:oops:
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!
Attachments
puptray-0.3.pet
(55.51 KiB) Downloaded 690 times
regards,
mechanic

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

Re: PupTray-0.3

#20 Post by ttuuxxx »

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

:oops:
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: 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#

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

User avatar
PjotAwake
Posts: 34
Joined: Wed 03 Nov 2010, 20:58
Location: The Hague, The Netherlands
Contact:

#21 Post by PjotAwake »

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: Select all

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

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#22 Post by ttuuxxx »

PjotAwake wrote:
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: Select all

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 :)

mechanic
Posts: 29
Joined: Sun 12 Apr 2009, 20:20

#23 Post by mechanic »

PjotAwake wrote:
Strange. In the top of the 'puptray.bac' sourcefile you should see the following line:

Code: Select all

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: Select all

GLOBAL NUL TYPE STRING
*but* never set the value in the source code. Ooops! :-(

So, just set this to 0 in line 292:

Code: Select all

  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

mechanic
Posts: 29
Joined: Sun 12 Apr 2009, 20:20

PupTray-0.4

#24 Post by mechanic »

Here is the latest version. I fixed the "NUL" bug and updated the readme.txt with the changes.
Attachments
puptray-0.4.pet
(55.55 KiB) Downloaded 670 times
regards,
mechanic

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#25 Post by ttuuxxx »

Hi mechanic yes that now works 100% perfectly :) excellent job
ttuuxxx
Attachments
puptray-0.4-2.14X.pet
(48.26 KiB) Downloaded 672 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
sszindian
Posts: 807
Joined: Sun 25 Apr 2010, 02:14
Location: Pennsylvania U.S.

Puppy 5.2

#26 Post by sszindian »

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 ???

mechanic
Posts: 29
Joined: Sun 12 Apr 2009, 20:20

Re: Puppy 5.2

#27 Post by mechanic »

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

User avatar
sszindian
Posts: 807
Joined: Sun 25 Apr 2010, 02:14
Location: Pennsylvania U.S.

Puppy Tray

#28 Post by sszindian »

Thanks mechanic!!!!

I figured it might be something like you describe but I didn't know for sure... we'll give it a shot.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

Re: PupTray-0.4

#29 Post by bigpup »

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.

Post Reply