You are not logged in.
@ chairman67
Two weeks into Linux and you already have a weather conky! That's a sign of conky addiction, we'll have you in the One Step Program before you know it.
In a terminal check out
man conky
'man' is your friendly manual for 99% of the programs you have installed.
And here's why unklar's use "normal" just works:
own_window_hints undecorated,below,above,sticky,skip_taskbar,skip_pager
If own_window is yes, you may use these window manager hints to affect the way Conky displays.
Notes: Use own_window_type desktop as another way to implement many of these hints implicitly.
If you use own_window_type override, window manager hints have no meaning and are ignored.
That last line: If you use own_window_type override, window manager hints have no meaning and are ignored.
Did I say welcome to the forums? Come back anytime.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Hello guys,
I made a "clone" of the conkyHTC accuweather with wundeground's forecasts, I have a bit problems with refreshing weather script for accuweather and for wundergroun, but at this moment it seems to be ok...
conky-wu-htc-v-10-hours:
conky.config = {
-- Create own window instead of using desktop (required in nautilus)
own_window = true,
own_window_type = 'desktop',
own_window_transparent = true,
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
-- Use double buffering (reduces flicker, may not work for everyone)
double_buffer = true,
text_buffer_size = 1024,
-- fiddle with window
use_spacer = 'none',
use_xft = true,
-- Update interval in seconds
update_interval = 1,
-- Minimum size of text area
minimum_width = 235, minimum_height = 320,
maximum_width = 235,
override_utf8_locale = true,
-- Draw shades?
draw_shades = true,
-- Text stuff
draw_outline = true,-- amplifies text if yes
draw_borders = false,
--font freesans -12
font = 'Liberation Mono:bold:size=9',
uppercase = false,-- set to yes if you want all text to be in uppercase
-- Stippled borders?
stippled_borders = 3,
-- border margins
--border_margin = '9',
-- border width
border_width = 10,
-- Default colors and also border colors, grey90 == #e5e5e5
default_color = '#cbcbcb',
color1 = '#505454',
own_window_colour = 'brown',
own_window_transparent = true,
-- Text alignment, other possible values are commented
--alignment top_right
--alignment top_left
alignment = 'top_right',
--alignment bottom_left
--alignment bottom_right
-- Gap between borders of screen and text
gap_x = 50,
gap_y = 50,
imlib_cache_size = 0,
-- stuff after 'TEXT' will be formatted on screen
--
};
conky.text = [[
${voffset -15}${execpi 420 bash $HOME/2_Wunderground_API/2_wun}\
${image $HOME/2_Wunderground_API/HTCimages/base.png -p -12,30 -s 260x145}\
${image $HOME/2_Wunderground_API/HTCimages/base.png -p -12,168 -s 260x70}
${image $HOME/2_Wunderground_API/HTCimages/flip_bg.png -p 18,9 -s 100x110}\
${image $HOME/2_Wunderground_API/HTCimages/flip_bg.png -p 118,9 -s 100x110}\
${image $HOME/2_Wunderground_API/Now.png -p 55,98 -s 125x75}
${image $HOME/2_Wunderground_API/HTCimages/base.png -p -12,250 -s 260x70}
${font LED_Mono:size=60}${color1}${goto 24}${time %H}${goto 124}${time %M}${font}
${goto 28}${execpi 600 sed -n '67p' $HOME/2_Wunderground_API/Conditions}°\
${goto 130}${time %a %e %b}${color}
${goto 4}Wind ${execpi 600 sed -n '73p' $HOME/2_Wunderground_API/Conditions}\
${alignr 17}${execpi 600 sed -n '63p' $HOME/2_Wunderground_API/Conditions|cut -c-13}
${goto 4}${execpi 600 sed -n '74p' $HOME/2_Wunderground_API/Hourly} km/h\
${alignr 17}${execpi 600 sed -n '69p' $HOME/2_Wunderground_API/Conditions} Hum
${goto 4}UVI ${execpi 600 sed -n '121p' $HOME/2_Wunderground_API/Conditions}\
${alignr 17}${execpi 600 sed -n '57p' $HOME/2_Wunderground_API/Simple_Forecast}mm Prec
${goto 4}${execpi 600 sed -n '85p' $HOME/2_Wunderground_API/Conditions}mb\
${alignr 17}${execpi 600 sed -n '117p' $HOME/2_Wunderground_API/Conditions} Vis${color}
${goto 12}${execpi 600 echo `date --date "2 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 58}${execpi 600 echo `date --date "4 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 105}${execpi 600 echo `date --date "6 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 150}${execpi 600 echo `date --date "8 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 196}${execpi 600 echo `date --date "10 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}
${color8}${goto 6}${execpi 600 sed -n '172p' $HOME/2_Wunderground_API/Hourly}°\
${goto 52}${execpi 600 sed -n '406p' $HOME/2_Wunderground_API/Hourly}°\
${goto 99}${execpi 600 sed -n '640p' $HOME/2_Wunderground_API/Hourly}°\
${goto 144}${execpi 600 sed -n '879p' $HOME/2_Wunderground_API/Hourly}°\
${goto 190}${execpi 600 sed -n '1113p' $HOME/2_Wunderground_API/Hourly}°
${image $HOME/2_Wunderground_API/h2.png -p 5,195 -s 50x30}
${image $HOME/2_Wunderground_API/h4.png -p 51,195 -s 50x30}\
${image $HOME/2_Wunderground_API/h6.png -p 97,195 -s 50x30}\
${image $HOME/2_Wunderground_API/h8.png -p 143,195 -s 50x30}\
${image $HOME/2_Wunderground_API/h10.png -p 188,195 -s 50x30}${color}
${voffset 15}${goto 12}${execpi 600 echo `date --date "1 day" +%a|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 58}${execpi 600 echo `date --date "2 day" +%a|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 105}${execpi 600 echo `date --date "3 day" +%a|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 150}${execpi 600 echo `date --date "4 day" +%a|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 196}${execpi 600 echo `date --date "5 day" +%a|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${color8}${goto 6}${execpi 600 sed -n '145p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 52}${execpi 600 sed -n '251p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 99}${execpi 600 sed -n '357p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 144}${execpi 600 sed -n '463p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 190}${execpi 600 sed -n '569p' $HOME/2_Wunderground_API/Simple_Forecast}°
${image $HOME/2_Wunderground_API/d2.png -p 5,273 -s 50x30}\
${image $HOME/2_Wunderground_API/d3.png -p 51,273 -s 50x30}\
${image $HOME/2_Wunderground_API/d4.png -p 97,273 -s 50x30}\
${image $HOME/2_Wunderground_API/d5.png -p 143,273 -s 50x30}\
${image $HOME/2_Wunderground_API/d6.png -p 188,273 -s 50x30}
${voffset -10}${color3}${goto 6} ${execpi 600 sed -n '150p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 52} ${execpi 600 sed -n '256p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 99} ${execpi 600 sed -n '362p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 144} ${execpi 600 sed -n '468p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 190} ${execpi 600 sed -n '574p' $HOME/2_Wunderground_API/Simple_Forecast}°${color}${voffset 10}
]];
Offline
Hello guys,
I made a "clone" of the conkyHTC accuweather with wundeground's forecasts, I have a bit problems with refreshing weather script for accuweather and for wundergroun, but at this moment it seems to be ok...
What is the problem ?
Offline
@ragamatrix,add this in conky
for weather
${texeci 500 bash $HOME/1_accuweather/1_accuweather -f2016}
for moon
${texeci 500 bash $HOME/4_Moon/moon_MoonGiant}
Offline
hi chepioq
the problem was with "execi 600"; stopped the update with a bug and wasn't displayed correctly. The time didn't change anymore the conky was still displayed on screen, and I couldn't kill it.
I've changed with "execpi 600" added "text_buffer_size = 1024," and now it works like a charm and update nicely since 17:26 ...
Offline
(HTC fanboy here) Great job ragamatrix!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
hi chepioq
the problem was with "execi 600"; stopped the update with a bug and wasn't displayed correctly
Love it! I call them Flip Clocks, no idea what HTC means.
I think the problem is you were "parsing" the "date" command by "echoing" it since it's working with the 'parse' (p) command. Now I may be wrong here as well, but I think an ${execi} command would use less resources since there is no parsing needed.
Also, ${execpi ...} is "parsed and evaluated" at every update interval (update_interval) but conky only changes the 'displayed output' according to the 'i' interval in ${execpi}
You can make it much easier by just calling "date" with ${execi xx date ...}, since it is a bash command, and using 'cut' to get the info you want:
Example - using ${execi ...} you can also do minutes
${time %H:%M} + 1 hour ${execi 600 date --date "1 hour" +%H:%M} | \
+ 1 day = ${execi 600 date --date "1 day" | cut -c -3} | \
+ 1 month = ${execi 600 date --date "1 month" | cut -c 5-7} | \
+ 1 year = ${execi 600 date --date "1 year" | cut -c 25-}
${time %H:%M} + 2 hours ${execi 600 date --date "2 hour" +%H:%M} | \
+ 2 days = ${execi 600 date --date "2 day" | cut -c -3} | \
+ 2 months = ${execi 600 date --date "2 month" | cut -c 5-7} | \
+ 2 years = ${execi 600 date --date "2 year" | cut -c 25-}
${time %H:%M} + 3 hours ${execi 600 date --date "3 hour" +%H:%M} | \
+ 3 days = ${execi 600 date --date "3 day" | cut -c -3} | \
+ 3 months = ${execi 600 date --date "3 month" | cut -c 5-7} | \
+ 3 years = ${execi 600 date --date "3 year" | cut -c 25-}
${time %H:%M} + 4 hours ${execi 600 date --date "4 hour" +%H:%M} | \
+ 4 days = ${execi 600 date --date "4 day" | cut -c -3} | \
+ 4 months = ${execi 600 date --date "4 month" | cut -c 5-7} | \
+ 4 years = ${execi 600 date --date "4 year" | cut -c 25-}
${time %H:%M} + 5 hours ${execi 600 date --date "5 hour" +%H:%M} | \
+ 5 days = ${execi 600 date --date "5 day" | cut -c -3} | \
+ 5 months = ${execi 600 date --date "5 month" | cut -c 5-7} | \
+ 5 years = ${execi 600 date --date "5 year" | cut -c 25-}
${time %H:%M} +10 hours ${execi 600 date --date "10 hour" +%H:%M} | \
+10 days = ${execi 600 date --date "10 day" | cut -c -3} | \
+10 months = ${execi 600 date --date "10 month" | cut -c 5-7} | \
+10 years = ${execi 600 date --date "10 year" | cut -c 25-}
(Just for fun) Does minutes too:
${time %T}
${time %H:%M} + 1 min ${execi 600 date --date "1 minute" +%H:%M}
${time %H:%M} + 2 min ${execi 600 date --date "2 minute" +%H:%M}
${time %H:%M} + 5 min ${execi 600 date --date "5 minute" +%H:%M}
${time %H:%M} + 10 min ${execi 600 date --date "10 minute" +%H:%M}
${time %H:%M} + 20 min ${execi 600 date --date "20 minute" +%H:%M}
${time %H:%M} +100 min ${execi 600 date --date "100 minute" +%H:%M}
${time %H:%M} +238 min ${execi 600 date --date "238 minute" +%H:%M}
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
G'day fellas,
I've been tweaking all the conkys in 1_accuweather to how I want them to look. The one that I am having most trouble with is reducing the height of .conkyrc_1_weatherfront. See the flickr image link below that shows what I wish to achieve. Changing the minimum height value doesn't affect. Could someone please show me how to reduce it's height to that shown on the image? conkyrc script posted below.
Thanks guys, much appreciated.
conky.config = {
-- Create own window instead of using desktop (required in nautilus)
own_window = true,
own_window_type = 'normal',
own_window_transparent = false,
own_window_argb_visual = true,
own_window_argb_value = 180,
own_window_colour = 'black',
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
-- Use double buffering (reduces flicker, may not work for everyone)
double_buffer = true,
-- fiddle with window
use_spacer = 'right',
use_xft = true,
-- Update interval in seconds
update_interval = 3,
-- Minimum size of text area
minimum_width = 360, minimum_height = 500,
maximum_width = 360,
override_utf8_locale = true,
-- Draw shades?
draw_shades = true,
-- Text stuff
draw_outline = false,-- amplifies text if yes
draw_borders = false,
--font freesans -12
font = 'Arial:size=9',
uppercase = false,-- set to yes if you want all text to be in uppercase
-- Stippled borders?
stippled_borders = 3,
-- border margins
border_inner_margin = 9,
-- border width
border_width = 10,
-- Default colors and also border colors, grey90 == #e5e5e5
default_color = '#cbcbcb',
-- 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 = 10,
gap_y = 10,
imlib_cache_size = 0,
-- stuff after 'TEXT' will be formatted on screen
};
conky.text = [[
${font Arial:size=12}${color ffe595}WEATHER ${font}${hr 2}$color${texeci 500 bash $HOME/1_accuweather/1_accuweather -f}
${font Arial:size=10}${execpi 600 sed -n '4p' $HOME/1_accuweather/curr_cond}
${font conkyweather:size=130}${execi 600 sed -n '22p' $HOME/1_accuweather/curr_cond}${font}
${voffset -170}${font}${goto 200}${color ffe595}TEMPERATURE: $color${alignr}${execpi 600 sed -n '2p' $HOME/1_accuweather/curr_cond}° (${execpi 600 sed -n '3p' $HOME/1_accuweather/curr_cond}°)
${goto 200}${color ffe595}WIND SPEED: $color${alignr}${execpi 600 sed -n '5p' $HOME/1_accuweather/curr_cond} ${execpi 600 sed -n '6p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}HUMIDITY: $color${alignr}${execpi 600 sed -n '7p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}PRESSURE: $color${alignr}${execpi 600 sed -n '8p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}UV INDEX: $color${alignr}${execpi 600 sed -n '9p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}CLOUD COVER: $color${alignr}${execpi 600 sed -n '10p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}CEILING: $color${alignr}${execpi 600 sed -n '11p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}DEW POINT: $color${alignr}${execpi 600 sed -n '12p' $HOME/1_accuweather/curr_cond}°
${goto 200}${color ffe595}VISIBILITY: $color${alignr}${execpi 600 sed -n '13p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}SUN R/S: $color${alignr}${execpi 600 sed -n '14p' $HOME/1_accuweather/curr_cond}/${execpi 600 sed -n '15p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}SUN DUR: $color${alignr}${execpi 600 sed -n '16p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}MOON R/S: $color${alignr}${execpi 600 sed -n '18p' $HOME/1_accuweather/curr_cond}/${execpi 600 sed -n '19p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}MOON DUR: $color${alignr}${execpi 600 sed -n '20p' $HOME/1_accuweather/curr_cond}
${hr 1}
${goto 40}${font Arial:size=10}${color ffe595}${execpi 600 sed -n '1p' $HOME/1_accuweather/first_days}${goto 145}${execpi 600 sed -n '6p' $HOME/1_accuweather/first_days}${goto 270}${execpi 600 sed -n '11p' $HOME/1_accuweather/first_days}$color$font
${font conkyweather:size=50}${execi 600 sed -n '26p' $HOME/1_accuweather/first_days}${goto 135}${execi 600 sed -n '27p' $HOME/1_accuweather/first_days}${goto 255}${execi 600 sed -n '28p' $HOME/1_accuweather/first_days}${font}
${voffset -45}${goto 100}${execpi 600 sed -n '3p' $HOME/1_accuweather/first_days}°${goto 210}${execpi 600 sed -n '8p' $HOME/1_accuweather/first_days}°${goto 330}${execpi 600 sed -n '13p' $HOME/1_accuweather/first_days}°
${goto 100}/${execpi 600 sed -n '4p' $HOME/1_accuweather/first_days}°${goto 210}/${execpi 600 sed -n '9p' $HOME/1_accuweather/first_days}°${goto 330}/${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-20}${goto 135}${execpi 600 sed -n '10p' $HOME/1_accuweather/first_days|cut -c1-20}${goto 255}${execpi 600 sed -n '15p' $HOME/1_accuweather/first_days|cut -c1-20}
${execpi 600 sed -n '5p' $HOME/1_accuweather/first_days|cut -c21-40}${goto 135}${execpi 600 sed -n '10p' $HOME/1_accuweather/first_days|cut -c21-40}${goto 255}${execpi 600 sed -n '15p' $HOME/1_accuweather/first_days|cut -c21-40}$font
${hr 1}
${goto 40}${font Arial:size=10}${color ffe595}${execpi 600 sed -n '16p' $HOME/1_accuweather/first_days}${goto 145}${execpi 600 sed -n '21p' $HOME/1_accuweather/first_days}${goto 270}${execpi 600 sed -n '1p' $HOME/1_accuweather/last_days}$color$font
${font conkyweather:size=50}${execi 600 sed -n '29p' $HOME/1_accuweather/first_days}${goto 135}${execi 600 sed -n '30p' $HOME/1_accuweather/first_days}${goto 255}${execi 600 sed -n '26p' $HOME/1_accuweather/last_days}${font}
${voffset -45}${goto 100}${execpi 600 sed -n '18p' $HOME/1_accuweather/first_days}°${goto 210}${execpi 600 sed -n '23p' $HOME/1_accuweather/first_days}°${goto 330}${execpi 600 sed -n '3p' $HOME/1_accuweather/last_days}°
${goto 100}/${execpi 600 sed -n '19p' $HOME/1_accuweather/first_days}°${goto 210}/${execpi 600 sed -n '24p' $HOME/1_accuweather/first_days}°${goto 330}/${execpi 600 sed -n '4p' $HOME/1_accuweather/last_days}°
${font Arial:size=8}${execpi 600 sed -n '20p' $HOME/1_accuweather/first_days|cut -c1-20}${goto 135}${execpi 600 sed -n '25p' $HOME/1_accuweather/first_days|cut -c1-20}${goto 255}${execpi 600 sed -n '5p' $HOME/1_accuweather/last_days|cut -c1-20}
${execpi 600 sed -n '20p' $HOME/1_accuweather/first_days|cut -c21-40}${goto 135}${execpi 600 sed -n '25p' $HOME/1_accuweather/first_days|cut -c21-40}${goto 255}${execpi 600 sed -n '5p' $HOME/1_accuweather/last_days|cut -c21-40}$font
${hr 1}
${goto 40}${font Arial:size=10}${color ffe595}${execpi 600 sed -n '6p' $HOME/1_accuweather/last_days}${goto 145}${execpi 600 sed -n '11p' $HOME/1_accuweather/last_days}${goto 270}${execpi 600 sed -n '16p' $HOME/1_accuweather/last_days}$color$font
${font conkyweather:size=50}${execi 600 sed -n '27p' $HOME/1_accuweather/last_days}${goto 135}${execi 600 sed -n '28p' $HOME/1_accuweather/last_days}${goto 255}${execi 600 sed -n '29p' $HOME/1_accuweather/last_days}${font}
${voffset -45}${goto 100}${execpi 600 sed -n '8p' $HOME/1_accuweather/last_days}°${goto 210}${execpi 600 sed -n '13p' $HOME/1_accuweather/last_days}°${goto 330}${execpi 600 sed -n '18p' $HOME/1_accuweather/last_days}°
${goto 100}/${execpi 600 sed -n '9p' $HOME/1_accuweather/last_days}°${goto 210}/${execpi 600 sed -n '14p' $HOME/1_accuweather/last_days}°${goto 330}/${execpi 600 sed -n '19p' $HOME/1_accuweather/last_days}°
${font Arial:size=8}${execpi 600 sed -n '10p' $HOME/1_accuweather/last_days|cut -c1-20}${goto 135}${execpi 600 sed -n '15p' $HOME/1_accuweather/last_days|cut -c1-20}${goto 255}${execpi 600 sed -n '20p' $HOME/1_accuweather/last_days|cut -c1-20}
${execpi 600 sed -n '10p' $HOME/1_accuweather/last_days|cut -c21-40}${goto 135}${execpi 600 sed -n '15p' $HOME/1_accuweather/last_days|cut -c21-40}${goto 255}${execpi 600 sed -n '20p' $HOME/1_accuweather/last_days|cut -c21-40}$font
${hr 1}
]];
Last edited by chairman67 (2017-06-14 07:03:53)
Offline
Offline
Hi Unklar,
Yeah I tried that with restart but it didn't have any affect. Even if I try 300, 200, or 100, it doesn't have any affect.
Last edited by chairman67 (2017-06-14 08:27:44)
Offline
Hello guys,
I made a "clone" of the conkyHTC accuweather with wundeground's forecasts, I have a bit problems with refreshing weather script for accuweather and for wundergroun, but at this moment it seems to be ok...
https://cdn.scrot.moe/images/2017/06/13/conky-wun.th.png
@ragamatrix you can post the configuration of this conky, thanks
Last edited by Head_on_a_Stick (2017-06-14 20:34:16)
Offline
G'day guys. My past attempt to post image with flickr failed, so I try again using imgur.
Basically, the image shows what I want to achieve. Reduce the conky height to eliminate the excess at the bottom.
I tried Unklar's suggestion (thanks Unklar) without success. It seems changing the minimum_height value has zero affect. The .conkyrc script is in the initial post for anyone who would like to load it and see what the problem is. I cannot seem to find a way. Many thanks.
--
Moderator edit: Replaced huge image with thumbnail. Try using https://scrot.moe next time for uploading your images, it's a community service provided by mrneilypops!
Last edited by earlybird (2017-06-14 10:43:38)
Offline
@ector1935 "you can post the configuration of this conky, thanks"
sure
just modify your pathes
ConkySatMap
Last edited by ragamatrix (2017-06-14 13:28:09)
Offline
thank you very match @ragamatix,my desktop archlabs whit wallpaper @Sector11
Last edited by Head_on_a_Stick (2017-06-14 20:35:03)
Offline
@chairman67,
try
own_window = true,
own_window_type = 'normal',
own_window_transparent = false,
own_window_argb_visual = true,
own_window_argb_value = 180,
--own_window_colour = '#000000',
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
own_window_class = 'Conky',
also you should play in between
...
own_window_argb_value = 180, --0, and 255,(transparent and opaque)
...
own_window_hints = 'below,skip_taskbar,skip_pager', --undecorated,
so you have decoriert the Conky window.
-install the screen ruler.
-change that
alignment
and always log off.
Offline
G'day guys. My past attempt to post image with flickr failed, so I try again using imgur.
Basically, the image shows what I want to achieve. Reduce the conky height to eliminate the excess at the bottom.I tried Unklar's suggestion (thanks Unklar) without success. It seems changing the minimum_height value has zero affect. The .conkyrc script is in the initial post for anyone who would like to load it and see what the problem is. I cannot seem to find a way. Many thanks.
Do you have empty lines at the end of your conkyrc?
If yes, delete them.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Do you have empty lines at the end of your conkyrc?
If yes, delete them.
Yes. The posted image is with empty lines deleted. This removed about 50% of the excess height. When I delete the empty lines in the other conkyrc scripts, their height would be fully decreased. Strangely, this conkyrc_1_weatherfront is the only one that deleting the empty lines at the end of the script does not do the trick!
There must be something else in the script that is causing this odd behavior, which I haven't been able to figure out. It's behavior is different to the other conkyrc scripts. I am wondering if this difference is being caused by the weatherfront fonts!?
Last edited by chairman67 (2017-06-15 05:42:55)
Offline
Can you post us your full conkyrc?
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Yep, here it is. Thanks for taking a look at it.
conky.config = {
-- Create own window instead of using desktop (required in nautilus)
own_window = true,
own_window_type = 'normal',
own_window_transparent = false,
own_window_argb_visual = true,
own_window_argb_value = 185,
own_window_colour = 'black',
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
-- Use double buffering (reduces flicker, may not work for everyone)
double_buffer = true,
-- fiddle with window
use_spacer = 'right',
use_xft = true,
-- Update interval in seconds
update_interval = 3,
-- Minimum size of text area
minimum_width = 360, minimum_height = 500,
maximum_width = 360,
override_utf8_locale = true,
-- Draw shades?
draw_shades = true,
-- Text stuff
draw_outline = false,-- amplifies text if yes
draw_borders = false,
--font freesans -12
font = 'Arial:size=9',
uppercase = false,-- set to yes if you want all text to be in uppercase
-- Stippled borders?
stippled_borders = 3,
-- border margins
border_inner_margin = 9,
-- border width
border_width = 10,
-- Default colors and also border colors, grey90 == #e5e5e5
default_color = '#cbcbcb',
-- 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 = 10,
gap_y = 10,
imlib_cache_size = 0,
-- stuff after 'TEXT' will be formatted on screen
};
conky.text = [[
${font Arial:size=12}${color ffe595}WEATHER ${font}${hr 2}$color${texeci 500 bash $HOME/1_accuweather/1_accuweather -f}
${font Arial:size=10}${execpi 600 sed -n '4p' $HOME/1_accuweather/curr_cond}
${font conkyweather:size=130}${execi 600 sed -n '22p' $HOME/1_accuweather/curr_cond}${font}
${voffset -170}${font}${goto 200}${color ffe595}TEMPERATURE: $color${alignr}${execpi 600 sed -n '2p' $HOME/1_accuweather/curr_cond}° (${execpi 600 sed -n '3p' $HOME/1_accuweather/curr_cond}°)
${goto 200}${color ffe595}WIND SPEED: $color${alignr}${execpi 600 sed -n '5p' $HOME/1_accuweather/curr_cond} ${execpi 600 sed -n '6p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}HUMIDITY: $color${alignr}${execpi 600 sed -n '7p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}PRESSURE: $color${alignr}${execpi 600 sed -n '8p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}UV INDEX: $color${alignr}${execpi 600 sed -n '9p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}CLOUD COVER: $color${alignr}${execpi 600 sed -n '10p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}CEILING: $color${alignr}${execpi 600 sed -n '11p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}DEW POINT: $color${alignr}${execpi 600 sed -n '12p' $HOME/1_accuweather/curr_cond}°
${goto 200}${color ffe595}VISIBILITY: $color${alignr}${execpi 600 sed -n '13p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}SUN R/S: $color${alignr}${execpi 600 sed -n '14p' $HOME/1_accuweather/curr_cond}/${execpi 600 sed -n '15p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}SUN DUR: $color${alignr}${execpi 600 sed -n '16p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}MOON R/S: $color${alignr}${execpi 600 sed -n '18p' $HOME/1_accuweather/curr_cond}/${execpi 600 sed -n '19p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}MOON DUR: $color${alignr}${execpi 600 sed -n '20p' $HOME/1_accuweather/curr_cond}
${hr 1}
${goto 40}${font Arial:size=10}${color ffe595}${execpi 600 sed -n '1p' $HOME/1_accuweather/first_days}${goto 145}${execpi 600 sed -n '6p' $HOME/1_accuweather/first_days}${goto 270}${execpi 600 sed -n '11p' $HOME/1_accuweather/first_days}$color$font
${font conkyweather:size=50}${execi 600 sed -n '26p' $HOME/1_accuweather/first_days}${goto 135}${execi 600 sed -n '27p' $HOME/1_accuweather/first_days}${goto 255}${execi 600 sed -n '28p' $HOME/1_accuweather/first_days}${font}
${voffset -45}${goto 100}${execpi 600 sed -n '3p' $HOME/1_accuweather/first_days}°${goto 210}${execpi 600 sed -n '8p' $HOME/1_accuweather/first_days}°${goto 330}${execpi 600 sed -n '13p' $HOME/1_accuweather/first_days}°
${goto 100}/${execpi 600 sed -n '4p' $HOME/1_accuweather/first_days}°${goto 210}/${execpi 600 sed -n '9p' $HOME/1_accuweather/first_days}°${goto 330}/${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-20}${goto 135}${execpi 600 sed -n '10p' $HOME/1_accuweather/first_days|cut -c1-20}${goto 255}${execpi 600 sed -n '15p' $HOME/1_accuweather/first_days|cut -c1-20}
${execpi 600 sed -n '5p' $HOME/1_accuweather/first_days|cut -c21-40}${goto 135}${execpi 600 sed -n '10p' $HOME/1_accuweather/first_days|cut -c21-40}${goto 255}${execpi 600 sed -n '15p' $HOME/1_accuweather/first_days|cut -c21-40}$font
${hr 1}
${goto 40}${font Arial:size=10}${color ffe595}${execpi 600 sed -n '16p' $HOME/1_accuweather/first_days}${goto 145}${execpi 600 sed -n '21p' $HOME/1_accuweather/first_days}${goto 270}${execpi 600 sed -n '1p' $HOME/1_accuweather/last_days}$color$font
${font conkyweather:size=50}${execi 600 sed -n '29p' $HOME/1_accuweather/first_days}${goto 135}${execi 600 sed -n '30p' $HOME/1_accuweather/first_days}${goto 255}${execi 600 sed -n '26p' $HOME/1_accuweather/last_days}${font}
${voffset -45}${goto 100}${execpi 600 sed -n '18p' $HOME/1_accuweather/first_days}°${goto 210}${execpi 600 sed -n '23p' $HOME/1_accuweather/first_days}°${goto 330}${execpi 600 sed -n '3p' $HOME/1_accuweather/last_days}°
${goto 100}/${execpi 600 sed -n '19p' $HOME/1_accuweather/first_days}°${goto 210}/${execpi 600 sed -n '24p' $HOME/1_accuweather/first_days}°${goto 330}/${execpi 600 sed -n '4p' $HOME/1_accuweather/last_days}°
${font Arial:size=8}${execpi 600 sed -n '20p' $HOME/1_accuweather/first_days|cut -c1-20}${goto 135}${execpi 600 sed -n '25p' $HOME/1_accuweather/first_days|cut -c1-20}${goto 255}${execpi 600 sed -n '5p' $HOME/1_accuweather/last_days|cut -c1-20}
${execpi 600 sed -n '20p' $HOME/1_accuweather/first_days|cut -c21-40}${goto 135}${execpi 600 sed -n '25p' $HOME/1_accuweather/first_days|cut -c21-40}${goto 255}${execpi 600 sed -n '5p' $HOME/1_accuweather/last_days|cut -c21-40}$font
${hr 1}
${goto 40}${font Arial:size=10}${color ffe595}${execpi 600 sed -n '6p' $HOME/1_accuweather/last_days}${goto 145}${execpi 600 sed -n '11p' $HOME/1_accuweather/last_days}${goto 270}${execpi 600 sed -n '16p' $HOME/1_accuweather/last_days}$color$font
${font conkyweather:size=50}${execi 600 sed -n '27p' $HOME/1_accuweather/last_days}${goto 135}${execi 600 sed -n '28p' $HOME/1_accuweather/last_days}${goto 255}${execi 600 sed -n '29p' $HOME/1_accuweather/last_days}${font}
${voffset -45}${goto 100}${execpi 600 sed -n '8p' $HOME/1_accuweather/last_days}°${goto 210}${execpi 600 sed -n '13p' $HOME/1_accuweather/last_days}°${goto 330}${execpi 600 sed -n '18p' $HOME/1_accuweather/last_days}°
${goto 100}/${execpi 600 sed -n '9p' $HOME/1_accuweather/last_days}°${goto 210}/${execpi 600 sed -n '14p' $HOME/1_accuweather/last_days}°${goto 330}/${execpi 600 sed -n '19p' $HOME/1_accuweather/last_days}°
${font Arial:size=8}${execpi 600 sed -n '10p' $HOME/1_accuweather/last_days|cut -c1-20}${goto 135}${execpi 600 sed -n '15p' $HOME/1_accuweather/last_days|cut -c1-20}${goto 255}${execpi 600 sed -n '20p' $HOME/1_accuweather/last_days|cut -c1-20}
${execpi 600 sed -n '10p' $HOME/1_accuweather/last_days|cut -c21-40}${goto 135}${execpi 600 sed -n '15p' $HOME/1_accuweather/last_days|cut -c21-40}${goto 255}${execpi 600 sed -n '20p' $HOME/1_accuweather/last_days|cut -c21-40}$font
${hr 2}
]];
Last edited by chairman67 (2017-06-15 07:59:53)
Offline
hi,@chairman67
Start from here.
conky.config = {
-- Create own window instead of using desktop (required in nautilus)
own_window = true,
own_window_type = 'override',
own_window_transparent = true,
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
-- Use double buffering (reduces flicker, may not work for everyone)
double_buffer = true,
-- fiddle with window
use_spacer = 'right',
use_xft = true,
-- Update interval in seconds
update_interval = 3,
-- Minimum size of text area
minimum_width = 180, minimum_height = 500,
maximum_width = 180,
override_utf8_locale = true,
-- Draw shades?
draw_shades = true,
-- Text stuff
draw_outline = true,-- amplifies text if yes
draw_borders = false,
--font freesans -12
font = 'Arial:size=9',
uppercase = false,-- set to yes if you want all text to be in uppercase
-- Stippled borders?
stippled_borders = 3,
-- border margins
border_inner_margin = 9,
-- border width
border_width = 10,
-- Default colors and also border colors, grey90 == #e5e5e5
default_color = '#cbcbcb',
own_window_colour = 'brown',
own_window_transparent = true,
-- 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 = 110,
gap_y = 30,
imlib_cache_size = 0,
-- stuff after 'TEXT' will be formatted on screen
};
conky.text = [[
${font Arial:size=12}${color ffe595}WEATHER ${font}${hr 2}$color${texeci 500 bash $HOME/1_accuweather/1_accuweather -f}
${font Arial:size=10}${execpi 600 sed -n '4p' $HOME/1_accuweather/curr_cond}
${font conkyweather:size=130}${execi 600 sed -n '22p' $HOME/1_accuweather/curr_cond}${font}
${voffset -170}${font}${goto 200}${color ffe595}TEMPERATURE: $color${alignr}${execpi 600 sed -n '2p' $HOME/1_accuweather/curr_cond}° (${execpi 600 sed -n '3p' $HOME/1_accuweather/curr_cond}°)
${goto 200}${color ffe595}WIND SPEED: $color${alignr}${execpi 600 sed -n '5p' $HOME/1_accuweather/curr_cond} ${execpi 600 sed -n '6p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}HUMIDITY: $color${alignr}${execpi 600 sed -n '7p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}PRESSURE: $color${alignr}${execpi 600 sed -n '8p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}UV INDEX: $color${alignr}${execpi 600 sed -n '9p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}CLOUD COVER: $color${alignr}${execpi 600 sed -n '10p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}CEILING: $color${alignr}${execpi 600 sed -n '11p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}DEW POINT: $color${alignr}${execpi 600 sed -n '12p' $HOME/1_accuweather/curr_cond}°
${goto 200}${color ffe595}VISIBILITY: $color${alignr}${execpi 600 sed -n '13p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}SUN R/S: $color${alignr}${execpi 600 sed -n '14p' $HOME/1_accuweather/curr_cond}/${execpi 600 sed -n '15p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}SUN DUR: $color${alignr}${execpi 600 sed -n '16p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}MOON R/S: $color${alignr}${execpi 600 sed -n '18p' $HOME/1_accuweather/curr_cond}/${execpi 600 sed -n '19p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}MOON DUR: $color${alignr}${execpi 600 sed -n '20p' $HOME/1_accuweather/curr_cond}
${hr 1}
${goto 40}${font Arial:size=10}${color ffe595}${execpi 600 sed -n '1p' $HOME/1_accuweather/first_days}${goto 145}${execpi 600 sed -n '6p' $HOME/1_accuweather/first_days}${goto 270}${execpi 600 sed -n '11p' $HOME/1_accuweather/first_days}$color$font
${font conkyweather:size=50}${execi 600 sed -n '26p' $HOME/1_accuweather/first_days}${goto 135}${execi 600 sed -n '27p' $HOME/1_accuweather/first_days}${goto 255}${execi 600 sed -n '28p' $HOME/1_accuweather/first_days}${font}
${voffset -45}${goto 100}${execpi 600 sed -n '3p' $HOME/1_accuweather/first_days}°${goto 210}${execpi 600 sed -n '8p' $HOME/1_accuweather/first_days}°${goto 330}${execpi 600 sed -n '13p' $HOME/1_accuweather/first_days}°
${goto 100}/${execpi 600 sed -n '4p' $HOME/1_accuweather/first_days}°${goto 210}/${execpi 600 sed -n '9p' $HOME/1_accuweather/first_days}°${goto 330}/${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-20}${goto 135}${execpi 600 sed -n '10p' $HOME/1_accuweather/first_days|cut -c1-20}${goto 255}${execpi 600 sed -n '15p' $HOME/1_accuweather/first_days|cut -c1-20}
${execpi 600 sed -n '5p' $HOME/1_accuweather/first_days|cut -c21-40}${goto 135}${execpi 600 sed -n '10p' $HOME/1_accuweather/first_days|cut -c21-40}${goto 255}${execpi 600 sed -n '15p' $HOME/1_accuweather/first_days|cut -c21-40}$font
${hr 1}
${goto 40}${font Arial:size=10}${color ffe595}${execpi 600 sed -n '16p' $HOME/1_accuweather/first_days}${goto 145}${execpi 600 sed -n '21p' $HOME/1_accuweather/first_days}${goto 270}${execpi 600 sed -n '1p' $HOME/1_accuweather/last_days}$color$font
${font conkyweather:size=50}${execi 600 sed -n '29p' $HOME/1_accuweather/first_days}${goto 135}${execi 600 sed -n '30p' $HOME/1_accuweather/first_days}${goto 255}${execi 600 sed -n '26p' $HOME/1_accuweather/last_days}${font}
${voffset -45}${goto 100}${execpi 600 sed -n '18p' $HOME/1_accuweather/first_days}°${goto 210}${execpi 600 sed -n '23p' $HOME/1_accuweather/first_days}°${goto 330}${execpi 600 sed -n '3p' $HOME/1_accuweather/last_days}°
${goto 100}/${execpi 600 sed -n '19p' $HOME/1_accuweather/first_days}°${goto 210}/${execpi 600 sed -n '24p' $HOME/1_accuweather/first_days}°${goto 330}/${execpi 600 sed -n '4p' $HOME/1_accuweather/last_days}°
${font Arial:size=8}${execpi 600 sed -n '20p' $HOME/1_accuweather/first_days|cut -c1-20}${goto 135}${execpi 600 sed -n '25p' $HOME/1_accuweather/first_days|cut -c1-20}${goto 255}${execpi 600 sed -n '5p' $HOME/1_accuweather/last_days|cut -c1-20}
${execpi 600 sed -n '20p' $HOME/1_accuweather/first_days|cut -c21-40}${goto 135}${execpi 600 sed -n '25p' $HOME/1_accuweather/first_days|cut -c21-40}${goto 255}${execpi 600 sed -n '5p' $HOME/1_accuweather/last_days|cut -c21-40}$font
${hr 1}
${goto 40}${font Arial:size=10}${color ffe595}${execpi 600 sed -n '6p' $HOME/1_accuweather/last_days}${goto 145}${execpi 600 sed -n '11p' $HOME/1_accuweather/last_days}${goto 270}${execpi 600 sed -n '16p' $HOME/1_accuweather/last_days}$color$font
${font conkyweather:size=50}${execi 600 sed -n '27p' $HOME/1_accuweather/last_days}${goto 135}${execi 600 sed -n '28p' $HOME/1_accuweather/last_days}${goto 255}${execi 600 sed -n '29p' $HOME/1_accuweather/last_days}${font}
${voffset -45}${goto 100}${execpi 600 sed -n '8p' $HOME/1_accuweather/last_days}°${goto 210}${execpi 600 sed -n '13p' $HOME/1_accuweather/last_days}°${goto 330}${execpi 600 sed -n '18p' $HOME/1_accuweather/last_days}°
${goto 100}/${execpi 600 sed -n '9p' $HOME/1_accuweather/last_days}°${goto 210}/${execpi 600 sed -n '14p' $HOME/1_accuweather/last_days}°${goto 330}/${execpi 600 sed -n '19p' $HOME/1_accuweather/last_days}°
${font Arial:size=8}${execpi 600 sed -n '10p' $HOME/1_accuweather/last_days|cut -c1-20}${goto 135}${execpi 600 sed -n '15p' $HOME/1_accuweather/last_days|cut -c1-20}${goto 255}${execpi 600 sed -n '20p' $HOME/1_accuweather/last_days|cut -c1-20}
${execpi 600 sed -n '10p' $HOME/1_accuweather/last_days|cut -c21-40}${goto 135}${execpi 600 sed -n '15p' $HOME/1_accuweather/last_days|cut -c21-40}${goto 255}${execpi 600 sed -n '20p' $HOME/1_accuweather/last_days|cut -c21-40}$font
${hr 2}
]];
Last edited by ector1935 (2017-06-15 09:44:16)
Offline