PCP - Puppy Control Panel(s)

A home for all kinds of Puppy related projects
Message
Author
User avatar
gposil
Posts: 1300
Joined: Mon 06 Apr 2009, 10:00
Location: Stanthorpe (The Granite Belt), QLD, Australia
Contact:

Puppy Control Panel

#31 Post by gposil »

Which interface does everyone prefer...the icons only or the tabbed? Let me know which and I'll quickly knock up the rest of the code and upload the Lazarus/Fpc source... :D

cthisbear
Posts: 4422
Joined: Sun 29 Jan 2006, 22:07
Location: Sydney Australia

#32 Post by cthisbear »

gposil :

Tabbed loks great mate.

Upload ASAP............please.

Chris.

User avatar
gposil
Posts: 1300
Joined: Mon 06 Apr 2009, 10:00
Location: Stanthorpe (The Granite Belt), QLD, Australia
Contact:

Working on It

#33 Post by gposil »

I'm coding now...hope this screen shot looks better with gtk2 now being used. :D

Updated here:http://www.murga-linux.com/puppy/viewto ... 418#293418
Last edited by gposil on Thu 09 Apr 2009, 10:36, edited 2 times in total.

User avatar
esmourguit
Posts: 1410
Joined: Fri 17 Nov 2006, 14:45
Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie

#34 Post by esmourguit »

Bonjour,
I like very much the look of that window. Do you think you could do the same on the Pshutdown 0.1 version of Zigbert? Here is a translated version in french.
Cordialement ;)
[url=http://moulinier.net/][color=blue][b]Toutou Linux[/b][/color][/url] - [url=http://toutoulinux.free.fr/pet.php][color=blue][b]Paquets français[/b][/color][/url]

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#35 Post by trapster »

Tabbed
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

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

#36 Post by Lobster »

tab
with 'miscellaneous' and two 'l' :)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
gposil
Posts: 1300
Joined: Mon 06 Apr 2009, 10:00
Location: Stanthorpe (The Granite Belt), QLD, Australia
Contact:

Thanks Lobster

#37 Post by gposil »

You can see there's no spell checking in my toolkit... :lol:

User avatar
gposil
Posts: 1300
Joined: Mon 06 Apr 2009, 10:00
Location: Stanthorpe (The Granite Belt), QLD, Australia
Contact:

PCP2...Try It

#38 Post by gposil »

Here it is...please test it..have done no debugging or library linking yet, so size of binary will reduce somewhat.

BTW. Compiled under Puppy 4.1.2...also tested on 4.2

The binary and the source are below... :)

Suggestions, bugs, comments please...I'm not to sure about the popup tooltips...window seems a little busy to me....


See further down thread for latest binary. :)
Last edited by gposil on Wed 08 Apr 2009, 14:04, edited 2 times in total.

User avatar
Billwho?
Posts: 559
Joined: Tue 06 Dec 2005, 09:28
Location: still "In The Dog House" East Coast Oz
Trialing 4.20

#39 Post by Billwho? »

Just tried in 4.2 final on my laptop. Got

Code: Select all

 ./pcp2: error while loading shared libraries: libglib-1.2.so.0" cannot open shared object file" No such file or directory 
when I started it from the command line. After making a symlink to /usr/lib/libglib-2.0.so.0 I got a similar error message for libgdk-1.2.so.0.
Have not gone any further at this stage.

I did run it by clicking on the binary in 215CE Alpha and although it seemed to open OK and looked good it did not do anything when any of the buttons were clicked on.
Linux = Learning through doing :shock: :? :D
The learning curve may be steep but there is a light at the end of the tunnel.
You just have to pass the occasional oncoming train to get there.

User avatar
gposil
Posts: 1300
Joined: Mon 06 Apr 2009, 10:00
Location: Stanthorpe (The Granite Belt), QLD, Australia
Contact:

Billwho? problem

#40 Post by gposil »

Very interesting...just booted up 4.2 and tested perfectly.......

It will not work in versions prior to 4

also those symlink changes you made are already in 4.1.x and 4.2...very curious.

I'll investigate this further with other 4.x releases

User avatar
esmourguit
Posts: 1410
Joined: Fri 17 Nov 2006, 14:45
Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie

#41 Post by esmourguit »

Bonjour,
In Puppy 4.13, here are the lib added :
libgdk-1.2.so.0 link to libgdk-1.2.so.0.9.1
libgdk_pixbuf.so.2 link to libgdk_pixbuf.so.2.0.0
libglib-1.2.so.0 link to libgmodule-1.2.so.0
libgtk-1.2.so.0 link to libgtk-1.2.so.0.9.1
and the result for pcp2 in terminal :
# pcp2
pcp2: symbol lookup error: /usr/lib/libgdk-1.2.so.0: undefined symbol: g_source_add

What is wrong?

Cordialement ;)
[url=http://moulinier.net/][color=blue][b]Toutou Linux[/b][/color][/url] - [url=http://toutoulinux.free.fr/pet.php][color=blue][b]Paquets français[/b][/color][/url]

User avatar
gposil
Posts: 1300
Joined: Mon 06 Apr 2009, 10:00
Location: Stanthorpe (The Granite Belt), QLD, Australia
Contact:

Interesting

#42 Post by gposil »

The program does not use those libraries
ldd pcp2
linux-gate.so.1 => (0xffffe000)
libX11.so.6 => /usr/X11R7/lib/libX11.so.6 (0xb7e63000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7e53000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7bf2000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7b90000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7b70000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7ae2000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7ade000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7adb000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb7aac000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7a97000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb7a80000)
libdl.so.2 => /lib/libdl.so.2 (0xb7a7b000)
libc.so.6 => /lib/libc.so.6 (0xb7980000)
libXau.so.6 => /usr/X11R7/lib/libXau.so.6 (0xb797d000)
libXdmcp.so.6 => /usr/X11R7/lib/libXdmcp.so.6 (0xb7978000)
libm.so.6 => /lib/libm.so.6 (0xb7956000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb794d000)
libXfixes.so.3 => /usr/X11R7/lib/libXfixes.so.3 (0xb7949000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb78ec000)
libfontconfig.so.1 => /usr/X11R7/lib/libfontconfig.so.1 (0xb78c6000)
libXext.so.6 => /usr/X11R7/lib/libXext.so.6 (0xb78ba000)
libXrender.so.1 => /usr/X11R7/lib/libXrender.so.1 (0xb78b2000)
libXrandr.so.2 => /usr/X11R7/lib/libXrandr.so.2 (0xb78ac000)
libXcursor.so.1 => /usr/X11R7/lib/libXcursor.so.1 (0xb78a3000)
librt.so.1 => /lib/librt.so.1 (0xb7890000)
/lib/ld-linux.so.2 (0xb7f35000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb786b000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb780c000)
libz.so.1 => /lib/libz.so.1 (0xb77fd000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb77e0000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb77af000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb76e4000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb76d9000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb76bd000)
It may be a UPX problem...try the binary below

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

Re: Interesting

#43 Post by CatDude »

Hello gposil

Very nice.
gposil wrote: It may be a UPX problem...try the binary below
I am running Puppy 4.2retro, and i initially had the same problem as Billwho? had.
Then i tried pcp2b-bin.tar.gz and that seems to be working OK.

I will be keeping an eye on this thread, well done mate, i like it.

CatDude
.

EDIT:
If i could offer 1 suggestion, it would be,
could you make the text as well as the icon launch whatever application
Attachments
pcp2b.jpg
(40.51 KiB) Downloaded 1130 times
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

User avatar
gposil
Posts: 1300
Joined: Mon 06 Apr 2009, 10:00
Location: Stanthorpe (The Granite Belt), QLD, Australia
Contact:

Thanks CatDude

#44 Post by gposil »

Still a few more bugs .01c will incorporate your suggestion CatDude :)

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

Re: Thanks CatDude

#45 Post by CatDude »

Hi
gposil wrote:will incorporate your suggestion CatDude :)
Thank you ever so much.

CatDude
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

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

#46 Post by Lobster »

:)
I believe Puppy uses compression so using UPX does not offer much improvement. By linking to/using the icons in Puppy 4.2, you will save a lot more space
:)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
gposil
Posts: 1300
Joined: Mon 06 Apr 2009, 10:00
Location: Stanthorpe (The Granite Belt), QLD, Australia
Contact:

pcp2 version 0.1c

#47 Post by gposil »

Find below Version 0.1c

Please keep suggestions coming... :)

See post below

http://www.murga-linux.com/puppy/viewto ... 418#293418
Last edited by gposil on Thu 09 Apr 2009, 10:34, edited 1 time in total.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#48 Post by technosaurus »

ummm sorry about this -didn't realize it was going to be this easy... just spent about 2 minutes playing with the code and came up with this... anyhow here is the pic and code
Attachments
pcp2.gz
(938 Bytes) Downloaded 750 times
pcp2.png
(31.96 KiB) Downloaded 1830 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
gposil
Posts: 1300
Joined: Mon 06 Apr 2009, 10:00
Location: Stanthorpe (The Granite Belt), QLD, Australia
Contact:

Latest Update to PCP2

#49 Post by gposil »

Here's more debugging and improvements. :)
Attachments
sc7.jpg
Alternative
(37.65 KiB) Downloaded 1882 times
sc4.jpg
Latest Screenshot
(35.71 KiB) Downloaded 1885 times

User avatar
esmourguit
Posts: 1410
Joined: Fri 17 Nov 2006, 14:45
Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie

#50 Post by esmourguit »

Bonjour,
@ gposil
How about localizing?
Cordialement ;)
[url=http://moulinier.net/][color=blue][b]Toutou Linux[/b][/color][/url] - [url=http://toutoulinux.free.fr/pet.php][color=blue][b]Paquets français[/b][/color][/url]

Post Reply