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 Sun 21 Dec 2014, 05:22
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 1 of 2 [29 Posts]   Goto page: 1, 2 Next
Author Message
mechanic

Joined: 12 Apr 2009
Posts: 29

PostPosted: Sat 30 Oct 2010, 19:25    Post subject:  PupTray-0.4
Subject description: 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!
puptray-0.4.pet
Description  This is the latest version. Enjoy!
pet

 Download 
Filename  puptray-0.4.pet 
Filesize  55.55 KB 
Downloaded  563 Time(s) 
puptray.jpg
 Description   
 Filesize   33.03 KB
 Viewed   2156 Time(s)

puptray.jpg


_________________
regards,
mechanic

Last edited by mechanic on Sun 16 Jan 2011, 08:56; edited 1 time in total
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1287
Location: Ukraine

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

Joined: 20 May 2006
Posts: 6464
Location: Auckland, New Zealand

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


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

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

Joined: 20 May 2006
Posts: 6464
Location: Auckland, New Zealand

PostPosted: Sun 31 Oct 2010, 07:41    Post subject: Re: PupTray-0.1
Subject description: 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
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1287
Location: Ukraine

PostPosted: 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 Smile
puptray.tar.gz
Description 
gz

 Download 
Filename  puptray.tar.gz 
Filesize  13.63 KB 
Downloaded  484 Time(s) 
Back to top
View user's profile Send private message 
mechanic

Joined: 12 Apr 2009
Posts: 29

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


Joined: 26 Aug 2010
Posts: 94

PostPosted: Sun 31 Oct 2010, 16:14    Post subject:  

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


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

PostPosted: 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 Smile, 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 Smile
PupTray-0.1.jpg
 Description   
 Filesize   9.5 KB
 Viewed   2046 Time(s)

PupTray-0.1.jpg

puptray-0.1a.pet
Description 
pet

 Download 
Filename  puptray-0.1a.pet 
Filesize  48.82 KB 
Downloaded  496 Time(s) 
bash-bacon-4.1-i386.pet
Description 
pet

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

 Download 
Filename  bash-bacon-4.1-i386-locals.pet 
Filesize  645.52 KB 
Downloaded  568 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 
ttuuxxx


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

PostPosted: 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
PupTray-0.1.jpg
 Description   
 Filesize   16.02 KB
 Viewed   2100 Time(s)

PupTray-0.1.jpg


_________________
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: Mon 01 Nov 2010, 19:56    Post subject: PupTray-0.2
Subject description: 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!
puptray-0.2.pet
Description 
pet

 Download 
Filename  puptray-0.2.pet 
Filesize  55.52 KB 
Downloaded  495 Time(s) 
PupTray.jpg
 Description   
 Filesize   34.78 KB
 Viewed   1808 Time(s)

PupTray.jpg


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

Joined: 12 Apr 2009
Posts: 29

PostPosted: Mon 01 Nov 2010, 20:13    Post subject: Re: PupTray-0.2
Subject description: 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
View user's profile Send private message 
ttuuxxx


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

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

 Download 
Filename  puptray-0.2a.pet 
Filesize  70.9 KB 
Downloaded  489 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 
mechanic

Joined: 12 Apr 2009
Posts: 29

PostPosted: Tue 02 Nov 2010, 06:48    Post subject: PupTray-0.2
Subject description: 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
View user's profile Send private message 
ttuuxxx


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

PostPosted: Tue 02 Nov 2010, 07:00    Post subject: Re: PupTray-0.2
Subject description: 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'

Quote:

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 Smile

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 Smile
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 2 [29 Posts]   Goto page: 1, 2 Next
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.0906s ][ Queries: 13 (0.0062s) ][ GZIP on ]