Desktop widget in Fossapup64 9.5 [SOLVED]

New to Puppy and have questions? Start here

Moderator: Forum moderators

Post Reply
User avatar
Jasper
Posts: 1686
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 716 times
Been thanked: 384 times

Desktop widget in Fossapup64 9.5 [SOLVED]

Post by Jasper »

Hi there
Can someone let me know what this widget is and if it can be edited to show less/more information?
Also, I have a i3 cpu which is dual core however onscreen I can only see CPU0. Is this correct? I had guessed that it should display the individual cores.
Thanks!

Last edited by Jasper on Wed Sep 14, 2022 4:45 pm, edited 2 times in total.
Feek
Posts: 397
Joined: Sun Oct 18, 2020 8:48 am
Location: cze
Has thanked: 49 times
Been thanked: 90 times

Re: Desktop widget

Post by Feek »

Looking at your desktop background, it looks like you are in Fossapup64.

The name of the program is Conky.
I think there are some setting options in the menu -> desktop -> desktop manager.
I suppose it is also possible to edit the conky configuration file manually in a text editor.

Hopefully a real conky user will answer you, because I personally don't use conky.
I prefer Pwidgets or clean desktop.

User avatar
Jasper
Posts: 1686
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 716 times
Been thanked: 384 times

Re: Desktop widget

Post by Jasper »

@Feek

Thanks for explaining and I will look at once I get more familiar. Yes, I am using Fossapup64.

User avatar
mikeslr
Posts: 2855
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 173 times
Been thanked: 867 times

Re: Desktop widget in Fossapup64 9.5

Post by mikeslr »

Sorry, jasper. Like Feek, I also prefer pwidgets. I seem to have deleted conky's config file and symlink in /root/Startup so I can't provide information as to how to manually configure it. But look in /root with 'Show hidden files' activated (Left-Click Rox's 'Eye').

My impression of Conky was that it only displayed information I either wasn't interested in or could otherwise obtain via the widgets on my taskbar. Pwidgets, on the other hand, gives many choices about great deal of information I might want to display; and supports theming.

If it interests you, its thread is here, https://forum.puppylinux.com/viewtopic.php?p=1512#p1512. For Fossapup64, I think zigbert's last publication, pwidgets-2.5.10-x86_64-test6.pet, https://forum.puppylinux.com/viewtopic. ... 886#p17886 would be the one you want.

pwidget's cpu_bar will display the activity of all your cpus. No manual configuration needed.

pwidget's cpu_bar.png
pwidget's cpu_bar.png (319.86 KiB) Viewed 388 times
geo_c
Posts: 2652
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 1911 times
Been thanked: 753 times

Re: Desktop widget in Fossapup64 9.5

Post by geo_c »

The conky config file is in /root and it's called conkyrc. If you don't want certain info just insert a "#" at the beginning of the line to comment it out.

It also contains comments that help with configuring. Mine looks like this:

Code: Select all

# -Use Xft?
use_xft yes
xftfont DejavuSansMono:size=11
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 1

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window true
own_window_transparent true
own_window_type normal
own_window_argb_visual false
own_window_hints undecorated,below,sticky,skip_pager

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

# Minimum size of text area
minimum_size 500
maximum_width 290

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders yes

# Draw borders around graphs
draw_graph_borders yes

# Stippled borders?
stippled_borders 0

border_inner_margin 20
#border_outer_margin 0

# border width
border_width 1

# Default colors and also border colors
default_color ECA200
default_shade_color 000071
default_outline_color green
own_window_colour 000000

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

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 30
gap_y 20

# Subtract file system buffers from used memory?
no_buffers yes

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

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer none
color1 ECA200
color2 00FF00
#weather1 liverpool

TEXT
${color1}System-${color1}${nodename} ${hr 2} 
#${color}${pre_exec lsb_release -i -s}
${color2}Jackalpup64
${color2}${sysname} ${kernel}
#${color2}Uptime ${uptime}

${color1}Processes ${hr 2} 
${color1}${alignc}cpu
${color2}${top name 1}${alignr}${top cpu 1}%
${color2}${top name 2}${alignr}${top cpu 2}%
${color2}${top name 3}${alignr}${top cpu 3}%
${color2}${top name 4}${alignr}${top cpu 4}%
${color2}${top name 5}${alignr}${top cpu 5}%
${color2}${top name 6}${alignr}${top cpu 6}%
${color2}${top name 7}${alignr}${top cpu 7}%

${color1}${alignc} mem 
${color2}${top_mem name 1}${alignr}${top_mem mem_res 1}
${color2}${top_mem name 2}${alignr}${top_mem mem_res 2}
${color2}${top_mem name 3}${alignr}${top_mem mem_res 3}
${color2}${top_mem name 4}${alignr}${top_mem mem_res 4}
${color2}${top_mem name 5}${alignr}${top_mem mem_res 5}
${color2}${top_mem name 6}${alignr}${top_mem mem_res 6}
${color2}${top_mem name 7}${alignr}${top_mem mem_res 7}

${color1}Resources ${hr 2} 
${color2}${cpubar cpu1 10,252} ${color2}${cpu cpu1}% 
${color2}${cpubar cpu2 10,252} ${color2}${cpu cpu2}%       
${color2}${cpubar cpu3 10,252} ${color2}${cpu cpu3}% 
${color2}${cpubar cpu4 10,252} ${color2}${cpu cpu4}%
${color2}${cpubar cpu5 10,252} ${color2}${cpu cpu5}% 
${color2}${cpubar cpu6 10,252} ${color2}${cpu cpu6}%       
${color2}${cpubar cpu7 10,252} ${color2}${cpu cpu7}% 
${color2}${cpubar cpu8 10,252} ${color2}${cpu cpu8}%

#${color2}CPU0 ${cpu cpu0}%${alignr}${hwmon 0 temp 4}${color1}${cpubar cpu0 10,120}
#${color2}CPU5 ${cpu cpu5}%${alignr}${color FF0048}${cpubar cpu5 10,60}
#${color2}CPU6 ${cpu cpu6}%${alignr}${color FF0094}${cpubar cpu6 10,60}
#${color2}CPU5 ${cpu cpu7}%${alignr}${color FF0048}${cpubar cpu7 10,60}
#${color2}CPU6 ${cpu cpu8}%${alignr}${color FF0094}${cpubar cpu8 10,60}
${color1}Mem ${hr 2}  
${color2}${mem} / ${memmax}${alignr}${color2}${membar 10,70}
${color2}swap $swap/$swapmax $swapperc% ${alignr}${color2}${alignr}${swapbar 10,70}

${color1}File Systems ${hr 2} 
${color2}home ${fs_used /initrd/mnt/dev_save} /${fs_size /initrd/mnt/dev_save}${alignr}${color2}${fs_bar 10,60 /initrd/mnt/dev_save}
#${color2}sda1 ${fs_used /mnt/sda1}/${fs_size /mnt/sda1}${alignr}${color 15DF76}${fs_bar 10,60 /mnt/sda1}
#${color2}sdb1 ${fs_used /mnt/sdb1}/${fs_size /mnt/sdb1}${alignr}${color #22902C}${fs_bar 10,60 /mnt/sdb1}
#${color2}sda3 ${fs_used /mnt/sda3}/${fs_size /mnt/sda3}${alignr}${color 15DF76}${fs_bar 10,60 /mnt/sda3}

#${color2}Incoming ${downspeedf eth0} KB/s ${alignr}${color1}${downspeedgraph eth0 10,60}
#${color2}Total Received${alignr}${totaldown eth0}
#${color2}Sending   ${upspeedf eth0} KB/s ${alignr}${color1}${upspeedgraph eth0 10,60}
#${color2}Total Sent${alignr}${totalup eth0}
${color1}NET: EXT: ${alignr}  ${execi 3600 wget -O - -q icanhazip.com} ${if_up eth0}
IP (eth0):$alignr${addr eth0}
${color2} Up: ${color2}${upspeed eth0} k/s
${color1}${alignr}${upspeedgraph eth0 10,170 000000}
${color2} Down: ${color2}${downspeed eth0}k/s${color}
${color1}${alignr}${downspeedgraph eth0 10,170 000000}
${color2}TDown:${totaldown eth0} ${alignr}TUp:${totalup eth0}${endif}${if_up eth1}
IP (eth1):$alignr${addr eth1}
${color2} Up: ${color2}${upspeed eth1} k/s
${color}${upspeedgraph eth1 10,170 000000}
${color2} Down: ${color2}${downspeed eth1}k/s${color}
${downspeedgraph eth1 10,170 000000}
${color2}TDown:${totaldown eth1} ${alignr}TUp:${totalup eth1}${endif}${if_up wlan0}
IP (wlan0):$alignr${addr wlan0}
${color2} Up: ${color2}${upspeed wlan0} k/s
${color1}${alignr}${upspeedgraph wlan0 10,170 000000}
${color2} Down: ${color2}${downspeed wlan0}k/s${color}
${color1}${alignr}${downspeedgraph wlan0 10,170 000000}
${color2}TDown:${totaldown wlan0}${alignr}TUp:${totalup wlan0}${endif}${if_up eth2}
IP (eth2):$alignr${addr eth2}
${color2} Up: ${color2}${upspeed eth2} k/s
${color1}${alignr}${upspeedgraph eth2 10,170 000000}
${color2} Down: ${color2}${downspeed eth2}k/s${color}
${color1}${alignr}${downspeedgraph eth2 10,170 000000}
${color2}TDown:${totaldown eth2} ${alignr}TUp:${totalup eth2}${endif}${if_up wlan1}
IP (wlan1):$alignr${addr wlan1}
${color2} Up: ${color2}${upspeed wlan1} k/s
${color1}${alignr}${upspeedgraph wlan1 10,170 000000}
 ${color2} Down: ${color2}${downspeed wlan1}k/s${color}
${color1}${alignr}${downspeedgraph wlan1 10,170 000000}
${color2}TDown:${totaldown wlan1}${alignr}TUp:${totalup wlan1}${endif}${if_up ath0}
IP (ath0):$alignr${addr ath0}
${color2} Up: ${color2}${upspeed ath0} k/s
${color1}${alignr}${upspeedgraph ath0 10,170 000000}
${color2} Down: ${color2}${downspeed ath0}k/s${color}
${color1}${alignr}${downspeedgraph ath0 10,170 000000}
${color2}TDown:${totaldown ath0}${alignr}TUp:${totalup ath0}${endif}${if_up ath1}
IP (ath1):$alignr${addr ath1}
${color2} Up: ${color2}${upspeed ath1} k/s
${color1}${alignr}${upspeedgraph ath1 10,170 000000}
${color2} Down: ${color2}${downspeed ath1}k/s${color}
${color1}${alignr}${downspeedgraph ath1 10,170 000000}
${color2}TDown:${totaldown ath1}${alignr}TUp:${totalup ath1}${endif}
${color1}${hr 2}

geo_c
Old School Hipster, and Such

User avatar
Jasper
Posts: 1686
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 716 times
Been thanked: 384 times

Re: Desktop widget in Fossapup64 9.5

Post by Jasper »

Thank you all for the input and I will try Pwidgets and also look more closely at the conky config file..... if I am feeling brave!!

geo_c
Posts: 2652
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 1911 times
Been thanked: 753 times

Re: Desktop widget in Fossapup64 9.5

Post by geo_c »

Jasper wrote: Wed Sep 14, 2022 4:45 pm

Thank you all for the input and I will try Pwidgets and also look more closely at the conky config file..... if I am feeling brave!!

It's easy to play with conkyrc. Simply duplicate the file under another name like conkyrc-ORIGINAL as a backup and then edit the conkyrc file in an editor like Geany. Everytime I save the edited conkyrc file from geany, conky restarts automatically with the new settings. If you don't like the results and want to go back to the defaults, just rename or copy the backup conkyrc-ORIGINAL back to conkyrc.

geo_c
Old School Hipster, and Such

Post Reply

Return to “Beginners Help”