 |
Puppy Linux Discussion Forum Puppy home page: puppylinux.com
|
The time now is Tue 09 Feb 2010, 08:32
All times are UTC - 4 |
|
Page 134 of 185 Posts_count |
Goto page: Previous 1, 2, 3, ..., 132, 133, 134, 135, 136, ..., 183, 184, 185 Next |
| Author |
Message |
trio

Joined: 21 Dec 2008 Posts: 1630 Location: Almost there
|
Posted: Sat 28 Mar 2009, 12:58 Post_subject:
|
|
| amigo wrote: | "Is there an option for cp that will copy a file and its path?"
'cp --parents'
Also this:
mkdir -p ~/my-documents/test/root/.pwidgets/plugins/Tv
will create all the dirs at one whack.
Also, on the page before this there is some code which is supposed to return the ID of the root window. The example code doesn't work at all for me, but this does:
echo ROX_DESKTOP=`xwininfo -root -tree | grep 'Root window id:' |cut -f2 -d: |cut -f1 -d'(' |tr -d ' '` |
Thanks amigo & whodo...I already found a solution...
_________________ PET Maker|GTKThemeMaker|JWMThemeMaker
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 2950 Location: Southport, AU, 27° 58' S, 153° 24' E
|
Posted: Sat 28 Mar 2009, 17:24 Post_subject:
|
|
Hmmmmmm.... What are you up to Trio?
_________________ "You may have understood the script perfectly when you wrote it. But six months from now it could look like modem noise." Bruce Barnett sed tutorial
|
|
Back to top
|
|
 |
tasmod

Joined: 04 Dec 2008 Posts: 934 Location: North Lincolnshire. UK
|
Posted: Sun 29 Mar 2009, 19:31 Post_subject:
|
|
Hmm, not sure after reading Eye Candy where we are actually posting widgets now.
Oh well, I'll post it here for testing.
It's a 7 day alarm plugin widget.
Day, Hour, Minute saved over a reboot, so still works.
Shows onscreen as single line 'Alarm unset' or 'Alarm set Monday 13:10' (example)
Minutes are in 5 minute bites, but if you want a specific minute just type it in.
I will probably update it for a choice of alarm sounds, right now it's generic.wav as that is in all Puppy's.
The alarm sounds for 1 minute if not cancelled.
Rob (tasmod)UPDATED NOW WITH SOUND CHOICE
| Description |
|

Download |
| Filename |
Alarm_0.2.pet |
| Filesize |
113.23 KB |
| Downloaded |
31 Time(s) |
| Description |
|
| Filesize |
27.72 KB |
| Viewed |
354 Time(s) |

|
_________________ Rob
-
The moment after you press "Post" is the moment you actually see the typos 
Edited_time_total
|
|
Back to top
|
|
 |
tasmod

Joined: 04 Dec 2008 Posts: 934 Location: North Lincolnshire. UK
|
Posted: Sun 29 Mar 2009, 19:51 Post_subject:
|
|
Mick,
I noticed that the issue with Weather managed to sneak through.
There is an extra blank line at the end which causes it to overlap other widgets. It needs either change height size or blank line deleting.
I actually revamped the config for myself as there are a couple of errors.
The font call for the location name is default, just needs a small size increase.
There's an extra call line for a size 6 font for nothing.
I also added a new font size for the weather report text. Dropped it to 12.
Rob
_________________ Rob
-
The moment after you press "Post" is the moment you actually see the typos 
|
|
Back to top
|
|
 |
tasmod

Joined: 04 Dec 2008 Posts: 934 Location: North Lincolnshire. UK
|
Posted: Mon 30 Mar 2009, 04:51 Post_subject:
|
|
What's wrong guys, are we not talking ?
Have we run out of ideas now 4.2 is out or just 'chillin' ?
Zigbert , new impetus required, new ideas, something
_________________ Rob
-
The moment after you press "Post" is the moment you actually see the typos 
|
|
Back to top
|
|
 |
trio

Joined: 21 Dec 2008 Posts: 1630 Location: Almost there
|
Posted: Mon 30 Mar 2009, 05:18 Post_subject:
|
|
Rob,
Yeah, I'm on 4.2 break now..hhh You know my PET MAKER App? It's on additonal software bla bla section..just a small project while on pwidgets break
Reg,
_________________ PET Maker|GTKThemeMaker|JWMThemeMaker
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 2950 Location: Southport, AU, 27° 58' S, 153° 24' E
|
Posted: Mon 30 Mar 2009, 05:56 Post_subject:
|
|
| tasmod wrote: | Mick,
I noticed that the issue with Weather managed to sneak through.
There is an extra blank line at the end which causes it to overlap other widgets. It needs either change height size or blank line deleting.
I actually revamped the config for myself as there are a couple of errors.
The font call for the location name is default, just needs a small size increase.
There's an extra call line for a size 6 font for nothing.
I also added a new font size for the weather report text. Dropped it to 12.
Rob |
Hi Rob,
Blank line was a mystery to me as I suggested the reduction to size=85, was there though.
The size=6 call is strange to me too. All I did was try to make a gui, without touching the config... oh yes and fix the degree symbol
6 is minute, either a typo or a legacy.... ziggy?
_________________ "You may have understood the script perfectly when you wrote it. But six months from now it could look like modem noise." Bruce Barnett sed tutorial
|
|
Back to top
|
|
 |
tasmod

Joined: 04 Dec 2008 Posts: 934 Location: North Lincolnshire. UK
|
Posted: Mon 30 Mar 2009, 07:41 Post_subject:
|
|
Mick,
I wonder if it was done in Geany ?
I noticed the other day that it kept appending an extra line to a config I was working on, I checked settings and it's there. 'Add extra line at close of file'
Either of you know how to close plugin gui once data entered. Something after 'fixwidgets' in script to shut it down. Tried usual suspects but no joy.
Rob
_________________ Rob
-
The moment after you press "Post" is the moment you actually see the typos 
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 2950 Location: Southport, AU, 27° 58' S, 153° 24' E
|
Posted: Mon 30 Mar 2009, 07:58 Post_subject:
|
|
| tasmod wrote: | Mick,
I wonder if it was done in Geany ?
I noticed the other day that it kept appending an extra line to a config I was working on, I checked settings and it's there. 'Add extra line at close of file'
Rob |
Hmmm ... possible geany bug you think?
_________________ "You may have understood the script perfectly when you wrote it. But six months from now it could look like modem noise." Bruce Barnett sed tutorial
|
|
Back to top
|
|
 |
trio

Joined: 21 Dec 2008 Posts: 1630 Location: Almost there
|
Posted: Mon 30 Mar 2009, 08:11 Post_subject:
|
|
Rob
try this to quit the gui:
<button>
<input file icon=\"gtk-apply\"></input>
<label>Create Pet</label>
<action>. $DIR/func -dir2pet</action>
<action>exit: gtkdialog</action>
</button>
I think it should work fine
_________________ PET Maker|GTKThemeMaker|JWMThemeMaker
Edited_times_total
|
|
Back to top
|
|
 |
trio

Joined: 21 Dec 2008 Posts: 1630 Location: Almost there
|
Posted: Tue 31 Mar 2009, 01:57 Post_subject:
|
|
welcome home sigmund
NEW WIDGET
PetS - showing all pets one by one (changes every second).
| Description |
|

Download |
| Filename |
PetS.pet |
| Filesize |
947 Bytes |
| Downloaded |
27 Time(s) |
_________________ PET Maker|GTKThemeMaker|JWMThemeMaker
|
|
Back to top
|
|
 |
trio

Joined: 21 Dec 2008 Posts: 1630 Location: Almost there
|
Posted: Tue 31 Mar 2009, 05:43 Post_subject:
|
|
NEW WIDGET
SCROLL TEXT
| Description |
|
| Filesize |
21.14 KB |
| Viewed |
219 Time(s) |

|
| Description |
|

Download |
| Filename |
ScrollText.pet |
| Filesize |
1.7 KB |
| Downloaded |
29 Time(s) |
_________________ PET Maker|GTKThemeMaker|JWMThemeMaker
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 2950 Location: Southport, AU, 27° 58' S, 153° 24' E
|
Posted: Tue 31 Mar 2009, 15:36 Post_subject:
|
|
| tasmod wrote: | Mick,
I wonder if it was done in Geany ?
I noticed the other day that it kept appending an extra line to a config I was working on, I checked settings and it's there. 'Add extra line at close of file'
Rob |
There is another instance of this in ~/startup/0_show_widgets..... hmmm...extra unnecessary line .......ziggy?
_________________ "You may have understood the script perfectly when you wrote it. But six months from now it could look like modem noise." Bruce Barnett sed tutorial
|
|
Back to top
|
|
 |
tasmod

Joined: 04 Dec 2008 Posts: 934 Location: North Lincolnshire. UK
|
Posted: Wed 01 Apr 2009, 03:41 Post_subject:
|
|
Mick,
All depends how you save in geany.
In 'preferences' there is an option to add extra line before saving. This is ticked by default.
So if you don't 'delete' back until cursor is at end of your text it will add another line. Normally not a problem but as you know in widgets that's extra space.
Some of Geanys features are really good, but you have to read the preferences carefully to see some odd ones.
Caught me out a couple of times.
Rob
_________________ Rob
-
The moment after you press "Post" is the moment you actually see the typos 
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 2950 Location: Southport, AU, 27° 58' S, 153° 24' E
|
Posted: Wed 01 Apr 2009, 04:01 Post_subject:
|
|
Hello guys
First of all, welcome back Sigmund.... (pics?)
Second. We have some issues. As Rob pointed out geany seems to be appending an extra empty line in some of our code. Weather is the main example, and 0_show_widgets another, although unimportant. When I suggested weather be reduced to height=85 that line was not there, but in 4.2 it is, this forces weather to encroach on the next widget in the tree.
Are there other widgets with this problem? I guess we better look.
Another issue is slower machines. Ok, yes I got a standard Pwidgets 2.05 to run on my 486, however it was in Puppy fat_free 2.16_dillo, so things like the wallpaper setter don't work, therefore sidebar doesn't work. Who cares? Nobody, it's a 486!
But I recently aquired an IBM Aptiva, AMD 400 MHz, 256 MiB ram. Puppy 4.2, standard kernel, runs fine on it, maybe retro would run better, I don't know, may have to test. The thing regarding Pwidgets is mostly at bootup. The widgets load before the wallpaper and consequently there are black backgrounds behind the widgets. Now to resolve this we need to slow down the widgets such that the wallpaper loads before them. I have noticed on older machines that the wallpaper is slow to load in various flavours of Puppy, with completely different wallpaper setters.
Maybe, for users of old gear, that do want bling, we could offer a patch that puts sleeps in the correct places so that these dinosaurs can handle Pwidgets a little better. This IBM I acquired runs fine while Pwidgets is running. Seamonkey is a bit of a hog on this old girl so I installed Skipstone, nice looking browser.. I wonder if it has been optimised? I digress yet again!
Remember, I've plenty of ram on the thing and AMD at that time were very competitive, if not faster than similar intel chips of the era, (I preferred cyrix ... Via don't cut it!)
Thoughts?
Cheers
Mick
_________________ "You may have understood the script perfectly when you wrote it. But six months from now it could look like modem noise." Bruce Barnett sed tutorial
|
|
Back to top
|
|
 |
|
|
Page 134 of 185 Posts_count |
Goto page: Previous 1, 2, 3, ..., 132, 133, 134, 135, 136, ..., 183, 184, 185 Next |
|
|
Rules_post_cannot Rules_reply_cannot Rules_edit_cannot Rules_delete_cannot Rules_vote_cannot You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|