You are not logged in.

#1 2021-01-29 18:03

aldfort
Member
Registered: 2021-01-22
Posts: 9

Prettier applet than ksensor?

I'm running The latest version of Centaurus Trinity on a 32 bit machine with 1.4Ghz Celeron processor and 2GB RAM

I am hoping for some recommentations for something that looks a little nicer than the ksensor package. Perhaps something that can run as a desktop applet?

Offline

#2 2021-01-30 00:37

Tolkem
Member
Registered: 2019-10-06
Posts: 487

Re: Prettier applet than ksensor?

aldfort wrote:

I'm running The latest version of Centaurus Trinity on a 32 bit machine with 1.4Ghz Celeron processor and 2GB RAM

I am hoping for some recommentations for something that looks a little nicer than the ksensor package. Perhaps something that can run as a desktop applet?

Have you tried conky? There are many themes available and customization possibilities are endless. https://www.gnome-look.org/browse/cat/124/order/latest you can install conky manager to apply themes, change its configuration and more https://teejeetech.in/conky-manager/ 
Also, there's GKrellm http://gkrellm.srcbox.net/

To install conky, launch konsole and type

sudo apt-get install conky-all

once installed, create .conkyrc file

nano .conkyrc

or simply type in konsole

conky &

And .conkyrc will be created, note that it'll use its default configuration, which is very basic and not the prettiest. Edit it

nano .conkyrc

There are quite a few templates out there
https://github.com/Aparicio99/conkyrc/b … c-template

This one is a very good resource to learn conky
http://www.ifxgroup.net/conky.htm

This is very helpful too
https://wiki.archlinux.org/index.php/Conky

And here
https://bbs.archlinux.org/viewtopic.php?id=39906

This is my .conkyrc, just for reference, or you can use it if you like, just edit as per your convenience:

# Standard Q4OS .conkyrc file
# set to yes if you want Conky to be forked in the background
background yes

short_units yes

cpu_avg_samples 1
net_avg_samples 1

out_to_console no

# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font 6x10
#font 7x13
 font 8x12
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
#xftfont gentium:size=12
#ftfont DejaVu Sans:size=10
xftfont DejaVu Sans:bold:size=9
#xftfont DejaVu Sans:size=9

# Create own window instead of using desktop 
own_window yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar
own_window_argb_visual yes
#own_window_type normal
#own_window_class conky-semi

# Text alpha when using Xft
xftalpha 1.0

#on_bottom no

# mail spool
#mail_spool $MAIL

# Update interval in seconds
update_interval 1

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

# Minimum size of text area
minimum_size 5 5
maximum_width 190

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
#border_margin 10

# border width
border_width 2

# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color white
#default_color B1CDE3
color2 ffffff
color3 ffffff
color4 yellow
color8 77ccff
color9 5599cc

# 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

gap_x 20
gap_y 40

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer right

# Subtract file system buffers from used memory?
no_buffers yes

# if_up_strictness link:  up | link | address
if_up_strictness address

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

# boinc (seti) dir
# seti_dir /opt/seti

# Possible variables to be used:
#
#      Variable         Arguments                  Description                
#  acpiacadapter                     ACPI ac adapter state.                   
#  acpifan                           ACPI fan state                           
#  acpitemp                          ACPI temperature.                        
#  adt746xcpu                        CPU temperature from therm_adt746x       
#  adt746xfan                        Fan speed from therm_adt746x             
#  battery           (num)           Remaining capasity in ACPI or APM        
#                                    battery. ACPI battery number can be      
#                                    given as argument (default is BAT0).     
#  buffers                           Amount of memory buffered                
#  cached                            Amount of memory cached                  
#  color             (color)         Change drawing color to color            
#  cpu                               CPU usage in percents                    
#  cpubar            (height)        Bar that shows CPU usage, height is      
#                                    bar's height in pixels                   
#  downspeed         net             Download speed in kilobytes              
#  downspeedf        net             Download speed in kilobytes with one     
#                                    decimal                                  
#  exec              shell command   Executes a shell command and displays    
#                                    the output in torsmo. warning: this      
#                                    takes a lot more resources than other    
#                                    variables. I'd recommend coding wanted   
#                                    behaviour in C and posting a patch :-).  
#  execi             interval, shell Same as exec but with specific interval. 
#                    command         Interval can't be less than              
#                                    update_interval in configuration.        
#  fs_bar            (height), (fs)  Bar that shows how much space is used on 
#                                    a file system. height is the height in   
#                                    pixels. fs is any file on that file      
#                                    system.                                  
#  fs_free           (fs)            Free space on a file system available    
#                                    for users.                               
#  fs_free_perc      (fs)            Free percentage of space on a file       
#                                    system available for users.              
#  fs_size           (fs)            File system size                         
#  fs_used           (fs)            File system used space                   
#  hr                (height)        Horizontal line, height is the height in 
#                                    pixels                                   
#  i2c               (dev), type, n  I2C sensor from sysfs (Linux 2.6). dev   
#                                    may be omitted if you have only one I2C  
#                                    device. type is either in (or vol)       
#                                    meaning voltage, fan meaning fan or temp 
#                                    meaning temperature. n is number of the  
#                                    sensor. See /sys/bus/i2c/devices/ on     
#                                    your local computer.                     
#  kernel                            Kernel version                           
#  loadavg           (1), (2), (3)   System load average, 1 is for past 1     
#                                    minute, 2 for past 5 minutes and 3 for   
#                                    past 15 minutes.                         
#  machine                           Machine, i686 for example                
#  mails                             Mail count in mail spool. You can use    
#                                    program like fetchmail to get mails from 
#                                    some server using your favourite         
#                                    protocol. See also new_mails.            
#  mem                               Amount of memory in use                  
#  membar            (height)        Bar that shows amount of memory in use   
#  memmax                            Total amount of memory                   
#  memperc                           Percentage of memory in use              
#  new_mails                         Unread mail count in mail spool.         
#  nodename                          Hostname                                 
#  outlinecolor      (color)         Change outline color                     
#  pre_exec          shell command   Executes a shell command one time before 
#                                    torsmo displays anything and puts output 
#                                    as text.                                 
#  processes                         Total processes (sleeping and running)   
#  running_processes                 Running processes (not sleeping),        
#                                    requires Linux 2.6                       
#  shadecolor        (color)         Change shading color                     
#  stippled_hr       (space),        Stippled (dashed) horizontal line        
#                    (height)        
#  swapbar           (height)        Bar that shows amount of swap in use     
#  swap                              Amount of swap in use                    
#  swapmax                           Total amount of swap                     
#  swapperc                          Percentage of swap in use                
#  sysname                           System name, Linux for example           
#  time              (format)        Local time, see man strftime to get more 
#                                    information about format                 
#  totaldown         net             Total download, overflows at 4 GB on     
#                                    Linux with 32-bit arch and there doesn't 
#                                    seem to be a way to know how many times  
#                                    it has already done that before torsmo   
#                                    has started.                             
#  totalup           net             Total upload, this one too, may overflow 
#  updates                           Number of updates (for debugging)        
#  upspeed           net             Upload speed in kilobytes                
#  upspeedf          net             Upload speed in kilobytes with one       
#                                    decimal                                  
#  uptime                            Uptime                                   
#  uptime_short                      Uptime in a shorter format               
#
#  seti_prog                         Seti@home current progress
#  seti_progbar      (height)        Seti@home current progress bar
#  seti_credit                       Seti@hoome total user credit


## Some examples. Add below Text##
##Battery examples##
##${color}battery: ${color}$acpiacadapter, ${battery_percent BAT1}% 
##${color}battery:${color} ${battery}
#${color}ACPI Battery: ${color}$battery
#${battery_bar 11,0}
##Wireless example##
#${color}Wireless:
#${color}essid: ${wireless_essid wlan0}
#${color}IP:${color} ${addr wlan0}
#${color}speed: ${color} ${wireless_bitrate wlan0}
#${color}link strength: ${color} ${wireless_link_bar 7,50 wlan0}

# stuff after 'TEXT' will be formatted on screen

TEXT
${color3}${alignc} Q40S  ${alignc}

${color}${voffset -10}${font Source Code Pro for Powerline:size=12}${alignc}${time %l:%M%p}${font}${color}
#${color8}$alignc${font DejaVu Sans:size=12}${time %I:%M}   $font
${color}${alignc}${time %a %d %b}
${color}${alignc}Uptime: $uptime
${color}${alignc}${exec disp=${DISPLAY#:}; disp=${disp%.[0-9]}; cat$HOME/.desktop-session/desktop-code.$disp 2>/dev/null}
${color}${alignc}$kernel${color}
${color}res:${alignr}${color3}${execi 60 xdpyinfo | sed -n -r "s/^\s*dimensions:.*\s([0-9]+x[0-9]+).*/\1/p"}
${color}dpi:${alignr}${color3}${execi 60 sed -nr "s/^\s*Xft.dpi:\s*([0-9]+(x[0-9]+)?).*/\1/p" $HOME/.Xresources | grep "[0-9]" || echo 96}
${color}Automontar: ${alignr}${color3}${execi 60 grep -q "^automount=TRUE" $HOME/.desktop-session/automount.conf 2>/dev/null && echo "Si" || echo "No"}
${color}CPU:${alignr}${color3}${cpu}${color}%
${color}Frec:${color3}${alignr}${freq}
${color}$alignr${cpugraph cpu0 30,170 5599cc 5599cc}
${color}Disco:${alignr}${color3}${diskio}
${color}${alignr}${diskiograph 30,170 FE0000 FE0000 }${if_up eth0}
${color}eth0 up: $alignr${color3} ${upspeed eth0}
${color}$alignr${upspeedgraph   eth0 30,170 5599cc 5599cc}
${color}eth0 down: $alignr${color3} ${downspeed eth0}
${color2}$alignr${downspeedgraph eth0 30,170  5599cc 5599cc}${endif}${if_up eth1}
${color}eth1 up: $alignr${color3} ${upspeed eth1}
${color}$alignr${upspeedgraph   eth1 30,170 5599cc 5599cc}
${color}eth1 down: $alignr${color3} ${downspeed eth1}
${color2}$alignr${downspeedgraph eth1 30,170  5599cc 5599cc}${endif}${if_up wlo1}
${color}wlo1 subida: $alignr${color} ${upspeed wlo1}
${color2}$alignr${upspeedgraph   wlo1 30,170 00FA00 00FA00}
${color}wlo1 bajada: $alignr${color} ${downspeed wlo1}
${color}$alignr${downspeedgraph wlo1 30,170 ff0000 0000ff}${endif}${if_up wlan1}
#${wireless_link_bar 10,60 wlo1}
${color}wlan1 up: $alignr${color3} ${upspeed wlan1}
${color2}$alignr${upspeedgraph   wlan1 30,170 5599cc 5599cc}
${color}wlan1 down: $alignr${color3} ${downspeed wlan1}
${color2}$alignr${downspeedgraph wlan1 30,170 5599cc 5599cc}${endif}
${color}${alignr}${color 44A9C2}Usado / Total
${color}Memoria:${alignr}$mem ${color3} /${color} $memmax
${color}Swap:${alignr}$swap ${color3} /${color} $swapmax
${color}Disco:${alignr}${fs_used /} ${color3} /${color} ${fs_size /}
#${color3}${alignc}${execi 1000 persist-enabled}
#${execi 1000 acpi 2>/dev/null | grep -q . && echo "Batt: "}${execi 10 acpi -b 2>/dev/null | cut -d" " -f3,4 | sed 's/,$//'}
#${execi 300 /home/demo/conkyrss.sh}
${color orange}RSS feed ${hr 2}$color
${rss https://planet.archlinux.org/rss20.xml 1 item_titles 10 } #this is just an example change or comment it to disable.

My conky looks like this

TrStTHN.png
It's a simple configuration just to show some basic info, change and comment/uncomment values as you see fit, for instance, since my system's in Spanish, you might want to change that. If you want to try GKrellm you can install it with

sudo apt-get install gkrellm

Hope this helps! smile

Last edited by Tolkem (2021-01-30 01:10)

Offline

#3 2021-01-30 02:14

crosscourt
Member
From: Wash DC
Registered: 2017-05-07
Posts: 1,872
Website

Re: Prettier applet than ksensor?

Gkrellm is really nice but theres also Psensor but not sure it works in TDE as Im using KDE.


Q4OS Aquarius 5.x KDE   Dell Inspiron 3670  i5 8600, GTX 1660 Super, 32gb, 2tb NVME SSD

Offline

#4 2021-01-30 15:25

aldfort
Member
Registered: 2021-01-22
Posts: 9

Re: Prettier applet than ksensor?

@Tolkem - thank you much appreciated.

Offline

Board footer

Powered by FluxBB