Conky Helps and Stuff
Re: Conky Helps and Stuff
Wow. The weather code is one thing (teobigusgeekus' scripts are always reliable and I've been using his old version for a few conkies), but when combined with that glossy background and HTC icons....
I'll certainly check it out when I have the time.
I'll certainly check it out when I have the time.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400
Re: Conky Helps and Stuff
I added Quodlibet to my conky..
#QUODLIBET
${alignc}${font Open Sans:Bold:size=10}${color}/// ~~~ ${color #0066CC} QUODLIBET ${color} ~~~ \\\${font}
${alignc} Artist${if_existing /home/koo/.config/quodlibet/current}
${alignc}${color #F0FF00}${exec quodlibet --print-playing "<artist>"}${color}
${alignc} Album
${alignc}${color #F0FF00}${exec quodlibet --print-playing "<album>"}${color}
${alignc} Song
${alignc}${color #F0FF00}${exec quodlibet --print-playing "<title>"}${color}
${endif}
--------------------
If you use this code. You will need to change the path.../home/koo/.config/quodlibet/current
#QUODLIBET
${alignc}${font Open Sans:Bold:size=10}${color}/// ~~~ ${color #0066CC} QUODLIBET ${color} ~~~ \\\${font}
${alignc} Artist${if_existing /home/koo/.config/quodlibet/current}
${alignc}${color #F0FF00}${exec quodlibet --print-playing "<artist>"}${color}
${alignc} Album
${alignc}${color #F0FF00}${exec quodlibet --print-playing "<album>"}${color}
${alignc} Song
${alignc}${color #F0FF00}${exec quodlibet --print-playing "<title>"}${color}
${endif}
--------------------
If you use this code. You will need to change the path.../home/koo/.config/quodlibet/current
Main : MX 19.1-AHS (i3) 5.4.13-1~mx19+1, Asus B450-i AMD 5 3600 , 32gb Hyper-X 3200 , GTX970 .
Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Test Machine (ATM)
Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Test Machine (ATM)
Re: Conky Helps and Stuff
asqwerth, thank you very much for your good words.
only, because of the conky enthusiasm, here again another configuration with the weather script of Teo above,
in the middle - a Conky in the infrared radar range of Europe
below, the Mx-logo with a continuous calendar
the script from mobilediesel week_2.sh
take your time... :lipsrsealed:
only, because of the conky enthusiasm, here again another configuration with the weather script of Teo above,
Code: Select all
#https://forums.bunsenlabs.org/viewtopic.php?pid=1545#p1545
# pkill -xf "conky -c /home/male/1_accuweather/.conkyrc_1_images_wind_2015" &
# realization, Script and Conky_V1.10 TeoBigusGeekus
# accessories Sector11
# Create own window instead of using desktop (required in nautilus)
background yes
own_window yes
own_window_type normal
own_window_transparent yes
own_window_class Conky
#own_window_colour 000000
own_window_argb_visual yes
own_window_argb_value 240
own_window_hints undecorated,below,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer right
use_xft yes
# Update interval in seconds
update_interval 3
# Minimum size of text area
minimum_size 300 300 # w|h
maximum_width 300
override_utf8_locale yes
# Draw shades?
draw_shades yes
# Text stuff
draw_outline yes
draw_borders no
# font freesans -12
use_xft yes
font Arial:size=9
uppercase no
# Stippled borders?
stippled_borders 3
# border margins
border_inner_margin 9
border_outer_margin 0
# border width
border_width 10
# Default colors and also border colors, grey90 == #e5e5e5
default_color cbcbcb
#own_window_colour brown
#own_window_transparent yes
# 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 30
gap_y 30
imlib_cache_size 0
# stuff after 'TEXT' will be formatted on screen
#--LUA--#
lua_load ~/LUA/draw-bg.lua
TEXT
${lua conky_draw_bg 10 0 0 0 0 0x000000 0.2}\
${image $HOME/1_accuweather/images/base2.png -p -1,35 -s 335x120}${image $HOME/1_accuweather/images/base2.png -p -1,235 -s 335x70}${image $HOME/1_accuweather/images/base2.png -p -1,345 -s 335x48}\
${font Arial:size=12}${color ffe595}WEATHER ${color ff8c00}${hr 2}$color${execi 500 bash $HOME/1_accuweather/1_accuweather -f2015}${font}
${image $HOME/1_accuweather/forecast_2015/forecast_0.png -p -35,25 -s 250x150}${font Arial:size=11}${goto 170}${execpi 600 sed -n '4p' $HOME/1_accuweather/curr_cond|cut -c1-20}
${execpi 600 sed -n '1p' $HOME/1_accuweather/aktualisiert}${goto 170}${execpi 600 sed -n '4p' $HOME/1_accuweather/curr_cond|cut -c21-40}
${font Arial:size=22}${goto 170}${execpi 600 sed -n '2p' $HOME/1_accuweather/curr_cond}° (${execpi 600 sed -n '3p' $HOME/1_accuweather/curr_cond}°)${font}${image $HOME/1_accuweather/forecast_2015/wind_0.png -p 180,70 -s 80x80}
${goto 170}${execpi 600 sed -n '5p' $HOME/1_accuweather/curr_cond}${goto 250}${execpi 600 sed -n '6p' $HOME/1_accuweather/curr_cond|awk '{print $1}'}
${goto 250}${execpi 600 sed -n '6p' $HOME/1_accuweather/curr_cond|awk '{print $2}'}
${color ffe595}HUMIDITY: $color${alignr 20}${execpi 600 sed -n '7p' $HOME/1_accuweather/curr_cond}${goto 170}${color ffe595}PRESSURE: $color${alignr -3}${execpi 600 sed -n '8p' $HOME/1_accuweather/curr_cond}
${color ffe595}UV INDEX: $color${alignr 45}${execpi 600 sed -n '9p' $HOME/1_accuweather/curr_cond} ${goto 170}${color ffe595}CLOUD COVER: $color${alignr}${execpi 600 sed -n '10p' $HOME/1_accuweather/curr_cond}
${color ffe595}DEW POINT: $color${alignr 65}${execpi 600 sed -n '12p' $HOME/1_accuweather/curr_cond}°${goto 170}${color ffe595}VISIBILITY: $color${alignr}${execpi 600 sed -n '13p' $HOME/1_accuweather/curr_cond}
${color ffe595}SUN R/S: $color${alignr 30}${execpi 600 sed -n '23p' $HOME/1_accuweather/curr_cond}/${execpi 600 sed -n '24p' $HOME/1_accuweather/curr_cond}${goto 170}${color ffe595}MOON R/S: ${alignr}$color${execpi 600 sed -n '25p' $HOME/1_accuweather/curr_cond}/${execpi 600 sed -n '26p' $HOME/1_accuweather/curr_cond}
${color ffe595}SUN DURAT.: $color${alignr 27}${execpi 600 sed -n '16p' $HOME/1_accuweather/curr_cond}${goto 170}${color ffe595}MOON DURAT.: $color${alignr}${execpi 600 sed -n '20p' $HOME/1_accuweather/curr_cond}
${hr 1}
${goto 25}${font Arial:size=10}${color ffe595}${execpi 600 sed -n '1p' $HOME/1_accuweather/first_days}${goto 125}${execpi 600 sed -n '6p' $HOME/1_accuweather/first_days}${goto 225}${execpi 600 sed -n '11p' $HOME/1_accuweather/first_days}$color${font}${image $HOME/1_accuweather/forecast_2015/forecast_1.png -p 0,250 -s 83x50}${image $HOME/1_accuweather/forecast_2015/forecast_2.png -p 100,250 -s 83x50}${image $HOME/1_accuweather/forecast_2015/forecast_3.png -p 200,250 -s 83x50}
${goto 75}${execpi 600 sed -n '3p' $HOME/1_accuweather/first_days}°${goto 175}${execpi 600 sed -n '8p' $HOME/1_accuweather/first_days}°${goto 275}${execpi 600 sed -n '13p' $HOME/1_accuweather/first_days}°
${goto 75}/${execpi 600 sed -n '4p' $HOME/1_accuweather/first_days}°${goto 175}/${execpi 600 sed -n '9p' $HOME/1_accuweather/first_days}°${goto 275}/${execpi 600 sed -n '14p' $HOME/1_accuweather/first_days}°
${font Arial:size=8}${execpi 600 sed -n '5p' $HOME/1_accuweather/first_days|cut -c1-17}${goto 110}${execpi 600 sed -n '10p' $HOME/1_accuweather/first_days|cut -c1-17}${goto 220}${execpi 600 sed -n '15p' $HOME/1_accuweather/first_days|cut -c1-17}
${execpi 600 sed -n '5p' $HOME/1_accuweather/first_days|cut -c18-34}${goto 110}${execpi 600 sed -n '10p' $HOME/1_accuweather/first_days|cut -c18-34}${goto 220}${execpi 600 sed -n '15p' $HOME/1_accuweather/first_days|cut -c18-34}
${hr 1}
${color ffe595}${execpi 600 sed -n '16p' $HOME/1_accuweather/first_days}${goto 90}${execpi 600 sed -n '21p' $HOME/1_accuweather/first_days}${goto 165}${execpi 600 sed -n '1p' $HOME/1_accuweather/last_days}${goto 245}${execpi 600 sed -n '6p' $HOME/1_accuweather/last_days}$color${image $HOME/1_accuweather/forecast_2015/forecast_4.png -p 10,360 -s 50x30}${image $HOME/1_accuweather/forecast_2015/forecast_5.png -p 85,360 -s 50x30}${image $HOME/1_accuweather/forecast_2015/forecast_6.png -p 160,360 -s 50x30}${image $HOME/1_accuweather/forecast_2015/forecast_7.png -p 235,360 -s 50x30}
${goto 65}${execpi 600 sed -n '18p' $HOME/1_accuweather/first_days}°${goto 142}${execpi 600 sed -n '23p' $HOME/1_accuweather/first_days}°${goto 219}${execpi 600 sed -n '3p' $HOME/1_accuweather/last_days}°${goto 295}${execpi 600 sed -n '8p' $HOME/1_accuweather/last_days}°
${goto 65}/${execpi 600 sed -n '19p' $HOME/1_accuweather/first_days}°${goto 142}/${execpi 600 sed -n '24p' $HOME/1_accuweather/first_days}°${goto 219}/${execpi 600 sed -n '4p' $HOME/1_accuweather/last_days}°${goto 295}/${execpi 600 sed -n '9p' $HOME/1_accuweather/last_days}°
${voffset -20}
in the middle - a Conky in the infrared radar range of Europe
below, the Mx-logo with a continuous calendar
Code: Select all
# pkill -xf "conky -q -c /home/male/S11_and_mobilediesel/bottom_conkyrc" &
# by Sector11 - 14 Aug 2011
background yes
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager #,sticky
own_window_title S11-Cal-br
own_window_class S11-Cal-br
### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### own_window_type normal
own_window_argb_visual yes
### When ARGB visuals are enabled, this use this to modify the alpha value
### Use: own_window_type normal
### Use: own_window_transparent no
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
own_window_argb_value 140
double_buffer yes
use_spacer right
uppercase no
stippled_borders 0
border_width 0
default_outline_color black
default_shade_color black
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
border_inner_margin 5
border_outer_margin 0
default_color DCDCDC #220 220 220 Gainsboro
color0 8FBC8F #143 188 143 DarkSeaGreen
color1 778899 #119 136 153 LightSlateGray
color2 FF8C00 #255 140 0 DarkOrange
color3 7FFF00 #127 255 0 Chartreuse
color4 FFA07A #255 160 122 LightSalmon
color5 FFDEAD #255 222 173 NavajoWhite
color6 41679E # 0 191 255 DeepSkyBlue--> 00BFFF
color7 00FFFF # 0 255 255 Cyan
color8 FFFF00 #255 255 0 Yellow
color9 B22222 #178 34 34 FireBrick
text_buffer_size 510 # 256 is minimum
no_buffers yes
short_units yes
pad_percents 2
imlib_cache_size 0
gap_x 25 ## left &right
gap_y 75 ## up & down
minimum_size 300 0 ## width, height
#maximum_width 400 ## make this equal to minimum size width
alignment br
use_xft yes
xftfont Droid Sans Mono:bold:size=7
# xftfont Santana:bold:size=8
#xftfont WenQuanYi Macro Hei Mono:bold:size=8
#xftfont WenQuanYi Zen Hei Mono:bold:size=8
xftalpha 1.0
override_utf8_locale yes
### LUA Settings ###########################################################
#lua_load ~/LUA/draw-bg.lua
#lua_draw_hook_pre draw_bg 5 0 0 0 0 0x000000 0.4
####################################################### End LUA Settings ###
update_interval 2 #3200 ## 12 hours
TEXT
#${lua conky_draw_bg 5 0 0 0 0 0x000000 0.6}
${voffset 20}${image /home/male/Logos/MX-logo.png -p 120,7 -s 60x46}${voffset -10}\
${goto 200}${color7}${font Birdman:size=40}mx${color}${voffset -9}${font Birdman:size=49}17${font}\
${voffset 3}${goto 120}${execp /home/male/S11/S11_and_mobildiesel/week_2.sh}\
${voffset -5}${goto 75}${font Birdman:size=25}${color7}${time %a}${goto 255}${time %b}${color}${font}\
${font digitalk:bold:size=12}${goto 125}${color8}${time %C}${goto 225}${time %y}${color}${font}${voffset -10}
Code: Select all
#!/bin/bash
# by: mobilediesel
font=("\${voffset -10}\${font digitalk:size=4}" "\${voffset -0}\${font digitalk:size=8}" "\${voffset -0}\${font digitalk:size=12}" "\${voffset -3}\${font digitalk:size=30}\${color 00FFFF}" "\${voffset -15}\${font digitalk:size=12}" "\${voffset -4}\${font digitalk:size=7}" "\${voffset -2}\${font digitalk:size=4}")
color=("" "" "" "\${color}" "" "" "")
for i in $(seq -3 3); do
echo -n "${font[$[i+3]]}$(date '+%d' -d "$i days")${color[3]}\${offset 3}"
done
You do not have the required permissions to view the files attached to this post.
Last edited by male on Sun Mar 17, 2019 4:21 pm, edited 1 time in total.
Re: Conky Helps and Stuff
Very fine!
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
- Eadwine Rose
- Administrator
- Posts: 11968
- Joined: Wed Jul 12, 2006 2:10 am
Re: Conky Helps and Stuff
Oh wow.. love that!!
MX-23.2_x64 July 31 2023 * 6.1.0-20-amd64 ext4 Xfce 4.18.1 * 8core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 525.147.05 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy 5030
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 525.147.05 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy 5030
Re: Conky Helps and Stuff
That's the nicest conky I've seen yet. Is it possible to remove the seconds from the time? Does it always look like that, or is it transparent so it adapts automatically to whatever background the user has on their screen? I noticed that you have the weather showing up for several days which implies the utilization of a specific location. Is it fairly easy to change the weather locale per person and their location? And where/how would the script have to be implemented, to have this show up with the other conky themes in MX Linux?
Sorry about all of the questions. I don't know anything about conky, except that it has useful information and looks cool.
.
Sorry about all of the questions. I don't know anything about conky, except that it has useful information and looks cool.
.
Re: Conky Helps and Stuff
Even more amazing than the last one, @male.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400
Re: Conky Helps and Stuff
Your thanks go to Sector11, from whom I learned all this.
Crazy Conky users, who want to make more than 10 Conky's appear with the system start, can use the package wmctrl and the ingenious script of Sector11.
I thank you all.
This time is not included in the original script. I inserted it to see the last update of the data in Conky.linwinux wrote:Is it possible to remove the seconds from the time?
The transparency depends on this -->Pit_stopDoes it always look like that, or is it transparent so it adapts automatically to whatever background the user has on their screen?
The own location is to be determined by entering the city on http://accuweather.com Copy the resulting browser line into the script from line 152. Teo's location Kastoria is to comment out (#).I noticed that you have the weather showing up for several days which implies the utilization of a specific location. Is it fairly easy to change the weather locale per person and their location?
There are many ways to start a Conky. The easiest way is to start the desktop environment autostart. Here for example my entries in the startup script of antiX under Fluxbox.And where/how would the script have to be implemented, to have this show up with the other conky themes in MX Linux?
Code: Select all
...
sleep 2 && compton &
sleep 6 && conky -c ~/.conkyrcx40 &
#sleep 8 && conky -c ~/dk75_S11/ncal_awk.conkyrc &
sleep 8 && conky -c /DATEN/Abgleich/Conky/Conky-Kalender/2016_S11.conkyrc &
sleep 10 && conky -c ~/1_accuweather/.conkyrc_1_weatherfont_simpler &
...
I thank you all.
Last edited by male on Sun Mar 17, 2019 4:23 pm, edited 1 time in total.
Re: Conky Helps and Stuff
@male
So glad your here I have learnt lots from you..
As a big plus for MX you don't even have to use compton.You can just use xfwm for (xfce) Compositor.Work fine for system wide transparency.
http://i68.tinypic.com/106m1sk.jpg
So glad your here I have learnt lots from you..
As a big plus for MX you don't even have to use compton.You can just use xfwm for (xfce) Compositor.Work fine for system wide transparency.
http://i68.tinypic.com/106m1sk.jpg
Main : MX 19.1-AHS (i3) 5.4.13-1~mx19+1, Asus B450-i AMD 5 3600 , 32gb Hyper-X 3200 , GTX970 .
Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Test Machine (ATM)
Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Test Machine (ATM)
Re: Conky Helps and Stuff
Here is a Good place to learn about conky.
https://arcolinux.com/category/arcolinux/design/conky/
https://arcolinux.com/category/arcolinux/design/conky/
Main : MX 19.1-AHS (i3) 5.4.13-1~mx19+1, Asus B450-i AMD 5 3600 , 32gb Hyper-X 3200 , GTX970 .
Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Test Machine (ATM)
Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Test Machine (ATM)