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 Wed 19 Sep 2018, 07:13
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
DIsplaying statistics on background wallpaper.
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [13 Posts]  
Author Message
dcung

Joined: 13 Jul 2018
Posts: 208
Location: Down Under - 3rd rock from Sun.

PostPosted: Thu 16 Aug 2018, 04:27    Post subject:  DIsplaying statistics on background wallpaper.  

Hi All,

This could be wishful thinking... Smile
Refer to the screenshot (of BionicDog).

Is there a package/module/app/whatever so that I can have those stats in all my puppies?

Thanks.
xendog-20180816181443.jpg
 Description   
 Filesize   57.76 KB
 Viewed   182 Time(s)

xendog-20180816181443.jpg


Last edited by dcung on Thu 16 Aug 2018, 19:35; edited 1 time in total
Back to top
View user's profile Send private message 
d_vineet


Joined: 06 Aug 2018
Posts: 74
Location: Bharat

PostPosted: Thu 16 Aug 2018, 05:22    Post subject:  

The package is called 'conky'.
There is good documentation for how to install on Ubuntu.
But I could not find any tips for non-ubuntu install.
Maybe somebody else on this forum is knowing more about this....
Back to top
View user's profile Send private message 
dcung

Joined: 13 Jul 2018
Posts: 208
Location: Down Under - 3rd rock from Sun.

PostPosted: Thu 16 Aug 2018, 06:21    Post subject:  

Thank you d_vineet.. Smile

Equip with a name... found it on those that includes it in PPM...
I will have it on all my puppies that have it... Laughing
Back to top
View user's profile Send private message 
PeteAir


Joined: 01 May 2009
Posts: 29
Location: Texas

PostPosted: Thu 16 Aug 2018, 06:33    Post subject: DIsplaying statistics on background wallpaper.  

Puppy has its own desktop stat and decoration called
pWidgets 2.5.8. They come a as pet file and work great. Do a search for them in additional software pets and stuff
pete
Back to top
View user's profile Send private message 
rockedge


Joined: 11 Apr 2012
Posts: 797
Location: Connecticut, United States

PostPosted: Thu 16 Aug 2018, 10:35    Post subject:  

here is a conky rc file example I use for Puppy Linux
modify it any way you like:

Code:
# UBUNTU-CONKY modified for a Puppy Linux
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages
# - netstat connections to your computer
#
# -- Pengo (conky@pengo.us).
#

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
#own_window_type override
own_window_argb_visual yes
own_window_argb_value 255
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# fiddle with window
#use_spacer yes
use_xft yes

# Update interval in seconds
update_interval 3.0

# Minimum size of text area
minimum_size 180 5
maximum_width 180
# Draw shades?
draw_shades yes

# Text stuff
draw_outline no # amplifies text if yes
draw_borders no

uppercase no # set to yes if you want all text to be in uppercase

# Stippled borders?
stippled_borders 8

# border margins
border_margin 4

# border width.
border_width 1

# Default colors and also border colors, grey90 == #e5e5e5
default_color white
default_shade_color black
default_outline_color black

own_window yes
own_window_transparent yes
own_window_type override
#own_window_argb_visual yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below


# Text alignment, other possible values are commented
#alignment top_left
alignment bottom_right
#alignment bottom_left
#alignment bottom_right
#alignment top_right

# Gap between borders of screen and text
gap_x 15
gap_y 10

# stuff after 'TEXT' will be formatted on screen

override_utf8_locale yes
xftfont Sans:size=8
xftalpha 0.8
if_up_strictness address

TEXT
#${texeci 600 feh --bg-scale '/root/desktop.jpg'}
${color grey}YOUR_COMPUTER_NAME $nodename on $machine
${alignr -50}${voffset 15}${color #cc2222}${font openlogos:size=60}J${voffset -111}${font}
${voffset 23}${color grey}${time %a, } ${color }${time %e %B} ${color }${execi 10 date +%Y}
${color grey}${time %Z,    }${color }${time %H:%M:%S}
${color grey}UpTime: ${color }$uptime_short
${color grey}Kern: ${color }$kernel
${color grey}Load: ${color }$loadavg
${color grey}Processes: ${color }$processes 
${color grey}Running:   ${color }$running_processes
 CPU Usage:${color } $cpu% $alignr${execi 10 sensors | grep ^temp1 | tail -n 1 |awk '{print $2}'} 
${color #cc2222}${cpubar 5,170}
${cpugraph 16,170 000000 ddaa00}
${color grey}Highest CPU:
${color #ddaa00} ${top name 1}$alignr${top cpu 1}
${color lightgrey} ${top name 2}$alignr${top cpu 2}
${color lightgrey} ${top name 3}$alignr${top cpu 3}
${color lightgrey} ${top name 4}$alignr${top cpu 4}

${color grey}Highest MEM:
${color #ddaa00} ${top_mem name 1}$alignr${top_mem mem 1}
${color lightgrey} ${top_mem name 2}$alignr${top_mem mem 2}
${color lightgrey} ${top_mem name 3}$alignr${top_mem mem 3}
${color lightgrey} ${top_mem name 4}$alignr${top_mem mem 4}
${color lightgrey} ${top_mem name 5}$alignr${top_mem mem 5}

${color lightgrey}RAM usage:$color $memperc% $mem/$memmax
${membar}
#${color grey}MEM:${color }$alignr${execp free -m | awk '/^Mem/ {printf("%u%%", 100*$3/$2);}'} ${execp free -h | awk '/^Mem/ {print $3}'}$mem/$memmax
#${execbar free -m | awk '/^Mem/ {printf("%u%%", 100*$3/$2);}'}
#${membar}
${color grey}SWAP: ${color }$alignr$swapperc% $swap/$swapmax
${swapbar 4,140}
${color grey}ROOT:  ${color }$alignr${fs_used /}/${fs_size /}
${fs_bar 4,140 /}
#${color0}Save${color}${alignr}${execp df -h | awk '/loop1/ {print $3, "${color0}/${color}", $2}'}
#${color lightgrey}Save: ${color}Used: ${execp du -csh --apparent-size /live/cow/* 2> /dev/null | awk 'END {print $1}'} Free: ${fs_free /live/cow}
#${color orange}${fs_bar /live/cow}
#${color lightgrey}Home: ${fs_used /live/image/}/${fs_size /live/image//} ${fs_used_perc /live/image/}%
#${color lightgrey}Home: ${fs_used /root/}/${fs_size /root//} ${fs_used_perc /root/}%
#${color lightgrey}Home: ${fs_used /}/${fs_size /} ${fs_used_perc /}%
#${color #007700}${fs_bar /live/image/}
#${color lightgrey}RAM usage:$color $mem/$memmax - $memperc%
#${color lightgrey}RAM usage:$color $memperc% $mem/$memmax
#${membar}
${color grey}NET: EXT: ${alignr}  ${execi 3600 wget -O - -q icanhazip.com} ${if_up eth0}
IP (eth0):$alignr${addr eth0}
${color} Up: ${color }${upspeed eth0} k/s
${upspeedgraph eth0 15,170 000000 00ff00}
${color} Down: ${color }${downspeed eth0}k/s${color}
${downspeedgraph eth0 15,170 000000 ff0000}
TDown:${totaldown eth0} ${alignr}TUp:${totalup eth0}${endif}${if_up eth1}
IP (eth1):$alignr${addr eth1}
${color} Up: ${color }${upspeed eth1} k/s
${upspeedgraph eth1 15,170 000000 00ff00}
${color} Down: ${color }${downspeed eth1}k/s${color}
${downspeedgraph eth1 15,170 000000 ff0000}
TDown:${totaldown eth1} ${alignr}TUp:${totalup eth1}${endif}${if_up wlan0}
IP (wlan0):$alignr${addr wlan0}
${color} Up: ${color }${upspeed wlan0} k/s
${upspeedgraph wlan0 15,170 000000 00ff00}
${color} Down: ${color }${downspeed wlan0}k/s${color}
${downspeedgraph wlan0 15,170 000000 ff0000}
TDown:${totaldown wlan0}${alignr}TUp:${totalup wlan0}${endif}${if_up eth2}
IP (eth2):$alignr${addr eth2}
${color} Up: ${color }${upspeed eth2} k/s
${upspeedgraph eth2 15,170 000000 00ff00}
${color} Down: ${color }${downspeed eth2}k/s${color}
${downspeedgraph eth2 15,170 000000 ff0000}
TDown:${totaldown eth2} ${alignr}TUp:${totalup eth2}${endif}${if_up wlan1}
IP (wlan1):$alignr${addr wlan1}
${color} Up: ${color }${upspeed wlan1} k/s
${upspeedgraph wlan1 15,170 000000 00ff00}
${color} Down: ${color }${downspeed wlan1}k/s${color}
${downspeedgraph wlan1 15,170 000000 ff0000}
TDown:${totaldown wlan1}${alignr}TUp:${totalup wlan1}${endif}${if_up ath0}
IP (ath0):$alignr${addr ath0}
${color} Up: ${color }${upspeed ath0} k/s
${upspeedgraph ath0 15,170 000000 00ff00}
${color} Down: ${color }${downspeed ath0}k/s${color}
${downspeedgraph ath0 15,170 000000 ff0000}
TDown:${totaldown ath0}${alignr}TUp:${totalup ath0}${endif}${if_up ath1}
IP (ath1):$alignr${addr ath1}
${color} Up: ${color }${upspeed ath1} k/s
${upspeedgraph ath1 15,170 000000 00ff00}
${color} Down: ${color }${downspeed ath1}k/s${color}
${downspeedgraph ath1 15,170 000000 ff0000}
TDown:${totaldown ath1}${alignr}TUp:${totalup ath1}${endif}
Screenshot(12).png
 Description   
 Filesize   23.33 KB
 Viewed   133 Time(s)

Screenshot(12).png

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


Joined: 11 Dec 2013
Posts: 3353
Location: holland

PostPosted: Thu 16 Aug 2018, 12:01    Post subject:  

Hi dcung, I see that's the conky config from BionicDog.
I think it can be adapted to puppy, but some are very specific for 'Dogs' e.g. Save: Used ... Free: .. and Home: ... so these won't work properly on Puppy.
I can't remember where, but I've seen conky configs in this forum with similar display of Save, Free, Home, anyone with more knowledge than me about Puppy can help maybe... ?

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 11009
Location: Charleston S.C. USA

PostPosted: Thu 16 Aug 2018, 12:31    Post subject:  

Pwidgets
http://murga-linux.com/puppy/viewtopic.php?t=35601
Make sure to get the correct bit version (32 or 64 bit) for the Puppy you are using.

This should work in the official Puppies, but not sure in the Puppy like OS offered on the forum.
Only way to know is try it.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
dcung

Joined: 13 Jul 2018
Posts: 208
Location: Down Under - 3rd rock from Sun.

PostPosted: Thu 16 Aug 2018, 20:54    Post subject:  

Thanks you all guys..

@rockedge
I appreciate the codes. At some point, I'll try to make sense and figure out how to use it... Smile
All I vaguely remember is that when seeing the word 'rc' this would involve rd demon and putting files where they should be... Laughing
For the time being, I have to be happy with 'ready made' ones.

@PeteAir & Bigpup
Installed pwidgets in XenPup, yes, it works mostly.
Temp & Fan doesn't but beggar can not be chooser I guess... Embarassed Laughing

Hopefully, one day I can do what rockedge does.
Customise his own... Wink Wink

@fredx181
I wish I was at that skill level Fred... Sad
Back to top
View user's profile Send private message 
mikeslr


Joined: 16 Jun 2008
Posts: 2616
Location: 500 seconds from Sol

PostPosted: Thu 16 Aug 2018, 21:01    Post subject: Conky Documentation & Theming  

Hi dchung,

If you want to explore what you can do with Conky, you'll find a link to documentation on musher0's post, http://murga-linux.com/puppy/viewtopic.php?p=780697#780697.

And if you get tired of its look, Conky can be themed. See for example, this thread: http://www.murga-linux.com/puppy/viewtopic.php?p=576223#576223.

While Puppy Package Manager in Xenialpup64 shows several Conky packages (but none with Lua which I think may be needed for theming) I'm not sure exactly what would be needed on a 64-bit Puppy. But that's what exploring's all about; and the Eye-Candy Section of the Additional Software Forum when you've found something we all might like.

mikesLr
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 12682
Location: Gatineau (Qc), Canada

PostPosted: Thu 16 Aug 2018, 21:09    Post subject:  

Hello dcung.

There are many sites offering all sorts of conky configurations, these
ones, for example, found with ask.com:
https://www.ask.com/web?qsrc=1&o=0&l=dir&q=conky+configurations&qo=serpSearchTopBox

The site for the definitions of each conky setting is here:
http://conky.sourceforge.net/config_settings.html

Remember:
Assuming you have a conky configuration that you made -- and stored in
/root/.config/conky -- (but you can store it anywhere, really), the way to
call it is
Code:
conky -c /root/.config/conky/my-conky-config

Finally a feast for the eyes: Smile
https://www.deviantart.com/customization/skins/linuxutil/applications/conky/newest

IHTH

_________________
musher0
~~~~~~~~~~
Siempre será canción nueva... (V. Jara, Manifiesto)
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 12682
Location: Gatineau (Qc), Canada

PostPosted: Thu 16 Aug 2018, 21:11    Post subject: Re: Conky Documentation & Theming  

mikeslr wrote:
Hi dchung,

If you want to explore what you can do with Conky, you'll find a link to
documentation on musher0's post,
http://murga-linux.com/puppy/viewtopic.php?p=780697#780697.
(...)

mikesLr
Moi ?!?! I did that ?!?! Wink
_________________
musher0
~~~~~~~~~~
Siempre será canción nueva... (V. Jara, Manifiesto)
Back to top
View user's profile Send private message 
dcung

Joined: 13 Jul 2018
Posts: 208
Location: Down Under - 3rd rock from Sun.

PostPosted: Thu 16 Aug 2018, 21:57    Post subject:  

musher0 wrote:
Code:
conky -c /root/.config/conky/my-conky-config

IHTH


This helps to get me started tinkering..
Off to create "my own" now...
Thanks musher0.. Smile
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 12682
Location: Gatineau (Qc), Canada

PostPosted: Thu 16 Aug 2018, 22:29    Post subject:  

My pleasure!
_________________
musher0
~~~~~~~~~~
Siempre será canción nueva... (V. Jara, Manifiesto)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [13 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.1003s ][ Queries: 13 (0.0045s) ][ GZIP on ]