You are not logged in.

#26 2019-03-14 21:47:02

toz
Member
Registered: 2011-10-28
Posts: 494

Re: xfdesktop seems to be broken

Bug report created upstream for lost ability to move icons between screens: https://bugzilla.xfce.org/show_bug.cgi?id=15198.

Offline

#27 2019-03-16 18:08:04

newbie1962
Member
From: italy
Registered: 2012-07-24
Posts: 137

Re: xfdesktop seems to be broken

Same problem with three xfce distro.
With some conky and impossible to find transparency, in some I solved as described in the posts above, but other conky as weaterhourly is impossible to find transparency.
I will downgrade.
Thank
Photo
https://postimg.cc/ppsZybh5

Last edited by newbie1962 (2019-03-16 18:11:15)


hp-envy dv7

Offline

#28 2019-03-25 04:30:35

Cavsfan
Member
From: USA
Registered: 2015-07-08
Posts: 101

Re: xfdesktop seems to be broken

I got bit by this problem too and had to rollback xfdesktop to 4.12.4-2. Put IgnorePkg = xfdesktop in pacman.conf too. I know 4 others that have the same problem with our conkys and compositing.

Working fine as is. 4.13.3-1 is definitely not ready.

Offline

#29 2019-03-25 10:42:07

newbie1962
Member
From: italy
Registered: 2012-07-24
Posts: 137

Re: xfdesktop seems to be broken

Yes, that's what I did.
I wanted to point out that I have Greybird as a theme.
thank you


hp-envy dv7

Offline

#30 2019-03-25 10:42:23

toz
Member
Registered: 2011-10-28
Posts: 494

Re: xfdesktop seems to be broken

Do the configuration settings from post #7 above help? Can you identify and share the conky configs that aren't working?

Offline

#31 2019-03-25 12:18:07

newbie1962
Member
From: italy
Registered: 2012-07-24
Posts: 137

Re: xfdesktop seems to be broken

toz wrote:

Do the configuration settings from post #7 above help? Can you identify and share the conky configs that aren't working?

if I leave the original conky configuration which is this:

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',
        -- own_window_argb_visual = true,
	
-- Use double buffering (reduces flicker, may not work for everyone)
	double_buffer = true,
    no_buffers = true,
    background = true,

-- fiddle with window
	use_spacer = 'none',
	use_xft = true,

-- Update interval in seconds
	update_interval = 3,

-- Minimum size of text area
	minimum_width = 335, minimum_height = 335,
	maximum_width = 335,

	override_utf8_locale = true,

-- Draw shades?
	draw_shades = true,
    default_shade_color = 'black',
    draw_outline = false,
    default_outline_color = "black",
-- Text stuff
	draw_outline = true,-- amplifies text if yes
	draw_borders = false,
	border_outer_margin = 0,
	draw_graph_borders = yes,

-- font freesans -12
-- font = 'Arial:size=9',
	uppercase = false,-- set to yes if you want all text to be in uppercase
    use_xft = true,
    xftalpha = 1,
    font = "Fira Mono:bold:size=10",
    text_buffer_size = 256,
--   minimum_size = "10",

-- Stippled borders?
	stippled_borders = 0,

-- border margins
	border_inner_margin = 0,

-- border width
	border_width = 0,

-- Default colors and also border colors, grey90 == #e5e5e5
	default_color = 'DCDCDC',

	own_window_colour = 'black',

-- Text alignment, other possible values are commented
--  alignment = 'top_left',


-- Gap between borders of screen and text
	gap_x = 10,
	gap_y = 19,

	imlib_cache_size = 3.0,

-- text_buffer_size = 4096,

     short_units = true,

-- stuff after 'TEXT' will be formatted on screen
};
conky.text = [[
${image /home/eva/1_accuweather/80s_Sunset.png -p 66,0 -s 170x170}\
${font Kenyan Coffee:size=50}${color3}${alignc}${time %H:%M}${color}${font}
${font Shimes One PERSONAL USE:size=70}${color6}${alignc}${time %A}${font}
${font Kenyan Coffee:size=20}${color3}${alignc}${time %d %b %y}${color}${font}
${color3}Booted @${color} ${exec who -b | cut -c23-}${alignr}${color3}Up:${color} ${exec w | awk '/ up /{gsub(/,$/,"",$3);print $3}'}
${color1}${swapbar 0}${color}
${color5}${alignc}TEMPS
${goto 20}${color3}CPU${color} ${acpitemp}°\
${goto 93}${color3}M|B${color} ${execpi 5 sensors acpitz-acpi-0 | grep 'temp1' | awk -F'+' '{print $2}' | awk -F'.' '{print $1}'}°\
${goto 195}${color3}SDA${color} ${hddtemp /dev/sda}°\
${goto 280}${color3}GPU ${color}${hwmon 1 temp 1}°
${color1}${swapbar 0}${color}
${alignc}${color5}Intel Core i7-3630QM ${color3}Avg${color} ${if_match ${cpu cpu0} < 10}  ${cpu cpu0}\
${else}${if_match ${cpu cpu0} < 100} ${cpu cpu0}\
${else}${color}${cpu cpu0}${color}${endif}${endif}%
${color3}CPU   ${color0}  %${color}          MHz ${alignr 5}${color3}${goto 188}CPU  ${color0}%${color}               MHz
${goto 25}${color3}1${color0}   \
${if_match ${cpu cpu1} < 10}  ${cpu cpu1}\
${else}${if_match ${cpu cpu1} < 100} ${cpu cpu1}\
${else}${color9}${cpu cpu1}${color}${endif}${endif}\
${goto 100}${color}${freq 1}${goto 200}${color3}5${goto 222}${color0}${if_match ${cpu cpu5} < 10}  ${cpu cpu5}\
${else}${if_match ${cpu cpu5} < 100} ${cpu cpu5}\
${else}${color9}${cpu cpu5}${color}${endif}${endif}\
${alignr 2}${color}${freq 5}
${goto 25}${color3}2${color0}   \
${if_match ${cpu cpu2} < 10}  ${cpu cpu2}\
${else}${if_match ${cpu cpu2} < 100} ${cpu cpu2}\
${else}${color9}${cpu cpu2}${color}${endif}${endif}\
${goto 100}${color}${freq 2}${goto 200}${color3}6${goto 222}${color0}${if_match ${cpu cpu6} < 10}  ${cpu cpu6}\
${else}${if_match ${cpu cpu6} < 100} ${cpu cpu6}\
${else}${color9}${cpu cpu6}${color}${endif}${endif}\
${alignr 2}${color}${freq 6}
${goto 25}${color3}3${color0}   \
${if_match ${cpu cpu3} < 10}  ${cpu cpu3}\
${else}${if_match ${cpu cpu3} < 100} ${cpu cpu3}\
${else}${color9}${cpu cpu3}${color}${endif}${endif}\
${goto 100}${color}${freq 3}${goto 200}${color3}7${goto 222}${color0}${if_match ${cpu cpu7} < 10}  ${cpu cpu7}\
${else}${if_match ${cpu cpu7} < 100} ${cpu cpu7}\
${else}${color9}${cpu cpu7}${color}${endif}${endif}\
${alignr 2}${color}${freq 7}
${goto 25}${color3}4${color0}   \
${if_match ${cpu cpu4} < 10}  ${cpu cpu4}\
${else}${if_match ${cpu cpu4} < 100} ${cpu cpu4}\
${else}${color9}${cpu cpu4}${color}${endif}${endif}\
${goto 100}${color}${freq 4}${goto 200}${color0}8${goto 222}${color0}${if_match ${cpu cpu8} < 10}  ${cpu cpu8}\
${else}${if_match ${cpu cpu8} < 100} ${cpu cpu8}\
${else}${color9}${cpu cpu8}${color}${endif}${endif}\
${alignr 2}${color}${freq 8}
#${alignc}${color5}CPU Fan${color} ${platform f71882fg.2560 fan 1} ${color3}RPM
${color1}${swapbar 0}${color}
${alignc}${color3}Memory${color}  Using:${color3} ${mem} of ${memmax}
${color1}${swapbar 0}${color}
 S.T.${goto 118}Currently:${goto 280}Temp\
${texeci 500 bash $HOME/1_accuweather/1_accuweather -f2016}
${image $HOME/1_accuweather/forecast_2016/forecast_0.png -p 23,440 -s 250x252}\
${font Fira Mono:size=30}±${execi 300 sed -n '3p' ~/1_accuweather/curr_cond}\
${alignr}${execi 300 sed -n '2p' ~/1_accuweather/curr_cond} ${font}


 UVI: ${execi 300 sed -n '9p' ~/1_accuweather/curr_cond}/11\
 ${alignr}${execi 300 sed -n '8p' ~/1_accuweather/curr_cond}:Bar


Wind: ${execi 300 sed -n '5p' ~/1_accuweather/curr_cond} ${execi 300 sed -n '6p' ~/1_accuweather/curr_cond}\
 ${alignr}${execi 300 sed -n '7p' ~/1_accuweather/curr_cond} :Hum


 Cld: ${execi 300 sed -n '10p' ~/1_accuweather/curr_cond}\
 ${alignr}${execi 300 sed -n '13p' ~/1_accuweather/curr_cond} :Vis

${texeci 500 bash $HOME/4_Moon/moon_MoonGiant}
${image ~/4_Moon/0.png -p 100,740}

${alignc}${swapbar 0,50} Current Moon & Forecast ${swapbar 0,50}
${color5}${execi 3600 echo `date --date="0 day" | awk '{print $1" "$3" "$2}'`}\
${alignr 34}${execi 3600 echo `date --date="1 day" | awk '{print $1" "$3" "$2}'`} ${color}
${image $HOME/1_accuweather/forecast_2016/forecast_1.png -p 10,735 -s 45x45}\
${image $HOME/1_accuweather/forecast_2016/forecast_2.png -p 252,735 -s 45x45}\
${if_match "${execpi 300 sed -n '1p' /home/eva/1_accuweather/first_days}" == "Lo"}\
${else}${execpi 300 sed -n '3p' /home/eva/1_accuweather/first_days}${endif}\
${alignr}${goto 240}${execi 300 sed -n '8p' ~/1_accuweather/first_days}

${goto 58}${if_match "${execpi 300 sed -n '3p' /home/eva/1_accuweather/first_days}" == "Lo"}\
${execpi 300 sed -n '4p' /home/eva/1_accuweather/first_days}\
${alignr https://forums.bunsenlabs.org/edit.php?id=48496#}${goto 302}${execi 300 sed -n '9p' ~/1_accuweather/first_days}
${color5}${execi 3600 echo `date --date="2 day" | awk '{print $1" "$3" "$2}'`}\
${alignr 39}${execi 3600 echo `date --date="3 day" | awk '{print $1" "$3" "$2}'`}${color}
${image $HOME/1_accuweather/forecast_2016/forecast_3.png -p 5,800 -s 45x45}\
${image $HOME/1_accuweather/forecast_2016/forecast_4.png -p 250,800 -s 45x45}\
${execi 300 sed -n '13p' ~/1_accuweather/first_days}\
${alignr 90}${execi 300 sed -n '18p' ~/1_accuweather/first_days}

${goto 50}${execi 300 sed -n '14p' ~/1_accuweather/first_days}\
${alignr}${goto 300}${execi 300 sed -n '19p' ~/1_accuweather/first_days}
#${texeci 500 bash $HOME/1_accuweather/1_accuweather -h2016}
#${execi 600 sed -n '5p' $HOME/1_accuweather/hourly1}\
#${goto 75}${execi 600 sed -n '9p' $HOME/1_accuweather/hourly1}\
#${goto 135}${execi 600 sed -n '13p' $HOME/1_accuweather/hourly1}\
#${goto 195}${execi 600 sed -n '17p' $HOME/1_accuweather/hourly1}\
#${goto 260}${execi 600 sed -n '5p' $HOME/1_accuweather/hourly2}
#${color8}${execi 600 sed -n '3' $HOME/1_accuweather/first_days}°\
#${goto 77}${execi 600 sed -n '32p' $HOME/1_accuweather/hourly1}°\
##${goto 137}${execi 600 sed -n '34p' $HOME/1_accuweather/hourly1}°\
#${goto 199}${execi 600 sed -n '36p' $HOME/1_accuweather/hourly1}°\
#${goto 264}${execi 600 sed -n '39p' $HOME/1_accuweather/hourly2}°\
#${image $HOME/1_accuweather/hourly_2016/hourly_2.png -p 0,828  -s 45x45}\
#${image $HOME/1_accuweather/hourly_2016/hourly_4.png -p 70,828 -s 45x45}\
##${image $HOME/1_accuweather/hourly_2016/hourly_6.png -p 130,828 -s 45x45}\
##${image $HOME/1_accuweather/hourly_2016/hourly_8.png -p 185,828 -s 45x45}\
###${image $HOME/1_accuweather/hourly_2016/hourly_10.png -p 250,828 -s 45x45}${color}
${voffset -30}
]];

with the new version of xdesktop it comes out like this

https://postimg.cc/rd8cGKVg
-------------------------------------------------

if I change the conky settings, always with the new version of xdesktop
the conky comes out as from the photo of the previous post

https://postimg.cc/ppsZybh5

where there is also the conky setting
-------------------------------------------------
edit

if I downgrade xfdesktop with the conky original configurations, everything returns as before.
See photo

https://postimg.cc/2Vdwx1BX

Last edited by newbie1962 (2019-03-25 12:21:44)


hp-envy dv7

Offline

#32 2019-03-25 16:46:06

toz
Member
Registered: 2011-10-28
Posts: 494

Re: xfdesktop seems to be broken

This conky file appears to reference some supporting functions/images. Where is 1_accuweather available from?

If I:

  • replace all the content in the "conky.text" section with random text

  • change "own_window_type = 'override'," to read: "own_window_type = 'desktop',"

  • uncomment "own_window_argb_visual = true,"

...transparency works fine here for me.

Offline

#33 2019-03-25 17:40:10

Cavsfan
Member
From: USA
Registered: 2015-07-08
Posts: 101

Re: xfdesktop seems to be broken

toz wrote:

This conky file appears to reference some supporting functions/images. Where is 1_accuweather available from?

Most probably from Conkywx.

I'm not changing a thing with my conkys when they work perfectly with xfdesktop 4.12.4-2.

I've got probably the best conky package there is installed:

$ pacman -Q conky
conky-cairo 1.11.3-1

It is in the AUR and produced by the same person that created Conkywx. I'm one of the testers. It just updated to that version today.

It supports Audacious, Nvidia, etc. Conkywx monitors when you have packages that are available and displays the number as well as the number of packages that are on hold.
That is if you have that conky running, it's called conkywx-weather-rings-systemrc and the template, etc. comes with Conkywx.

EDIT: Not Conkywx.

Last edited by Cavsfan (2019-03-25 17:42:04)

Offline

#34 2019-03-25 17:47:27

newbie1962
Member
From: italy
Registered: 2012-07-24
Posts: 137

Re: xfdesktop seems to be broken

toz wrote:

This conky file appears to reference some supporting functions/images. Where is 1_accuweather available from?

If I:

  • replace all the content in the "conky.text" section with random text

  • change "own_window_type = 'override'," to read: "own_window_type = 'desktop',"

  • uncomment "own_window_argb_visual = true,"

...transparency works fine here for me.

accuweather is the script that takes the weather and weather images.
The script comes from bunsenlabs.
in fact, this is also true for me:
I'm not changing a thing with my conkys when they work perfectly with xfdesktop 4.12.4-2.

edit
in essence the conky that are transparent with the old xfdesktop, lose transparency with the new xfdesktop

As soon as I'm on the distro I try the settings, but I think I've already tried them

1_accuwheater

#!/bin/bash


#function: test_image
test_image () {
    case $1 in
         1)
           echo a
         ;;
         2|3)
           echo b 
         ;;
         4|5)
           echo c
         ;;
         6)
           echo d
         ;;
         7)
           echo e
         ;;
         8)
           echo f
         ;;
         11)
           echo 0
         ;;
         12)
           echo h
         ;;
         13|14)
           echo g
         ;;
         15)
           echo m
         ;;
         16|17)
           echo k
         ;;
         18)
           echo i
         ;;
         19)
           echo q
         ;;
         20|21|23)
           echo o
         ;;
         22)
           echo r
         ;;
         24|31)
           echo E
         ;;
         25)
           echo v
         ;;
         26)
           echo x
         ;;
         29)
           echo y
         ;;
         30)
           echo 5
         ;;
         32)
           echo 6
         ;;
         33)
           echo A
         ;;
         34|35)
           echo B
         ;;
         36|37)
           echo C
         ;;
         38)
           echo D
         ;;
         39|40)
           echo G
         ;;
         41|42)
           echo K
         ;;
         43|44)
           echo O
         ;;
         *)
		   echo -
		 ;;   
        esac
} 


############################
# Check the user arguments #
############################

if (( $# < 1 || $# > 15 )); then
	echo "Invalid arguments!"
	exit
fi

forecast0=0
forecast2015=0
forecast2016=0
hourly0=0
hourly2015=0
hourly2016=0
h_16hours=1
h_real=1
h_wind=1
h_rain=1
h_snow=1
h_ice=1
h_uv=1
h_cloud=1
h_humid=1
h_dew=1
h_visib=1

for i in $*
	do 
		if [[ $i != -f && $i != -f2015 && $i != -f2016 && $i != -h && $i != -h2015 && $i != -h2016 && $i != -h_8h && $i != -h_no_real && $i != -h_no_wind && $i != -h_no_rain && $i != -h_no_snow && $i != -h_no_ice && $i != -h_no_uv && $i != -h_no_cloud && $i != -h_no_humid && $i != -h_no_dew && $i != -h_no_visib ]]; then
			echo "Invalid arguments!"
			exit
		fi
		case $i in
			-f)
				forecast0=1
			;;
			-f2015)
				forecast2015=1
			;;
			-f2016)
				forecast2016=1
			;;
			-h)
				hourly0=1
			;;
			-h2015)
				hourly2015=1
			;;
			-h2016)
				hourly2016=1
			;;
			-h_8h)
				h_16hours=0
			;;
			-h_no_real)
				h_real=0
			;;
			-h_no_wind)
				h_wind=0
			;;
			-h_no_rain)
				h_rain=0
			;;
			-h_no_snow)
				h_snow=0
			;;
			-h_no_ice)
				h_ice=0
			;;
			-h_no_uv)
				h_uv=0
			;;
			-h_no_cloud)
				h_cloud=0
			;;
			-h_no_humid)
				h_humid=0
			;;
			-h_no_dew)
				h_dew=0
			;;
			-h_no_visib)
				h_visib=0
			;;
		esac
	done
	
if [[ $forecast0 == 1 ]]; then
	forecast2015=0
	forecast2016=0
fi
if [[ $hourly0 == 1 ]]; then
	hourly2015=0
	hourly2016=0
fi


#Put your Accuweather address here
#address="http://www.accuweather.com/en/ar/buenos-aires/7894/weather-forecast/7894"
#address="http://www.accuweather.com/en/jp/tokyo/226396/weather-forecast/226396"
#address="http://www.accuweather.com/en/gr/kastoria/178682/weather-forecast/178682"
address="http://www.accuweather.com/en/it/gorlago/2277856/weather-forecast/2277856"



last_number=$(echo $address|sed 's/^.*\///')


#############################################################
# NORMAL FORECAST: -f, -f2015 or -f2016 passed as arguments #
#############################################################
if [[ $forecast0 == 1 || $forecast2015 == 1 || $forecast2016 == 1 ]]; then
	
	#function: convert_time
	convert_time () 
	{
		hours=$(echo $1|awk -F ":| " '{print $1}')
		minutes=$(echo $1|awk -F ":| " '{print $2}')
		am_or_pm=$(echo $1|awk -F ":| " '{print $3}')
		if [[ $am_or_pm == AM ]]; then
			if (( $hours < 10 )); then
				hours_24=0$hours
			fi
			if (( $hours == 10 || $hours == 11 )); then
				hours_24=$hours
			fi
			if (( $hours == 12 )); then
				hours_24=00
			fi
		elif [[ $am_or_pm == PM ]]; then
			if (( $hours != 12 )); then
				hours_24=$((hours+12))
			fi
			if (( $hours == 12 )); then
				hours_24=12
			fi
		fi
		time_24=$hours_24:$minutes
		echo $time_24
	}
	
	#function: test_wind
	test_wind () {
	    case $1 in
	         CLM)
	           echo -
	         ;;
	         S)
	           echo 1 
	         ;;
	         SSW)
	           echo 2 
	         ;;
	         SW)
	           echo 3 
	         ;;
	         WSW)
	           echo 4 
	         ;;
	         W)
	           echo 5 
	         ;;
	         WNW)
	           echo 6 
	         ;;
	         NW)
	           echo 7 
	         ;;
	         NNW)
	           echo 8 
	         ;;
	         N)
	           echo 9 
	         ;;
	         NNE)
	           echo : 
	         ;;
	         NE)
	           echo ; 
	         ;;
	         ENE)
	           echo \< 
	         ;;
	         E)
	           echo = 
	         ;;
	         ESE)
	           echo \> 
	         ;;
	         SE)
	           echo ? 
	         ;;
	         SSE)
	           echo @ 
	         ;;
	    esac
	}
	
	kill -STOP $(pidof conky)
	
	curr_addr="$(echo $address|sed 's/weather-forecast.*$//')"current-weather/"$last_number"
	lynx --source -accept_all_cookies "$curr_addr" > $HOME/1_accuweather/curr_cond_raw
	
	addr1="$(echo $address|sed 's/weather-forecast.*$//')"daily-weather-forecast/"$last_number"
	lynx --source -accept_all_cookies "$addr1" > $HOME/1_accuweather/first_days_raw
	
	addr2="$addr1"?day=6
	lynx --source -accept_all_cookies "$addr2" > $HOME/1_accuweather/last_days_raw
	
	if [[ $forecast2015 == 1 ]]; then
		rm $HOME/1_accuweather/forecast_2015/forecast_*.png
	fi
	if [[ $forecast2016 == 1 ]]; then
		rm $HOME/1_accuweather/forecast_2016/forecast_*.png
	fi
	
	#current conditions
	if [[ -s $HOME/1_accuweather/curr_cond_raw ]]; then
	    sed -i '/detail-now/,/Astronomy <span class/!d' $HOME/1_accuweather/curr_cond_raw
	    egrep -i '"cond"|icon i-|large-temp|small-temp|wind-point|"wind"><strong>|Humidity|Pressure|UV Index|Cloud Cover|Ceiling|Dew Point|Visibility|Duration|Sunrise:|Sunset:|Moonrise:|Moonset:' $HOME/1_accuweather/curr_cond_raw > $HOME/1_accuweather/curr_cond
	    sed -i -e 's/^.*<strong>//g' -e 's/^.*<span>//g' -e 's/^.*icon i-//g' -e 's/^.*large-temp">//g' -e 's/^.*<\/em> //g' -e 's/^.*"cond">//g' -e 's/^.*wind-point //g' $HOME/1_accuweather/curr_cond
	    sed -i -e 's/">.*$//g' -e 's/&deg.*$//g' -e 's/<\/span>.*$//g' -e 's/&#.*$//g' -e 's/ &darr.*$//g' -e 's/ &uarr.*$//g' -e 's/<\/strong>.*$//g' $HOME/1_accuweather/curr_cond
	    sed -i '1s/-.*$//' $HOME/1_accuweather/curr_cond
	    image=$(sed -n 1p $HOME/1_accuweather/curr_cond)
	    echo $(test_image $image) >> $HOME/1_accuweather/curr_cond
		sunrise_time=$(sed -n 14p $HOME/1_accuweather/curr_cond)
		echo $(convert_time "$sunrise_time") >> $HOME/1_accuweather/curr_cond
		sunrise_time=$(sed -n 15p $HOME/1_accuweather/curr_cond)
		echo $(convert_time "$sunrise_time") >> $HOME/1_accuweather/curr_cond
		sunrise_time=$(sed -n 18p $HOME/1_accuweather/curr_cond)
		echo $(convert_time "$sunrise_time") >> $HOME/1_accuweather/curr_cond
		sunrise_time=$(sed -n 19p $HOME/1_accuweather/curr_cond)
		echo $(convert_time "$sunrise_time") >> $HOME/1_accuweather/curr_cond
		wind=$(sed -n 5p $HOME/1_accuweather/curr_cond)
		echo $(test_wind $wind) >> $HOME/1_accuweather/curr_cond
        if (( $(sed -n 14p /$HOME/1_accuweather/curr_cond|wc -c) == 8 )); then
			sed -i '14s/^/0/' $HOME/1_accuweather/curr_cond
		fi
		if (( $(sed -n 15p /$HOME/1_accuweather/curr_cond|wc -c) == 8 )); then
			sed -i '15s/^/0/' $HOME/1_accuweather/curr_cond
		fi
		if (( $(sed -n 18p /$HOME/1_accuweather/curr_cond|wc -c) == 8 )); then
			sed -i '18s/^/0/' $HOME/1_accuweather/curr_cond
		fi
		if (( $(sed -n 19p /$HOME/1_accuweather/curr_cond|wc -c) == 8 )); then
			sed -i '19s/^/0/' $HOME/1_accuweather/curr_cond
		fi
	    if [[ $forecast2015 == 1 ]]; then
			cp $HOME/1_accuweather/Forecast_Images_2015/$(sed -n 1p $HOME/1_accuweather/curr_cond).png $HOME/1_accuweather/forecast_2015/forecast_0.png
			cp $HOME/1_accuweather/Forecast_Images_2015/$(sed -n 5p $HOME/1_accuweather/curr_cond).png $HOME/1_accuweather/forecast_2015/wind_0.png
		fi
		if [[ $forecast2016 == 1 ]]; then
			cp $HOME/1_accuweather/Forecast_Images_2016/$(sed -n 1p $HOME/1_accuweather/curr_cond).png $HOME/1_accuweather/forecast_2016/forecast_0.png
			cp $HOME/1_accuweather/Forecast_Images_2016/$(sed -n 5p $HOME/1_accuweather/curr_cond).png $HOME/1_accuweather/forecast_2016/wind_0.png
		fi
	fi
	
	#First 5 days
	if [[ -s $HOME/1_accuweather/first_days_raw ]]; then
	
	    sed -i '/.feed-controls/,/\.feed-tabs/!d' $HOME/1_accuweather/first_days_raw
	    egrep -i 'href="#"|icon i-|"large-temp"|"small-temp"|temp-label|"cond"' $HOME/1_accuweather/first_days_raw > $HOME/1_accuweather/first_days
	    sed -i -e '/icon/s/-. //g' -e 's/^.*icon i-//g' -e 's/^.*large-temp">//g' -e 's/^.*small-temp">\///g' -e 's/^.*"cond">//g' -e 's/^.*href="#">//g' -e 's/^.*"temp-label tonight ">//g' -e 's/^.*"temp-label tonight selected">//g' $HOME/1_accuweather/first_days
	    sed -i -e 's/&deg.*$//g' -e 's/<\/a>.*$//g' -e 's/<\/span>.*$//g' -e 's/">.*$//g' $HOME/1_accuweather/first_days
	    sed -i -e 's/Mon$/MONDAY/' -e 's/Tue$/TUESDAY/' -e 's/Wed$/WEDNESDAY/' -e 's/Thu$/THURSDAY/' -e 's/Fri$/FRIDAY/' -e 's/Sat$/SATURDAY/' -e 's/Sun$/SUNDAY/' -e 's/Today$/TODAY/' -e 's/Tonight$/TONIGHT/' -e 's/Early AM/EARLY AM/' $HOME/1_accuweather/first_days
	    for (( i=2; i<=22; i+=5 ))
		  do
	          image=$(sed -n "${i}"p $HOME/1_accuweather/first_days)
	          echo $(test_image $image) >> $HOME/1_accuweather/first_days
		  done
		if [[ $forecast0 == 0 ]]; then
			j=1
			for (( i=2; i<=22; i+=5 ))
			  do
				if [[ $forecast2015 == 1 ]]; then
					cp $HOME/1_accuweather/Forecast_Images_2015/$(sed -n ${i}p $HOME/1_accuweather/first_days).png $HOME/1_accuweather/forecast_2015/forecast_$j.png
				fi
				if [[ $forecast2016 == 1 ]]; then
					cp $HOME/1_accuweather/Forecast_Images_2016/$(sed -n ${i}p $HOME/1_accuweather/first_days).png $HOME/1_accuweather/forecast_2016/forecast_$j.png
				fi
				((j++))
			  done
		fi
	fi
	
	#Next 5 days
	if [[ -s $HOME/1_accuweather/last_days_raw ]]; then
		
		sed -i '/.feed-controls/,/\.feed-tabs/!d' $HOME/1_accuweather/last_days_raw
	    egrep -i 'href="#"|icon i-|large-temp|small-temp|temp-label|"cond"' $HOME/1_accuweather/last_days_raw > $HOME/1_accuweather/last_days
	    sed -i -e '/icon/s/-. //g' -e 's/^.*icon i-//g' -e 's/^.*large-temp">//g' -e 's/^.*small-temp">\///g' -e 's/^.*"cond">//g' -e 's/^.*href="#">//g' -e 's/^.*"temp-label tonight ">//g' $HOME/1_accuweather/last_days
	    sed -i -e 's/&deg.*$//g' -e 's/<\/a>.*$//g' -e 's/<\/span>.*$//g' -e 's/">.*$//g' $HOME/1_accuweather/last_days
	    sed -i -e 's/Mon$/MONDAY/' -e 's/Tue$/TUESDAY/' -e 's/Wed$/WEDNESDAY/' -e 's/Thu$/THURSDAY/' -e 's/Fri$/FRIDAY/' -e 's/Sat$/SATURDAY/' -e 's/Sun$/SUNDAY/' $HOME/1_accuweather/last_days
	    for (( i=2; i<=22; i+=5 ))
		  do
	          image=$(sed -n "${i}"p $HOME/1_accuweather/last_days)
	          echo $(test_image $image) >> $HOME/1_accuweather/last_days
		  done
		if [[ $forecast0 == 0 ]]; then
			j=6
			for (( i=2; i<=22; i+=5 ))
			  do
			    if [[ $forecast2015 == 1 ]]; then
					cp $HOME/1_accuweather/Forecast_Images_2015/$(sed -n ${i}p $HOME/1_accuweather/last_days).png $HOME/1_accuweather/forecast_2015/forecast_$j.png
				fi
				if [[ $forecast2016 == 1 ]]; then
					cp $HOME/1_accuweather/Forecast_Images_2016/$(sed -n ${i}p $HOME/1_accuweather/last_days).png $HOME/1_accuweather/forecast_2016/forecast_$j.png
				fi
				((j++))
			  done
		fi
	fi

	if [[ $hourly0 != 1 && $hourly2015 != 1 && $hourly2016 != 1 ]]; then
		kill -CONT $(pidof conky)
	fi

fi


#############################################################
# HOURLY FORECAST: -h, -h2015 or -h2016 passed as arguments #
#############################################################

if [[ $hourly0 == 1 || $hourly2015 == 1 || $hourly2016 == 1 ]]; then

	#Hourly: First 8h
	
	if [[ $forecast0 != 1 && $forecast2015 != 1 && $forecast2016 != 1 ]]; then
		kill -STOP $(pidof conky)
	fi
	
	if [[ $hourly2015 == 1 ]]; then
		rm $HOME/1_accuweather/hourly_2015/hourly_*.png
	fi
	if [[ $hourly2016 == 1 ]]; then
		rm $HOME/1_accuweather/hourly_2016/hourly_*.png
	fi	
	
	hourly_addr1="$(echo $address|sed 's/weather-forecast.*$//')"hourly-weather-forecast/"$last_number"
	lynx --source -accept_all_cookies "$hourly_addr1" > $HOME/1_accuweather/hourly_raw1
	
	if [[ -s $HOME/1_accuweather/hourly_raw1 ]]; then
		sed -i '/detail-tab-buttons\.detail-tab-buttons/,/<div class="hourly-table">/!d' $HOME/1_accuweather/hourly_raw1
		egrep -i 'hour=|Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday|pm<\/div>|am<\/div>|icon-weather icon i-|<th>Forecast|<span>.*<\/span>|<th>Temp|<th>Realfeel|<th>Wind|<th>Rain|<th>Snow|<th>Ice|<th>UV Index|<th>Cloud Cover|<th>Humidity|<th>Dew Point|<th>Visibility' $HOME/1_accuweather/hourly_raw1 > $HOME/1_accuweather/hourly1
		sed -i -e 's/^[ \t]*//g' -e 's/^.*<div>//g' -e 's/^.*<span>//g' -e 's/^.*<th>//g' -e 's/^.*icon i-//g' -e 's/-s">.*$//g' -e 's/<\/div>.*$//g' -e 's/&#.*$//g' -e 's/<\/span>.*$//g' -e 's/<\/th>.*$//g' -e 's/^.*href="//g' -e 's/" class=.*$//g' $HOME/1_accuweather/hourly1
		sed -i -e 's/Monday/Mon/' -e 's/Tuesday/Tue/' -e 's/Wednesday/Wed/' -e 's/Thursday/Thu/' -e 's/Friday/Fri/' -e 's/Saturday/Sat/' -e 's/Sunday/Sun/' -e 's/\r//g' $HOME/1_accuweather/hourly1
		echo "ConkyWeather Font Icons" >> $HOME/1_accuweather/hourly1
		for (( i=4; i<=18; i+=2 ))
		  do
	          image=$(sed -n "${i}"p $HOME/1_accuweather/hourly1)
	          echo $(test_image $image) >> $HOME/1_accuweather/hourly1
		  done
		if [[ $hourly0 == 0 ]]; then
			j=1
			for (( i=4; i<=18; i+=2 ))
			  do
		    	if [[ $hourly2015 == 1 ]]; then
					cp $HOME/1_accuweather/Forecast_Images_2015/$(sed -n ${i}p $HOME/1_accuweather/hourly1).png $HOME/1_accuweather/hourly_2015/hourly_$j.png
				fi
				if [[ $hourly2016 == 1 ]]; then
					cp $HOME/1_accuweather/Forecast_Images_2016/$(sed -n ${i}p $HOME/1_accuweather/hourly1).png $HOME/1_accuweather/hourly_2016/hourly_$j.png
				fi	    	
		    	((j++))
			  done
		fi
	fi
	
	#Hourly: Next 8h
	hourly_addr2=$(sed -n 1p $HOME/1_accuweather/hourly1)
	lynx --source -accept_all_cookies "$hourly_addr2" > $HOME/1_accuweather/hourly_raw2
	
	if [[ -s $HOME/1_accuweather/hourly_raw2 ]]; then
		sed -i '/detail-tab-buttons\.detail-tab-buttons/,/<div class="hourly-table">/!d' $HOME/1_accuweather/hourly_raw2
		egrep -i 'hour=|Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday|pm<\/div>|am<\/div>|icon-weather icon i-|<th>Forecast|<span>.*<\/span>|<th>Temp|<th>Realfeel|<th>Wind|<th>Rain|<th>Snow|<th>Ice|<th>UV Index|<th>Cloud Cover|<th>Humidity|<th>Dew Point|<th>Visibility' $HOME/1_accuweather/hourly_raw2 > $HOME/1_accuweather/hourly2
		sed -i -e 's/^[ \t]*//g' -e 's/^.*<div>//g' -e 's/^.*<span>//g' -e 's/^.*<th>//g' -e 's/^.*icon i-//g' -e 's/-s">.*$//g' -e 's/<\/div>.*$//g' -e 's/&#.*$//g' -e 's/<\/span>.*$//g' -e 's/<\/th>.*$//g' -e 's/^.*href="//g' -e 's/" class=.*$//g' $HOME/1_accuweather/hourly2
		sed -i 1d $HOME/1_accuweather/hourly2
		sed -i -e 's/Monday/Mon/' -e 's/Tuesday/Tue/' -e 's/Wednesday/Wed/' -e 's/Thursday/Thu/' -e 's/Friday/Fri/' -e 's/Saturday/Sat/' -e 's/Sunday/Sun/' -e 's/\r//g' $HOME/1_accuweather/hourly2
		echo "ConkyWeather Font Icons" >> $HOME/1_accuweather/hourly2
		for (( i=4; i<=18; i+=2 ))
		  do
	          image=$(sed -n "${i}"p $HOME/1_accuweather/hourly2)
	          echo $(test_image $image) >> $HOME/1_accuweather/hourly2
		  done
		if [[ $hourly0 == 0 ]]; then
			j=9
			for (( i=4; i<=18; i+=2 ))
			  do
		    	if [[ $hourly2015 == 1 ]]; then
					cp $HOME/1_accuweather/Forecast_Images_2015/$(sed -n ${i}p $HOME/1_accuweather/hourly2).png $HOME/1_accuweather/hourly_2015/hourly_$j.png
				fi
				if [[ $hourly2016 == 1 ]]; then
					cp $HOME/1_accuweather/Forecast_Images_2016/$(sed -n ${i}p $HOME/1_accuweather/hourly2).png $HOME/1_accuweather/hourly_2016/hourly_$j.png
				fi	    	
		    	((j++))
			  done
		fi
	fi
	
	
	# Full info, next 16h - altogether16 file
	rm $HOME/1_accuweather/{altogether16,altogether16_2015,altogether16_2016}
	
	#TIME
	echo "\${color ffe595}TIME\${goto 100}" > $HOME/1_accuweather/altogether16
	sed -i "1s/$/$(sed -n 2p $HOME/1_accuweather/hourly1):$(sed -n 3p $HOME/1_accuweather/hourly1)/" $HOME/1_accuweather/altogether16
	jump_to=160
	for (( i=5; i<=17; i+=2 ))
		do
			time=$(sed -n ${i}p $HOME/1_accuweather/hourly1)
			sed -i "1s/$/\${goto $jump_to}$time/" $HOME/1_accuweather/altogether16
			((jump_to+=60))
		done
	if [[ $h_16hours == 1 ]]; then
		sed -i "1s/$/\${goto 580}$(sed -n 2p $HOME/1_accuweather/hourly2):$(sed -n 3p $HOME/1_accuweather/hourly2)/" $HOME/1_accuweather/altogether16
		jump_to=640
		for (( i=5; i<=17; i+=2 ))
			do
				time=$(sed -n ${i}p $HOME/1_accuweather/hourly2)
				sed -i "1s/$/\${goto $jump_to}$time/" $HOME/1_accuweather/altogether16
				((jump_to+=60))
			done
	fi
	
	sed -i '1s/$/\n\n\n/' $HOME/1_accuweather/altogether16
	
	#FORECAST
	echo "\${color ffe595}FORECAST\${color}" >> $HOME/1_accuweather/altogether16
	jump_to=100
	for (( i=20; i<=27; i+=1 ))
		do
			messg=$(sed -n ${i}p $HOME/1_accuweather/hourly1|awk '{print $1}'|cut -c1-8)
			sed -i "5s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
			((jump_to+=60))
		done
	if [[ $h_16hours == 1 ]]; then
		for (( i=20; i<=27; i+=1 ))
			do
				messg=$(sed -n ${i}p $HOME/1_accuweather/hourly2|awk '{print $1}'|cut -c1-8)
				sed -i "5s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
				((jump_to+=60))
			done
	fi
	sed -i '5s/$/\n/' $HOME/1_accuweather/altogether16
	jump_to=100
	for (( i=20; i<=27; i+=1 ))
		do
			messg=$(sed -n ${i}p $HOME/1_accuweather/hourly1|awk '{print $2}'|cut -c1-8)
			sed -i "6s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
			((jump_to+=60))
		done
	if [[ $h_16hours == 1 ]]; then
		for (( i=20; i<=27; i+=1 ))
			do
				messg=$(sed -n ${i}p $HOME/1_accuweather/hourly2|awk '{print $2}'|cut -c1-8)
				sed -i "6s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
				((jump_to+=60))
			done
	fi
	
	#TEMPERATURE
	echo "\${color ffe595}\${goto 100}\${hr 1}" >> $HOME/1_accuweather/altogether16
	echo "TEMPER.\${color}" >> $HOME/1_accuweather/altogether16
	jump_to=100
	for (( i=29; i<=36; i+=1 ))
		do
			messg=$(sed -n ${i}p $HOME/1_accuweather/hourly1)
			sed -i "8s/$/\${goto $jump_to}$messg°/" $HOME/1_accuweather/altogether16
			((jump_to+=60))
		done
	if [[ $h_16hours == 1 ]]; then
		for (( i=29; i<=36; i+=1 ))
			do
				messg=$(sed -n ${i}p $HOME/1_accuweather/hourly2)
				sed -i "8s/$/\${goto $jump_to}$messg°/" $HOME/1_accuweather/altogether16
				((jump_to+=60))
			done
	fi
	
	#REAL FEEL
	echo "\${color ffe595}\${goto 100}\${hr 1}" >> $HOME/1_accuweather/altogether16
	echo "REAL FEEL\${color}" >> $HOME/1_accuweather/altogether16
	jump_to=100
	for (( i=38; i<=45; i+=1 ))
		do
			messg=$(sed -n ${i}p $HOME/1_accuweather/hourly1)
			sed -i "10s/$/\${goto $jump_to}$messg°/" $HOME/1_accuweather/altogether16
			((jump_to+=60))
		done	
	if [[ $h_16hours == 1 ]]; then
		for (( i=38; i<=45; i+=1 ))
			do
				messg=$(sed -n ${i}p $HOME/1_accuweather/hourly2)
				sed -i "10s/$/\${goto $jump_to}$messg°/" $HOME/1_accuweather/altogether16
				((jump_to+=60))
			done
	fi	
	
	#WIND
	echo "\${color ffe595}\${goto 100}\${hr 1}" >> $HOME/1_accuweather/altogether16
	echo "WIND\${color}" >> $HOME/1_accuweather/altogether16
	jump_to=100
	for (( i=47; i<=54; i+=1 ))
		do
			messg=$(sed -n ${i}p $HOME/1_accuweather/hourly1)
			sed -i "12s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
			((jump_to+=60))
		done
	if [[ $h_16hours == 1 ]]; then
		for (( i=47; i<=54; i+=1 ))
			do
				messg=$(sed -n ${i}p $HOME/1_accuweather/hourly2)
				sed -i "12s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
				((jump_to+=60))
			done
	fi
		
	#RAIN
	echo "\${color ffe595}\${goto 100}\${hr 1}" >> $HOME/1_accuweather/altogether16
	echo "RAIN\${color}" >> $HOME/1_accuweather/altogether16
	jump_to=100
	for (( i=64; i<=71; i+=1 ))
		do
			messg=$(sed -n ${i}p $HOME/1_accuweather/hourly1)
			sed -i "14s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
			((jump_to+=60))
		done
	if [[ $h_16hours == 1 ]]; then
		for (( i=64; i<=71; i+=1 ))
			do
				messg=$(sed -n ${i}p $HOME/1_accuweather/hourly2)
				sed -i "14s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
				((jump_to+=60))
			done
	fi
		
	#SNOW
	echo "\${color ffe595}\${goto 100}\${hr 1}" >> $HOME/1_accuweather/altogether16
	echo "SNOW\${color}" >> $HOME/1_accuweather/altogether16
	jump_to=100
	for (( i=73; i<=80; i+=1 ))
		do
			messg=$(sed -n ${i}p $HOME/1_accuweather/hourly1)
			sed -i "16s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
			((jump_to+=60))
		done
	if [[ $h_16hours == 1 ]]; then
		for (( i=73; i<=80; i+=1 ))
			do
				messg=$(sed -n ${i}p $HOME/1_accuweather/hourly2)
				sed -i "16s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
				((jump_to+=60))
			done
	fi
	
	#ICE
	echo "\${color ffe595}\${goto 100}\${hr 1}" >> $HOME/1_accuweather/altogether16
	echo "ICE\${color}" >> $HOME/1_accuweather/altogether16
	jump_to=100
	for (( i=82; i<=89; i+=1 ))
		do
			messg=$(sed -n ${i}p $HOME/1_accuweather/hourly1)
			sed -i "18s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
			((jump_to+=60))
		done
	if [[ $h_16hours == 1 ]]; then
		for (( i=82; i<=89; i+=1 ))
			do
				messg=$(sed -n ${i}p $HOME/1_accuweather/hourly2)
				sed -i "18s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
				((jump_to+=60))
			done
	fi
		
	#UV INDEX
	echo "\${color ffe595}\${goto 100}\${hr 1}" >> $HOME/1_accuweather/altogether16
	echo "UV INDEX\${color}" >> $HOME/1_accuweather/altogether16
	jump_to=100	
	for (( i=99; i<=106; i+=1 ))
		do
			messg=$(sed -n ${i}p $HOME/1_accuweather/hourly1)
			sed -i "20s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
			((jump_to+=60))
		done
	if [[ $h_16hours == 1 ]]; then
		for (( i=99; i<=106; i+=1 ))
			do
				messg=$(sed -n ${i}p $HOME/1_accuweather/hourly2)
				sed -i "20s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
				((jump_to+=60))
			done
	fi
		
	#CLOUD COVER
	echo "\${color ffe595}\${goto 100}\${hr 1}" >> $HOME/1_accuweather/altogether16
	echo "CLOUD COV.\${color}" >> $HOME/1_accuweather/altogether16
	jump_to=100	
	for (( i=108; i<=115; i+=1 ))
		do
			messg=$(sed -n ${i}p $HOME/1_accuweather/hourly1)
			sed -i "22s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
			((jump_to+=60))
		done
	if [[ $h_16hours == 1 ]]; then
		for (( i=108; i<=115; i+=1 ))
			do
				messg=$(sed -n ${i}p $HOME/1_accuweather/hourly2)
				sed -i "22s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
				((jump_to+=60))
			done
	fi
	
	#HUMIDITY
	echo "\${color ffe595}\${goto 100}\${hr 1}" >> $HOME/1_accuweather/altogether16
	echo "HUMIDITY\${color}" >> $HOME/1_accuweather/altogether16
	jump_to=100	
	for (( i=117; i<=124; i+=1 ))
		do
			messg=$(sed -n ${i}p $HOME/1_accuweather/hourly1)
			sed -i "24s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
			((jump_to+=60))
		done
	if [[ $h_16hours == 1 ]]; then
		for (( i=117; i<=124; i+=1 ))
			do
				messg=$(sed -n ${i}p $HOME/1_accuweather/hourly2)
				sed -i "24s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
				((jump_to+=60))
			done
	fi
		
	#DEW POINT
	echo "\${color ffe595}\${goto 100}\${hr 1}" >> $HOME/1_accuweather/altogether16
	echo "DEW POINT\${color}" >> $HOME/1_accuweather/altogether16
	jump_to=100	
	for (( i=126; i<=133; i+=1 ))
		do
			messg=$(sed -n ${i}p $HOME/1_accuweather/hourly1)
			sed -i "26s/$/\${goto $jump_to}$messg°/" $HOME/1_accuweather/altogether16
			((jump_to+=60))
		done
	if [[ $h_16hours == 1 ]]; then
		for (( i=126; i<=133; i+=1 ))
			do
				messg=$(sed -n ${i}p $HOME/1_accuweather/hourly2)
				sed -i "26s/$/\${goto $jump_to}$messg°/" $HOME/1_accuweather/altogether16
				((jump_to+=60))
			done
	fi
		
	#VISIBILITY
	echo "\${color ffe595}\${goto 100}\${hr 1}" >> $HOME/1_accuweather/altogether16
	echo "VISIBILITY\${color}" >> $HOME/1_accuweather/altogether16
	jump_to=100	
	for (( i=135; i<=142; i+=1 ))
		do
			messg=$(sed -n ${i}p $HOME/1_accuweather/hourly1)
			sed -i "28s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
			((jump_to+=60))
		done
	if [[ $h_16hours == 1 ]]; then
		for (( i=135; i<=142; i+=1 ))
			do
				messg=$(sed -n ${i}p $HOME/1_accuweather/hourly2)
				sed -i "28s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
				((jump_to+=60))
			done
	fi
		
	#IMAGES
	if [[ $hourly0 == 0 ]]; then
		if [[ $hourly2015 == 1 ]]; then
					jump_to=75
					cp $HOME/1_accuweather/altogether16 $HOME/1_accuweather/altogether16_2015
		fi
		if [[ $hourly2016 == 1 ]]; then
					jump_to=85
					cp $HOME/1_accuweather/altogether16 $HOME/1_accuweather/altogether16_2016
		fi
		rm $HOME/1_accuweather/altogether16
		hours=$((8+$h_16hours*8))
		for (( i=1; i<=$hours; i+=1 ))
			do
				if [[ $hourly2015 == 1 ]]; then
					sed -i "4s/$/\${image \$HOME\/1_accuweather\/hourly_2015\/hourly_$i.png -s 60x36 -p $jump_to,49}/" $HOME/1_accuweather/altogether16_2015
				fi
				if [[ $hourly2016 == 1 ]]; then
					sed -i "4s/$/\${image \$HOME\/1_accuweather\/hourly_2016\/hourly_$i.png -s 36x36 -p $jump_to,49}/" $HOME/1_accuweather/altogether16_2016
				fi			
				((jump_to+=60))
			done
	fi
	
	#CONKYFONT
	if [[ $hourly0 == 1 ]]; then
		sed -i '4s/$/\${color}\${font conkyweather:size=35}/' $HOME/1_accuweather/altogether16
		jump_to=95
		for (( i=144; i<=151; i+=1 ))
			do
				sed -i "4s/$/\${goto $jump_to}$(sed -n ${i}p $HOME/1_accuweather/hourly1)/" $HOME/1_accuweather/altogether16
				((jump_to+=60))
			done
		if [[ $h_16hours == 1 ]]; then
			for (( i=144; i<=151; i+=1 ))
				do
					sed -i "4s/$/\${goto $jump_to}$(sed -n ${i}p $HOME/1_accuweather/hourly2)/" $HOME/1_accuweather/altogether16
					((jump_to+=60))
				done
		fi
		sed -i '4s/$/\${font}/' $HOME/1_accuweather/altogether16
		sed -i '2,3d' $HOME/1_accuweather/altogether16
	fi
	
	#DELETE UNWANTED VARIABLES
	if [[ $h_real == 0 ]]; then
		if [[ $hourly0 == 1 ]]; then
			sed -i '7,8s/^.*$/VOID/' $HOME/1_accuweather/altogether16
		elif [[ $hourly2015 == 1 ]]; then
			sed -i '9,10s/^.*$/VOID/' $HOME/1_accuweather/altogether16_2015
		elif [[ $hourly2016 == 1 ]]; then
			sed -i '9,10s/^.*$/VOID/' $HOME/1_accuweather/altogether16_2016
		fi
	fi
	
	if [[ $h_wind == 0 ]]; then
		if [[ $hourly0 == 1 ]]; then
			sed -i '9,10s/^.*$/VOID/' $HOME/1_accuweather/altogether16
		elif [[ $hourly2015 == 1 ]]; then
			sed -i '11,12s/^.*$/VOID/' $HOME/1_accuweather/altogether16_2015
		elif [[ $hourly2016 == 1 ]]; then
			sed -i '11,12s/^.*$/VOID/' $HOME/1_accuweather/altogether16_2016
		fi
	fi
	
	if [[ $h_rain == 0 ]]; then
		if [[ $hourly0 == 1 ]]; then
			sed -i '11,12s/^.*$/VOID/' $HOME/1_accuweather/altogether16
		elif [[ $hourly2015 == 1 ]]; then
			sed -i '13,14s/^.*$/VOID/' $HOME/1_accuweather/altogether16_2015
		elif [[ $hourly2016 == 1 ]]; then
			sed -i '13,14s/^.*$/VOID/' $HOME/1_accuweather/altogether16_2016
		fi
	fi
	
	if [[ $h_snow == 0 ]]; then
		if [[ $hourly0 == 1 ]]; then
			sed -i '13,14s/^.*$/VOID/' $HOME/1_accuweather/altogether16
		elif [[ $hourly2015 == 1 ]]; then
			sed -i '15,16s/^.*$/VOID/' $HOME/1_accuweather/altogether16_2015
		elif [[ $hourly2016 == 1 ]]; then
			sed -i '15,16s/^.*$/VOID/' $HOME/1_accuweather/altogether16_2016
		fi
	fi
	

	if [[ $h_ice == 0 ]]; then
		if [[ $hourly0 == 1 ]]; then
			sed -i '15,16s/^.*$/VOID/' $HOME/1_accuweather/altogether16
		elif [[ $hourly2015 == 1 ]]; then
			sed -i '17,18s/^.*$/VOID/' $HOME/1_accuweather/altogether16_2015
		elif [[ $hourly2016 == 1 ]]; then
			sed -i '17,18s/^.*$/VOID/' $HOME/1_accuweather/altogether16_2016
		fi
	fi

	
	if [[ $h_uv == 0 ]]; then
		if [[ $hourly0 == 1 ]]; then
			sed -i '17,18s/^.*$/VOID/' $HOME/1_accuweather/altogether16
		elif [[ $hourly2015 == 1 ]]; then
			sed -i '19,20s/^.*$/VOID/' $HOME/1_accuweather/altogether16_2015
		elif [[ $hourly2016 == 1 ]]; then
			sed -i '19,20s/^.*$/VOID/' $HOME/1_accuweather/altogether16_2016
		fi
	fi
	
	if [[ $h_cloud == 0 ]]; then
		if [[ $hourly0 == 1 ]]; then
			sed -i '19,20s/^.*$/VOID/' $HOME/1_accuweather/altogether16
		elif [[ $hourly2015 == 1 ]]; then
			sed -i '21,22s/^.*$/VOID/' $HOME/1_accuweather/altogether16_2015
		elif [[ $hourly2016 == 1 ]]; then
			sed -i '21,22s/^.*$/VOID/' $HOME/1_accuweather/altogether16_2016
		fi
	fi
	
	if [[ $h_humid == 0 ]]; then
		if [[ $hourly0 == 1 ]]; then
			sed -i '21,22s/^.*$/VOID/' $HOME/1_accuweather/altogether16
		elif [[ $hourly2015 == 1 ]]; then
			sed -i '23,24s/^.*$/VOID/' $HOME/1_accuweather/altogether16_2015
		elif [[ $hourly2016 == 1 ]]; then
			sed -i '23,24s/^.*$/VOID/' $HOME/1_accuweather/altogether16_2016
		fi
	fi

	if [[ $h_dew == 0 ]]; then
		if [[ $hourly0 == 1 ]]; then
			sed -i '23,24s/^.*$/VOID/' $HOME/1_accuweather/altogether16
		elif [[ $hourly2015 == 1 ]]; then
			sed -i '25,26s/^.*$/VOID/' $HOME/1_accuweather/altogether16_2015
		elif [[ $hourly2016 == 1 ]]; then
			sed -i '25,26s/^.*$/VOID/' $HOME/1_accuweather/altogether16_2016
		fi
	fi
	
	if [[ $h_visib == 0 ]]; then
		if [[ $hourly0 == 1 ]]; then
			sed -i '25,26s/^.*$/VOID/' $HOME/1_accuweather/altogether16
		elif [[ $hourly2015 == 1 ]]; then
			sed -i '27,28s/^.*$/VOID/' $HOME/1_accuweather/altogether16_2015
		elif [[ $hourly2016 == 1 ]]; then
			sed -i '27,28s/^.*$/VOID/' $HOME/1_accuweather/altogether16_2016
		fi
	fi
	
	sed -i '/VOID/d' $HOME/1_accuweather/{altogether16,altogether16_2015,altogether16_2016}
	
	kill -CONT $(pidof conky)
fi	

Last edited by newbie1962 (2019-03-25 17:55:47)


hp-envy dv7

Offline

#35 2019-03-25 18:03:07

Cavsfan
Member
From: USA
Registered: 2015-07-08
Posts: 101

Re: xfdesktop seems to be broken

Conkys working just fine here with xfdesktop 4.12.4-2.

This is Conkywx: https://imgur.com/xBN2iu7
I've just got 7 conkys but, I've had 12 with not even close to as much overhead as you would expect.

What is different is these conkys scroll: the music right to left and the news, seismic activity, etc. down but, it's all just a parameter for which way it scrolls.
A picture doesn't quite do it justice. A movie would be better.

Offline

#36 2019-03-25 19:18:35

newbie1962
Member
From: italy
Registered: 2012-07-24
Posts: 137

Re: xfdesktop seems to be broken

@Cavsfan
we know conkywx used it up to version 5 if I remember correctly, then the coordinates of the weather changed and the myopese didn't see it anymore.


hp-envy dv7

Offline

#37 2019-03-25 19:22:10

newbie1962
Member
From: italy
Registered: 2012-07-24
Posts: 137

Re: xfdesktop seems to be broken

@toz I had your conky settings on the hour, but I tried again now and it still isn't transparent.
Here is the indicted conky

conky.config = {
-- Create own window instead of using desktop (required in nautilus)
	 own_window = override,
        -- own_window_class = Conky,
         own_window = true,
	 own_window_type = 'override',
	 own_window_transparent = true,
	 own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
        -- own_window_argb_visual = true, 
        -- own_window_argb_value = 192,

   

    
-- 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 = 515, minimum_height = 300,
	maximum_width = 1030,

	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',

-- 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,
	text_buffer_size = 4096,

-- stuff after 'TEXT' will be formatted on screen
};

conky.text = [[
${font Arial:size=11}${color ffe595}HOURLY WEATHER ${font}${hr 2}${texeci 600 bash $HOME/1_accuweather/1_accuweather -h2016}

${execpi 600 sed -n '1,28p' $HOME/1_accuweather/altogether16_2016}

]];

Here the forum from where I got the conky
https://forums.bunsenlabs.org/viewtopic.php?id=189
Thank at all for the help
see photo
https://postimg.cc/bd91VhvF

Last edited by newbie1962 (2019-03-25 19:34:07)


hp-envy dv7

Offline

#38 2019-03-25 19:40:06

toz
Member
Registered: 2011-10-28
Posts: 494

Re: xfdesktop seems to be broken

newbie1962 wrote:

@toz I had your conky settings on the hour, but I tried again now and it still isn't transparent.
Here is the indicted conky

conky.config = {
-- Create own window instead of using desktop (required in nautilus)
	 own_window = override,
        -- own_window_class = Conky,
         own_window = true,
	 own_window_type = 'override',
	 own_window_transparent = true,
	 own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
        -- own_window_argb_visual = true, 
        -- own_window_argb_value = 192,

@newbie1962, can you:

  1. delete the "own_window = override"  line (the first one right after "--Create own window..."

  2. change the "own_window_type" to "desktop"

  3. uncomment (remove the preceeding --) from the "own_window_arbg_visual" line?

So that the first part looks like this:

conky.config = {
-- Create own window instead of using desktop (required in nautilus)
        -- own_window_class = Conky,
         own_window = true,
	 own_window_type = 'desktop',
	 own_window_transparent = true,
	 own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
         own_window_argb_visual = true, 
        -- own_window_argb_value = 192,

This combination works on my system.

Offline

#39 2019-03-25 19:45:52

newbie1962
Member
From: italy
Registered: 2012-07-24
Posts: 137

Re: xfdesktop seems to be broken

@toz
I posted the wrong image I corrected it look good.
sorry

edit
and look at the not working conky and the second one I posted
and call conky hourly 2016 if you look in the forum, it's inside the 1_accuweather script.
Cheers

Last edited by newbie1962 (2019-03-25 19:52:16)


hp-envy dv7

Offline

#40 2019-03-25 19:51:31

toz
Member
Registered: 2011-10-28
Posts: 494

Re: xfdesktop seems to be broken

newbie1962 wrote:

@toz
I posted the wrong image I corrected it look good.
sorry

After you re-install xfdesktop 4.13, make sure you restart it:

pkill xfdesktop

Offline

#41 2019-03-25 19:53:09

newbie1962
Member
From: italy
Registered: 2012-07-24
Posts: 137

Re: xfdesktop seems to be broken

no, okay now I try


hp-envy dv7

Offline

#42 2019-03-25 19:59:43

toz
Member
Registered: 2011-10-28
Posts: 494

Re: xfdesktop seems to be broken

Here is how it looks on my system: https://postimg.cc/V5532PRV

Offline

#43 2019-03-25 20:07:16

newbie1962
Member
From: italy
Registered: 2012-07-24
Posts: 137

Re: xfdesktop seems to be broken

I followed the instructions below see photo:
https://postimg.cc/jwGjXvwb

after reboot here is the photo of the conky
https://postimg.cc/JySmV013

------------------------------------------

If these two conky function with the default settings with the old xfdesktop?
I explain why I have to change the conky settings with the new version of xfdesktop?

As I said in my first place, it will be thema's fault.boh

Last edited by newbie1962 (2019-03-25 20:08:27)


hp-envy dv7

Offline

#44 2019-03-25 23:00:54

toz
Member
Registered: 2011-10-28
Posts: 494

Re: xfdesktop seems to be broken

Are you using the xfwm compositor? Is it enabled?

What video card and driver are you using?

Offline

#45 2019-03-25 23:11:17

stanna
Member
From: melb.au
Registered: 2017-03-24
Posts: 99

Re: xfdesktop seems to be broken

along with the conky transparency issue (which i think is the least of its issues) with xfdesktop-4.13.3-1 is I have a top and bottom panel which are set to auto hide and when it slides back down its still left on the screen as if it doesnt redraw the desktop again properly? reverting to xfdesktop-4.12.4-2 obviously resolves the issue for me.

this occurs on my laptop which is using the intel graphics and not my desktop which is using nvidia binary

Offline

#46 2019-03-25 23:24:51

toz
Member
Registered: 2011-10-28
Posts: 494

Re: xfdesktop seems to be broken

It's probably best to create upstream bug reports for these issues so that they can be looked at by the developers.

Offline

#47 2019-03-26 12:09:16

newbie1962
Member
From: italy
Registered: 2012-07-24
Posts: 137

Re: xfdesktop seems to be broken

toz wrote:

Are you using the xfwm compositor? Is it enabled?

What video card and driver are you using?


Yes, I believe it is true xfwm4 but I have to check.
I have intel-nvidia graphics card and use intel-nouveau drivers.
thank
Cheers

Last edited by newbie1962 (2019-03-26 12:10:44)


hp-envy dv7

Offline

#48 2019-03-26 22:16:28

Cavsfan
Member
From: USA
Registered: 2015-07-08
Posts: 101

Re: xfdesktop seems to be broken

newbie1962 wrote:

@Cavsfan
we know conkywx used it up to version 5 if I remember correctly, then the coordinates of the weather changed and the myopese didn't see it anymore.

Conkywx went to version 6, then 7 and instead of 8 it went to 181207, which is the released version.

I'm testing 190312 and Param, the programmer, gave it multiple sources Wunderground, Weather.com, MSN weather, Accuweather and Dark Sky. Plus he is constantly looking for more sources that anyone in the world can use.
That is a requirement - everyone anywhere must be able to get their local weather.
But, like you say, the website would change something and it all goes awry.

So, then you have to manually change the source in the conf file and all is good.

He is currently working on automating this process: when the weather source being used cannot provide the weather it will switch to another source that can. All behind the scenes requiring no user intervention.

Plus he has made these conkys scroll, something I've never seen before.

Offline

#49 2019-03-26 22:24:06

Cavsfan
Member
From: USA
Registered: 2015-07-08
Posts: 101

Re: xfdesktop seems to be broken

The best solution to this is to downgrade xfdesktop to 4.12.4-2 and ignore that package.

I'm using Compiz, Emerald, Fusion Icon, conkys, anything and everything works perfectly, without changing anything.

I do agree if there is not a bug on this there needs to be.

Offline

#50 2019-05-19 11:47:13

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,251

Re: xfdesktop seems to be broken

I finally isolated the problem here, and whilst I can't say it's true for everyone, figured I'd post.

I used thunar-extended from AUR rather than Thunar bare. Thunar extended is still built on .16 rather than .18. Removed it and installed stock Thunar, and everything works just fine again with the latest xfdesktop.


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

Offline

Board footer

Powered by FluxBB