pWidgets 2.5.8

Window managers, icon programs, widgets, etc.
Message
Author
User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#161 Post by trio »

hahaha, I just didn't figure it out...just knew it has something to do with zip code

pistoi0
Posts: 112
Joined: Tue 25 Oct 2005, 16:27
Location: Hartford, CT

#162 Post by pistoi0 »

Thanks to sintot and trio, I am pleased to report that the weather in Hartford, CT USA, is Sunny and 37F. The zip code translates perfectly.

pistoi0

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#163 Post by tasmod »

Anyone had trouble with the fonts ?

I followed the instructions to load and tested Abiword where they work OK.

However they will not work with digital clock. It's set for ionic but seems to display DejaVu.

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#164 Post by 01micko »

tasmod wrote:Anyone had trouble with the fonts ?

I followed the instructions to load and tested Abiword where they work OK.

However they will not work with digital clock. It's set for ionic but seems to display DejaVu.
Check '/usr/share/fonts/default/TTF' contains the Ionic font. If not try reinstalling Pwidgets. Or rename the pwidgets-0.4.pet to pwidgets-0.4.pet.tar.gz and extract, find the font in the resulting pwidgets-0.4 directory and copy it to /usr/share/fonts/default/TTF and restart Pwidgets. Hope that helps.
Puppy Linux Blog - contact me for access

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#165 Post by tasmod »

Hi Micko,

Yes it's there. It works in Abiword OK.

As a test I rechecked the minixcal clock in the tray and changed the font in .jwmrc for it to ionic but no joy, it just won't show up.

It's in /usr/share/fonts/default/TTF along with the others. I changed to other fonts and they show OK

Zigbert says they show up in Abiword when installed and that proves true.

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#166 Post by tasmod »

It is in the directory as :

ionic.ttf is this correct rather than IonicCharge.ttf

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

#167 Post by WhoDo »

tasmod wrote:It is in the directory as :

ionic.ttf is this correct rather than IonicCharge.ttf
Try copying your fonts to /root/.fonts directory - if it isn't there, create it. I installed the fonts that Zigbert supplied about 3 times and nothing. Then I manually put them in the /root/.fonts directory and voila!

Hope that helps.
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#168 Post by 01micko »

tasmod wrote:It is in the directory as :

ionic.ttf is this correct rather than IonicCharge.ttf
Yes.

In the main post, zigbert said to run these 2 commands in terminal to update installed fonts

Code: Select all

mkfontscale /usr/share/fonts/default/TTF
mkfontdir /usr/share/fonts/default/TTF 
Hope that helps.

And just double check that 'ionic.ttf' is in /usr/share/fonts/default/TTF
Puppy Linux Blog - contact me for access

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#169 Post by tasmod »

Making a .fonts and copying them across did nothing.

I ran the commands again to be sure.

ionic is in correct location. Paths correct.

Strangely it will show up in Abiword font menu as a choice and will print OK.

I tried the tray clock font change and it did not recognise it, but it would change font size according to instruction line :?

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#170 Post by 01micko »

Try running 'pwidgets' from the command line. Type

Code: Select all

pwidgets
in a terminal. The GUI will show up. Select only the digital clock. Scan the output of the terminal carefully to see if there are any errors.
Also check the 'config file' for the digital clock.
It should look like this

Code: Select all

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

#Digital clock

#### PWIDGETS #####

HEIGHT=80
OFFSET_X=20


#### CONKY ####
#COLORS --- 0:headings 1:base-info 2:extra-info 3:markers 5:green 6:red
#Colors are defined in theme-files, - NOT here.
color0 A2914E
color1 666666
color2 bbbbbb
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 Ionic Charge :size=42

TEXT
${color0}${time %H:%M:%S}
We will figure this out! :wink:
Puppy Linux Blog - contact me for access

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#171 Post by tasmod »

Next to last line Ionic Charge not ionic and success :D

many thanks for persevering with me.

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#172 Post by 01micko »

tasmod wrote:Next to last line Ionic Charge not ionic and success :D

many thanks for persevering with me.
Glad to help out! Puppy=can do! :D
Puppy Linux Blog - contact me for access

User avatar
Evil20071
Posts: 489
Joined: Sat 07 Jun 2008, 19:50
Location: Piedmont, SC,.United States
Contact:

#173 Post by Evil20071 »

Can someone tell me how to make a widget that will look like A) The System monitor at the top and B) The shutdown menu at the bottom of the attached screenshot of my Windows Sidebar? Also, would be nice to figure out how to change the background of the weather for what the weather is like outside. Though that may well be a far cry into the future..
Attachments
Windows Sidebar.JPG
(34.27 KiB) Downloaded 1237 times
[url=http://totalelectronics.us]TotalElectronics.us[/url]

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#174 Post by trio »

FYI everyone,

I once got a problem with fonts too, in Zigbert's pet is in capital letters = MONOFONT.TTF, I got to change it to monofont.ttf to make it work, I dunno if this happens to others.

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#175 Post by trio »

@evil20071:

I think it won't suit the nature of pwidgets/conky which is small enough to be put in the coming puppy 4.2 as an integrated application. Maybe you should try adesklet or gdesklet or google gadget for linux

pistoi0
Posts: 112
Joined: Tue 25 Oct 2005, 16:27
Location: Hartford, CT

#176 Post by pistoi0 »

I once got a problem with fonts too, in Zigbert's pet is in capital letters = MONOFONT.TTF, I got to change it to monofont.ttf to make it work, I dunno if this happens to others.
Bingo! Thanks trio. Finally got the calendar aligment properly set.

- Pistoi0

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#177 Post by trio »

pistoi0 wrote:
I once got a problem with fonts too, in Zigbert's pet is in capital letters = MONOFONT.TTF, I got to change it to monofont.ttf to make it work, I dunno if this happens to others.
Bingo! Thanks trio. Finally got the calendar aligment properly set.

- Pistoi0
Glad to help fellow puppians! :lol:

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

Re: conky config cpu-ram bar

#178 Post by trio »

trio wrote: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}

${color0} Wifi ${color3}${wireless_link_bar 10,112 x}
@Evil20071:
If you want, you could try what I already posted before, change x to your network like eth0

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

#179 Post by WhoDo »

Evil20071 wrote:Can someone tell me how to make a widget that will look like A) The System monitor at the top and B) The shutdown menu at the bottom of the attached screenshot of my Windows Sidebar? Also, would be nice to figure out how to change the background of the weather for what the weather is like outside. Though that may well be a far cry into the future..
There are some pretty fancy Conky scripts out there - see http://www.gnome-look.org for some examples (search 'conky') - but the most worthwhile of these unfortunately use Python scripts that would add a motza to Puppy to support. Sorry about that. Conky itself is limited to text based stuff - fonts and ASCII text graphics characters AFAIK.

Hope that helps.
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#180 Post by ttuuxxx »

Hi guys, I found this GPL chinese weather screenlet, what I was thinking is maybe you could use the images for the weather?
well this is what one image looks like
http://www.gtk-apps.org/content/show.ph ... tent=92657
Image
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

Post Reply