You are not logged in.

#1921 2023-07-31 10:06:32

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,641

Re: Show us your conky

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}

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?

Last edited by unklar (2023-07-31 10:09:57)

Offline

#1922 2023-07-31 12:34:21

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,611

Re: Show us your conky

unklar wrote:

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

#1923 2023-07-31 14:50:50

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,641

Re: Show us your conky

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?  wink

Offline

#1924 2023-08-08 09:38:23

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

Hello

conkys like gisweather with gisweather


Capture-d-cran-2023-08-08-11-34-22.png


@+


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

#1925 2023-08-08 09:59:15

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,641

Re: Show us your conky

Excellent!
gis-weather in the middle, above and below or, also left ?

Offline

#1926 2023-08-08 13:08:27

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

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

#1927 2023-08-08 13:11:06

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

Re: Show us your conky

@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

#1928 2023-08-08 16:26:22

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

@ marens

I use OpenweatherMap because it's the only one in french

For the moon it's  Moongiant_conky_script

Capture-d-cran-2023-08-08-18-24-38.png


@+


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

#1929 2023-08-08 16:56:42

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

Re: Show us your conky

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

under-horizon.png

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

#1930 2023-08-23 20:57:59

Colonel Panic
Member
Registered: 2018-11-13
Posts: 1,403

Re: Show us your conky

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

#1931 2023-08-23 22:29:40

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

Re: Show us your conky

@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

#1932 2023-09-12 17:25:01

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Show us your conky

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:
About-Time-1.jpg

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

#1933 2023-09-13 13:12:38

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,641

Re: Show us your conky

Thank you, my friend (if you meant me)

xRQ78Tdt.png
OnlnM79t.png

At least now I know that at the maximum I will always be 59 years old.  dsfgo1o.png

Last edited by unklar (2023-09-13 13:16:41)

Offline

#1934 2023-09-13 16:13:47

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Show us your conky

Looking good unklar

unklar wrote:

Thank you, my friend (if you meant me)

You're welcome my friend. (if I meant you) 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.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1935 2023-09-13 18:04:28

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,641

Re: Show us your conky

Sector11 wrote:

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 arrow tells me that
TaAv9Lit.png

the is good  4QX485D.png

Offline

#1936 2023-09-13 19:26:07

Colonel Panic
Member
Registered: 2018-11-13
Posts: 1,403

Re: Show us your conky

marens wrote:

@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

#1937 2023-09-13 23:53:46

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Show us your conky

unklar wrote:

lol lol OK, you win! lol lol
Well done!


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1938 2023-10-08 10:08:00

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,641

Re: Show us your conky

https://forums.bunsenlabs.org/viewtopic … 88#p129788

JMa28Qvt.png

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

#1939 2023-10-10 12:25:37

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Show us your conky

What's sad is they had it and messed it up.  sad


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1940 2023-10-10 15:51:23

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,641

Re: Show us your conky

Sector11 wrote:

What's sad is they had it and messed it up.  sad

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.

0jxAHs7t.png

------------------
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?  SLKhTwf.png

Offline

Board footer

Powered by FluxBB