You are not logged in.
https://forums.bunsenlabs.org/viewtopic … 70#p128670
Since my BAT no longer work in the laptops, I hardly dealt with Conky in this area. The BAT from the T500 is completely dead, the one from the x40 is still showing me something. So, I want to test it.
I know I've seen configurations of this display issue. Don't find that now.
When I use inxi to do this, it shows me these outputs on the x40:
inxi -B
Battery: ID-1: BAT0 charge: 0.9 Wh condition: 0.9/27.4 Wh (3%)
inxi -Bx
Battery: ID-1: BAT0 charge: 0.9 Wh condition: 0.9/27.4 Wh (3%) model: Panasonic IBM-92P1000
inxi -Bxx
Battery: ID-1: BAT0 charge: 0.9 Wh condition: 0.9/27.4 Wh (3%) volts: 16.5/14.4
model: Panasonic IBM-92P1000 serial: 477 status: Full
inxi -Bxxx
Battery: ID-1: BAT0 charge: 0.9 Wh condition: 0.9/27.4 Wh (3%) volts: 16.5/14.4
model: Panasonic IBM-92P1000 type: Li-ion serial: 477 status: Full
For the Conky it is enough to use:
${execpi 60 inxi -B}
This BAT therefore still has 3% = 0.9 Wh of the original 27.4 Wh and these 0.9 Wh are displayed as full.
Can you test this with inxi?
Last edited by unklar (2023-07-31 10:09:57)
Offline
https://forums.bunsenlabs.org/viewtopic … 70#p128670
Since my BAT no longer work in the laptops, I hardly dealt with Conky in this area. The BAT from the T500 is completely dead, the one from the x40 is still showing me something. So, I want to test it.
I know I've seen configurations of this display issue. Don't find that now.
When I use inxi to do this, it shows me these outputs on the x40:
inxi -B Battery: ID-1: BAT0 charge: 0.9 Wh condition: 0.9/27.4 Wh (3%)
inxi -Bx Battery: ID-1: BAT0 charge: 0.9 Wh condition: 0.9/27.4 Wh (3%) model: Panasonic IBM-92P1000
inxi -Bxx Battery: ID-1: BAT0 charge: 0.9 Wh condition: 0.9/27.4 Wh (3%) volts: 16.5/14.4 model: Panasonic IBM-92P1000 serial: 477 status: Full
inxi -Bxxx Battery: ID-1: BAT0 charge: 0.9 Wh condition: 0.9/27.4 Wh (3%) volts: 16.5/14.4 model: Panasonic IBM-92P1000 type: Li-ion serial: 477 status: Full
For the Conky it is enough to use:
${execpi 60 inxi -B}
https://i.imgur.com/fd9keaZt.png
This BAT therefore still has 3% = 0.9 Wh of the original 27.4 Wh and these 0.9 Wh are displayed as full.
Can you test this with inxi?
Tested on both. On the Dell with the good battery, the information matches up with i3status. The Toshiba is interesting the condition is 46.4/46.2 Wh (100.5%) and i3status now says it has 3+ hours remaining on 98% charge.
Maybe it's something else in the Toshiba. That computer has always had an issue with the battery draining while it's shut off, and just getting low battery life in general.
You must unlearn what you have learned.
-- yoda
Online
In the closet I found a slightly stronger battery from the x40.
inxi -Bxxx
Battery: ID-1: BAT0 charge: 2.4 Wh condition: 19.2/61.9 Wh (31%) volts: 15.9/14.4
model: SANYO IBM-92P1002 type: Li-ion serial: 79 status: Charging
If I use awk correctly then this would be in the conky:
inxi -B | awk '/condition:/ {print $8}'
19.2/61.9
${execpi 60 inxi -B | awk '/condition:/ {print $8}'}
Does that satisfy you?
Offline
Excellent!
gis-weather in the middle, above and below or, also left ?
Offline
hello
Gis-weather just in the middle the rest are conkys.
@+
Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Offline
@loutch
Very nice work as always.
Maybe a few suggestions will help make it look even better:
Gis Weather
I don't use OpenWeatherMap.
Try 'turning On' Block Tomorrow and moving Block Now left.
AccuWeather
Try adding the line 'Under Horizon' option below the image of the moon.
Maybe the sunset image would look better if it was a little gray?
Your own weather conky with Vclods icons is great.
If people would know how little brain is ruling the world, they would die of fear.
Offline
@loutch
Gis Weather with OpenWeatherMap now looks fine without Block Today.
I like your ex version too:
https://forums.bunsenlabs.org/viewtopic … 21#p128621
For moon image 'Under Horizon' (Invisible) I thought of this:
https://forums.bunsenlabs.org/viewtopic … 46#p128546
https://forums.bunsenlabs.org/viewtopic … 87#p128587
EDIT
Surely there is a similar saying in your language:
A picture is better than words.
Just test the MoonReal conky tomorrow night when the moon is below the horizon for your location.
Last edited by marens (2023-08-10 21:32:24)
If people would know how little brain is ruling the world, they would die of fear.
Offline
Here's my latest one from the end of last year;
# Andreas Gohr's Conky Configuration (slightly modified by CP)
conky.config = {
use_xft = true,
xftalpha = 0.8,
update_interval = 1.0,
total_run_times = 0,
own_window = true,
own_window_transparent = true,
own_window_argb_visual = true,
own_window_type = 'normal',
own_window_class = 'conky-semi',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
background = false,
double_buffer = true,
imlib_cache_size = 0,
no_buffers = true,
uppercase = false,
cpu_avg_samples = 2,
override_utf8_locale = true,
-- placement
alignment = 'top_right',
gap_x = 140,
gap_y = 25,
-- default drawing
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
default_bar_width = 150, default_bar_height = 5,
default_graph_width = 150, default_graph_height = 12,
default_gauge_width = 20, default_gauge_height = 20,
-- colors
font = 'Liberation Mono:size=10',
default_color = 'EEEEEE',
color1 = 'AABBFF',
color2 = 'FF993D',
color3 = 'AAAAAA',
-- layouting
template0 = [[${font Liberation Sans:bold:size=11}${color2}\1 ${color3}${hr 2}${font}]],
template1 = [[${color1}\1]],
template2 = [[${goto 100}${color}]],
template3 = [[${goto 180}${color}${alignr}]],
};
conky.text = [[
${template0 Info}
${template1 Date} ${template3}${color3}${time %a,}${color}${time %e %B %G}
${template1 Time} ${template3}${time %T}
${template0 System}
${template1 Hostname} ${template3}${nodename}
${template1 ${sysname}} ${template3}${kernel}-${machine}
${template1 Uptime} ${template3}${uptime_short}
${template1 CPU} ${template3}${freq_g}GHz
${template0 Processors}
${template1 Load} ${template2}${loadavg 1} ${template3}${loadgraph}
${template1 Core\ 1} ${template2}${cpu cpu1}% ${template3}${cpubar cpu1}
${template1 Core\ 2} ${template2}${cpu cpu2}% ${template3}${cpubar cpu2}
${template1 Core\ 3} ${template2}${cpu cpu3}% ${template3}${cpubar cpu3}
${template1 Core\ 4} ${template2}${cpu cpu4}% ${template3}${cpubar cpu4}
${template1 Top} ${template2}${top name 1} ${template3}${top cpu 1}
${template0 Memory}
${template1 Memory} ${template2}${memperc}% used ${template3}${mem} / ${memmax}
${template3}${membar}
${template1 Top} ${template2}${top_mem name 1} ${template3}${top_mem mem_vsize 1}
${template0 Swap}
${template1 Swap} ${template2}${swapperc}% used ${template3}${swap} / ${swapmax}
${template3}${swapbar}
${template0 Filesystem}
${template1 /} ${template2}${fs_free /} free ${template3}${fs_used /} / ${fs_size /}
${template3}${fs_bar /}
${template1 IO\ Read} ${template2}${diskio_read} ${template3}${diskiograph_read}
${template1 IO\ Write} ${template2}$diskio_write ${template3}$diskiograph_write
${template1 Top} ${template2}${top_io name 1} ${template3}${top_io io_perc 1}%
]];
Last edited by Colonel Panic (2023-08-23 20:58:35)
Offline
@Colonel Panic
I edited the old TeeJee Gotham conky for you.
Everything was done as you asked:
https://forums.bunsenlabs.org/viewtopic … 12#p129112
If people would know how little brain is ruling the world, they would die of fear.
Offline
After 16 years of playing with conky and multiple attempts at one-liners I finally came up with one I like. I had some good starts but they always ended up being a 2 liner, a 3 liner or some conky just collecting dust in the pile because I didn't like it.
The full screen image, that's it on the bottom in the middle.
And a closeup is you don't care to see the whole screen:
It is a conky v1.9 format so here's what you need to know:
font: fira code:bold:size=11
default_color DCDCDC #Gainsboro
color6 00BFFF #DeepSkyBlue
And what come after TEXT:
TEXT
${color6}↑${color}${uptime_short}\
${color6}·|·${color}\
CPU ${if_existing /sys/class/hwmon/hwmon1/temp1_input}${hwmon 1 temp 1}\
${else}${hwmon 2 temp 1}${endif}°\
${color6}·|·${color}\
GPU ${nvidia temp}°\
${color6}·|·${color}\
HDD ${hwmon 0 temp 1}°\
${color6}·|·${color}\
FAN ${execi 1 nvidia-settings -q [fan:0]/GPUCurrentFanSpeedRPM -t} \
@ ${execi 1 nvidia-settings -q [fan:0]/GPUCurrentFanSpeed -t}%\
${color6}·|·${color}\
CPU0${if_match ${cpu cpu0}<10} ${cpu cpu0}\
${else}${if_match ${cpu cpu0}<100} ${cpu cpu0}\
${else}${cpu cpu0}${endif}${endif}%\
${color6}·|·${color}\
${time %M}${color6}·${color}${tztime Europe/Berlin %H}${color6}${exec seconds}${color}${time %S}
That last line with ${exec seconds} is simply because I have a friend in Germany and want to know what time his clock shows. It's just mixed up a bit for fun.
My "seconds" bash file: ~/bin/seconds:
#!/bin/bash
# /bin/seconds script
# by: natemaia - ArchLabs Admin
# ${time %H:%M} ${exec seconds}
table=("↑" "→" "↓" "←")
echo "${table[$(( $(date +%S | sed 's/^0\([0-9]\)$/\1/') % 4 ))]}"
Thanks Nate!
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Looking good unklar
Thank you, my friend (if you meant me)
You're welcome my friend. (if I meant you)
At least now I know that at the maximum I will always be 59 years old. https://i.imgur.com/dsfgo1o.png
59? OK how did you get that?
I'd love to be 59. (again {sigh})
___
PS: Yup, meant you.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Looking good unklar
unklar wrote:Thank you, my friend (if you meant me)
You're welcome my friend. (if I meant you) https://i.ibb.co/2nGkTYs/laughtingoutloud.png
At least now I know that at the maximum I will always be 59 years old. https://i.imgur.com/dsfgo1o.png
59? OK how did you get that?
I'd love to be 59. (again {sigh})___
PS: Yup, meant you.
the is good
Offline
@Colonel Panic
I edited the old TeeJee Gotham conky for you.
Everything was done as you asked:
https://forums.bunsenlabs.org/viewtopic … 12#p129112
Thanks, I'll give it a try later.
Offline
the arrow tells me that
https://i.imgur.com/TaAv9Lit.pngthe is good https://i.imgur.com/4QX485D.png
OK, you win!
Well done!
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
https://forums.bunsenlabs.org/viewtopic … 88#p129788
mem
Amount of memory in use.
memfree
Amount of free memory.
memmax
Total amount of memory.
memavail
Amount of available memory as recorded in /proc/meminfo. Linux 3.14+ only.
memdirty
Amount of "dirty" memory. Linux only.
memeasyfree
Amount of free memory including the memory that is very easily freed (buffers/cache).
memwithbuffers
Amount of memory in use, including that used by system buffers and caches.
----------------
FreeBSD
memactive
Amount of active memory. FreeBSD only.
meminactive
Amount of inactive memory. FreeBSD only.
memlaundry
Amount of memory in the laundry queue. FreeBSD only.
memwired
Amount of wired memory. FreeBSD only.
Offline
What's sad is they had it and messed it up.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
unklar wrote:What's sad is they had it and messed it up.
You said it!
An example, the Conky uses for the RAM specification on the left
mem; in the middle memmax and on the right legacymem.
If I simultaneously use free with the command
watch -d free -m
, I see that mem is correct and not legacymem.
But, good old free, nobody cares.
------------------
BTW, since you're 'on it', that's the bottom part of your 'one-liner':
${color5}↑ ${color}${execpi 60 uptime|awk -F, '{sub(".*up ",x,$1);print $1}'}\
${color5}·|·${color}\
CPU ${hwmon 1 temp 3}°\
${color5}·|·${color}\
GPU ${hwmon 2 temp 1}°\
${color5}·|·${color}\
RAM ${mem} ${memmax} ${legacymem}\
${color5}·|·${color}\
HDD ${hwmon 0 temp 1}°\
${color5}·|·${color}\
FAN ${hwmon 0 fan 4}\
${color5}·|·${color}\
cpu0${if_match ${cpu cpu0}<10} ${cpu cpu0}\
${else}${if_match ${cpu cpu0}<100} ${cpu cpu0}\
${else}${cpu cpu0}${endif}${endif}% \
${color5}·|·${color}\
${time %M}${color5}·${color}${tztime Europe/Berlin %H}${color5}${exec seconds}${color}${time %S}
Unfortunately, it has the unpleasant property that if another number (0, for example) is added, it jumps.
The uptime in front I have already smoothed with a tip from @PackRat, by excluding the Sec. But, the cpu0 I do not get even with additional spaces.
Do you have a tip?
Offline