DIsplaying statistics on background wallpaper.

Booting, installing, newbie
Post Reply
Message
Author
dcung
Posts: 242
Joined: Sat 14 Jul 2018, 00:11
Location: Down Under - 3rd rock from Sun.

DIsplaying statistics on background wallpaper.

#1 Post by dcung »

Hi All,

This could be wishful thinking... :)
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.
Attachments
xendog-20180816181443.jpg
(57.76 KiB) Downloaded 220 times
Last edited by dcung on Thu 16 Aug 2018, 23:35, edited 1 time in total.

User avatar
d_vineet
Posts: 116
Joined: Mon 06 Aug 2018, 05:32
Location: Bharat

#2 Post by d_vineet »

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....

dcung
Posts: 242
Joined: Sat 14 Jul 2018, 00:11
Location: Down Under - 3rd rock from Sun.

#3 Post by dcung »

Thank you d_vineet.. :)

Equip with a name... found it on those that includes it in PPM...
I will have it on all my puppies that have it... :lol:

User avatar
PeteAir
Posts: 47
Joined: Fri 01 May 2009, 19:03
Location: Texas

DIsplaying statistics on background wallpaper.

#4 Post by PeteAir »

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

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#5 Post by rockedge »

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

Code: Select all

# 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}
Attachments
Screenshot(12).png
(23.33 KiB) Downloaded 175 times

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#6 Post by fredx181 »

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

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#7 Post by bigpup »

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.
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 :shock:
YaPI(any iso installer)

dcung
Posts: 242
Joined: Sat 14 Jul 2018, 00:11
Location: Down Under - 3rd rock from Sun.

#8 Post by dcung »

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... :)
All I vaguely remember is that when seeing the word 'rc' this would involve rd demon and putting files where they should be... :lol:
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... :oops: :lol:

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

@fredx181
I wish I was at that skill level Fred... :(

User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

Conky Documentation & Theming

#9 Post by mikeslr »

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. ... 697#780697.

And if you get tired of its look, Conky can be themed. See for example, this thread: http://www.murga-linux.com/puppy/viewto ... 223#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

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#10 Post by musher0 »

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=di ... archTopBox

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: Select all

conky -c /root/.config/conky/my-conky-config
Finally a feast for the eyes: :)
https://www.deviantart.com/customizatio ... nky/newest

IHTH
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

Re: Conky Documentation & Theming

#11 Post by musher0 »

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. ... 697#780697.
(...)

mikesLr
Moi ?!?! I did that ?!?! ;)
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

dcung
Posts: 242
Joined: Sat 14 Jul 2018, 00:11
Location: Down Under - 3rd rock from Sun.

#12 Post by dcung »

musher0 wrote:

Code: Select all

conky -c /root/.config/conky/my-conky-config
IHTH
This helps to get me started tinkering..
Off to create "my own" now...
Thanks musher0.. :)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#13 Post by musher0 »

My pleasure!
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Post Reply