Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 19 Dec 2014, 20:19
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
PupTray-0.4
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [29 Posts]   Goto page: Previous 1, 2
Author Message
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15122
Location: Paradox Realm

PostPosted: 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
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15122
Location: Paradox Realm

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

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

Many thanks - well done on baconification

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
ttuuxxx


Joined: 05 May 2007
Posts: 10843
Location: Ontario Canada,Sydney Australia

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

Embarassed
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 Smile
Back to top
View user's profile Send private message Visit poster's website 
mechanic

Joined: 12 Apr 2009
Posts: 29

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

Embarassed
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?) Wink

Anyway, I hope this one works OK for you guys. Now to make some programming tools for myself...

Go Puppy!
puptray-0.3.pet
Description 
pet

 Download 
Filename  puptray-0.3.pet 
Filesize  55.51 KB 
Downloaded  457 Time(s) 

_________________
regards,
mechanic
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10843
Location: Ontario Canada,Sydney Australia

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

Embarassed
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?) Wink

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 Smile 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 Smile
Back to top
View user's profile Send private message Visit poster's website 
PjotAwake


Joined: 03 Nov 2010
Posts: 34
Location: The Hague, The Netherlands

PostPosted: 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
View user's profile Send private message Visit poster's website 
ICQ Number 
ttuuxxx


Joined: 05 May 2007
Posts: 10843
Location: Ontario Canada,Sydney Australia

PostPosted: 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 Smile
Back to top
View user's profile Send private message Visit poster's website 
mechanic

Joined: 12 Apr 2009
Posts: 29

PostPosted: 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! Sad

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
View user's profile Send private message 
mechanic

Joined: 12 Apr 2009
Posts: 29

PostPosted: 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.
puptray-0.4.pet
Description 
pet

 Download 
Filename  puptray-0.4.pet 
Filesize  55.55 KB 
Downloaded  464 Time(s) 

_________________
regards,
mechanic
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10843
Location: Ontario Canada,Sydney Australia

PostPosted: Wed 03 Nov 2010, 21:23    Post subject:  

Hi mechanic yes that now works 100% perfectly Smile excellent job
ttuuxxx
puptray-0.4-2.14X.pet
Description 
pet

 Download 
Filename  puptray-0.4-2.14X.pet 
Filesize  48.26 KB 
Downloaded  446 Time(s) 

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
sszindian


Joined: 24 Apr 2010
Posts: 614
Location: Pennsylvania U.S.

PostPosted: 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
View user's profile Send private message 
mechanic

Joined: 12 Apr 2009
Posts: 29

PostPosted: 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
View user's profile Send private message 
sszindian


Joined: 24 Apr 2010
Posts: 614
Location: Pennsylvania U.S.

PostPosted: 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
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 5484
Location: Charleston S.C. USA

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [29 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0990s ][ Queries: 13 (0.0045s) ][ GZIP on ]