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 23 Nov 2014, 07:20
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
pWidgets 2.5.6
Post new topic   Reply to topic View previous topic :: View next topic
Page 10 of 207 [3100 Posts]   Goto page: Previous 1, 2, 3, ..., 8, 9, 10, 11, 12, ..., 205, 206, 207 Next
Author Message
sintot


Joined: 29 Oct 2006
Posts: 57
Location: Madrid

PostPosted: Wed 31 Dec 2008, 09:57    Post subject:  

Yes, Trio, it is the base for the text part of the weather widget.
Back to top
View user's profile Send private message 
trio


Joined: 21 Dec 2008
Posts: 1883
Location: अनुमोदना

PostPosted: Wed 31 Dec 2008, 10:17    Post subject:  

No prob Sintot,

I just thought I should mention it to the forum
Back to top
View user's profile Send private message 
trio


Joined: 21 Dec 2008
Posts: 1883
Location: अनुमोदना

PostPosted: Wed 31 Dec 2008, 12:27    Post subject: conky config cpu-ram bar
Subject description: for new puppy/pwidgets user
 

as the widgets keep building up, i made one pwidget item which consist of cpu-ram monitor in bars. it will give more space for pwidgets user to show more widgets on the list. Anyhow for you experienced users, this is just a child's drawing, but for new users, just copy the lines below and save it in the /root/.pwidgets/configs/ , you'll get a new widget instantly on the list when you start pwidgets control panel from the desktop start menu. and you can get so much more by making conky config files like this by yourself, please look up on the net....

#this is a Pwidgets config file
#the actual building of the graphics is defined in bottom of this file, - after 'TEXT'.

#Cpu-ram monitor

#### PWIDGETS #####

HEIGHT=65
OFFSET_X=20


#### CONKY ####
#color0:headings color1:base-info color2:extra-info color3:markers color5:green color6:red
color0 9C8F5B
color1 777777
color2 white
color3 ffab00
color5 499D3A
color6 red

background no
own_window yes
own_window_type override
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
#own_window_colour hotpink
double_buffer yes
total_run_times 0
update_interval 1
minimum_size 160 5
draw_shades yes
draw_outline no
draw_borders no
stippled_borders 2
border_margin 4
border_width 1
default_color white
default_shade_color 333333
default_outline_color red
no_buffers yes
uppercase no
use_spacer none
use_xft yes
xftfont DejaVu :style=bold:size=9

TEXT
${color0}R A M ${color5}${membar 10,110}

${color0}C P U ${color3}${cpubar 10,112}
mypwidgets.jpg
 Description   
 Filesize   27.8 KB
 Viewed   1328 Time(s)

mypwidgets.jpg


Last edited by trio on Fri 02 Jan 2009, 00:38; edited 3 times in total
Back to top
View user's profile Send private message 
ttuuxxx


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

PostPosted: Wed 31 Dec 2008, 12:55    Post subject:  

Hey that looks nice Smile
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 
tasmod


Joined: 04 Dec 2008
Posts: 1462
Location: North Lincolnshire. UK

PostPosted: Wed 31 Dec 2008, 13:00    Post subject:  

Having lost my clock skins I looked for the updated link with the correct permissions, this seems to have been edited out.

Can someone repost the clock skin correct link.

Thanks.
Back to top
View user's profile Send private message Visit poster's website 
trio


Joined: 21 Dec 2008
Posts: 1883
Location: अनुमोदना

PostPosted: Wed 31 Dec 2008, 14:40    Post subject:  

@01micko, zigbert, and all

I think i found the best tweak for fixwidgets (start up):

sleep 3 #number of seconds before execution
xevent -a 0 100 #number of pixels for cursor to deviate right and down
sleep 0.1 ; xevent -b 1 2 #simulated left mouse click
sleep 0.1 ; xevent -a 512 5000 #move cursor far far away from anything
sleep 0.1 ; xevent -b 3 #simulated right mouse click
sleep 0.1 ; xevent -a 512 384 #move back cursor to the middle

I can put less sleep time (depending on your machine I guess, the most secure is 6), and also it eliminates the "won't release" mouse clicked which is very annoying (and for some who have startmenu bar on top of the screen, maybe use: sleep 0.1 ; xevent -a 512 -5000 #move cursor far far away from anything or sleep 0.1 ; xevent -a 900 80 #move cursor to the xonclock and right click there) I tried them all and works fine

Please try, thank you

@tuxxxx
Thank you for the comment

Last edited by trio on Thu 01 Jan 2009, 23:41; edited 2 times in total
Back to top
View user's profile Send private message 
tasmod


Joined: 04 Dec 2008
Posts: 1462
Location: North Lincolnshire. UK

PostPosted: Thu 01 Jan 2009, 06:55    Post subject:  

It's OK guys, I downloaded the full version Clocx to my windoze machine then copied the skins to usb stick.

This is one great app. Very Happy
Back to top
View user's profile Send private message Visit poster's website 
tasmod


Joined: 04 Dec 2008
Posts: 1462
Location: North Lincolnshire. UK

PostPosted: Thu 01 Jan 2009, 16:08    Post subject:  

My desktop with a new Rolex. I altered some parameters but need to know where the hands are kept.
My-desktop.jpg
 Description   
 Filesize   53.73 KB
 Viewed   533 Time(s)

My-desktop.jpg

Back to top
View user's profile Send private message Visit poster's website 
trio


Joined: 21 Dec 2008
Posts: 1883
Location: अनुमोदना

PostPosted: Thu 01 Jan 2009, 23:42    Post subject:  

@ Tasmod

you might want to look inside /root/.xonclockrc

i think everything's in there

Happy New Year Everyone!
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Fri 02 Jan 2009, 05:01    Post subject:  

@trio and zigbert
What we need to do to speed up the slideshow loading is alter the script with this in mind;
we must find out what is in ~/.pwidgets/misc/scaledimages.
if /scaledimages contains the file 01.jpg then this part of the script can run
Code:
#The actual slideshow
            TMP=$[$OFFSET_Y+7]
            echo "xli -geometry +$X_POS2+$TMP -delay $DELAY -goto $SCALED_DIR/01.jpg $SCALED_DIR/*.jpg &" >> $HOME/.pwidgets/tmp/pwidgets-exec
            ;;
         *)

else run this
Code:
#build scaled images in a temporary storage
            echo "scale2pics \"$IMAGE_DIRECTORY\" $SCALED_DIR 126 95 85 jpg" >> $HOME/.pwidgets/tmp/pwidgets-exec
            #The actual slideshow
            TMP=$[$OFFSET_Y+7]
            echo "xli -geometry +$X_POS2+$TMP -delay $DELAY -goto $SCALED_DIR/01.jpg $SCALED_DIR/*.jpg &" >> $HOME/.pwidgets/tmp/pwidgets-exec
            ;;

fi

I think I'm on the right track there. We'll see...

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
tasmod


Joined: 04 Dec 2008
Posts: 1462
Location: North Lincolnshire. UK

PostPosted: Fri 02 Jan 2009, 07:20    Post subject:  

Thanks Trio, unfortunately that's not it.

I had already altered the settings there for setting the clock centre and the hands dimensions.

It's the hands themselves I was trying to change. I was going to use the Rolex 'mercedes' hands.

I suspect they are hard coded in xonclock. In Clocx they are changeable in the seperate ini files.
Back to top
View user's profile Send private message Visit poster's website 
trio


Joined: 21 Dec 2008
Posts: 1883
Location: अनुमोदना

PostPosted: Fri 02 Jan 2009, 08:19    Post subject:  

@tasmod:
Well in that case, I think you're right, the hands are not changeable, only the colors of the hands

@01micko:
Yeah, you might try that, but what I was thinking is more a GUI thing for new users (user friendly), and once the scaledimages are settled, the execution of scaled2pics is a no go. until the user open the GUI again
BTW: have you tried my suggestions of the xevent start up thing of fixwidgets?
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Fri 02 Jan 2009, 08:49    Post subject:  

trio wrote:

@01micko:
Yeah, you might try that, but what I was thinking is more a GUI thing for new users (user friendly), and once the scaledimages are settled, the execution of scaled2pics is a no go. until the user open the GUI again
BTW: have you tried my suggestions of the xevent start up thing of fixwidgets?


With that mod to the script it should be automatic to bypass the original images folder and the slideshow will run immediately. I'm experimenting and hope to come up with something by Monday.

I think zigbert has xevent clicking on the side of the screen now anyway to avoid conflict with the bar at the top of screen.

##########################

I've been testing Pwidgets in 'woof' too. It uses xfce. Very nice interface. It works perfect. You can see a shot on the "|misc|anyone tried woof yet" thread.

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
trio


Joined: 21 Dec 2008
Posts: 1883
Location: अनुमोदना

PostPosted: Fri 02 Jan 2009, 09:34    Post subject:  

[quote="01micko]

I think zigbert has xevent clicking on the side of the screen now anyway to avoid conflict with the bar at the top of screen.

##########################

I've been testing Pwidgets in 'woof' too. It uses xfce. Very nice interface. It works perfect. You can see a shot on the "|misc|anyone tried woof yet" thread.[/quote]

Well, from the pwidgets.04.pet sometimes the mouse click won't release in my computer...with the trick I mentioned, it releases...but anyway, if zigbert is happy with the current start up and no one complains, so let it be
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Fri 02 Jan 2009, 09:44    Post subject:  

trio
Keep workng on it! It is difficult to reproduce every individuals cicumstance. Your code did not work for me in jwm. It opened the 'add icon' sidebar and the clock failed to appear. Seems what can work in Icewm may fail in Jwm. However, we must try to find a solution for both, in many different scenarios. It is not easy, but I'm sure the right solution is out there. Do not be discouraged!

Cheers,
Mick

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 10 of 207 [3100 Posts]   Goto page: Previous 1, 2, 3, ..., 8, 9, 10, 11, 12, ..., 205, 206, 207 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.1069s ][ Queries: 12 (0.0271s) ][ GZIP on ]