SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#926 2013-08-08 21:12:02

farinet
#! Junkie
Registered: 2012-11-03
Posts: 296

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

TeoBigusGeekus wrote:
http://www.accuweather.com/de/ch/les-marecottes/315649/daily-weather-forecast/315649

Hier ist dein Problem mein Freund. Das Script funktioniert nur mit Englisch.

The script only works with english mate. Try changing the page address from german to english

http://www.accuweather.com/en/ch/les-marecottes/315649/daily-weather-forecast/315649

and try again.
Also, tell Frau Merkel to send us more money  tongue

Will say it to Doris Leuthard . . . tongue tongue

Anyway, ok. Will have a look at  it, thanks a lot for the pointer!

Offline

Help fund CrunchBang, donate to the project!

#927 2013-08-08 21:13:29

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Oh, you're Swiss! Entschuldigung...  lol


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

#928 2013-08-08 21:19:00

farinet
#! Junkie
Registered: 2012-11-03
Posts: 296

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

[Edit] Including the changes Sector 11 proposes and changing alignment to top_left all is fine so far[/EDIT]. Remains how to make the 2 conky one.

Asking for an output in French or Italian would be too much, i presume (?). At least for someone with so limited conky capabilities like me . . . wink

Cheers and thanks a lot for all your help!

PS. Here how MY .conkyrc_1a_int looks like:

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal ##override
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky
#own_window_colour brown

# 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.0

# Minimum size of text area
minimum_size 280 500
maximum_width 230

override_utf8_locale yes

# Draw shades?
draw_shades yes

# Text stuff
draw_outline yes # amplifies text if yes
draw_borders no
xftfont Liberation Sans:size=10
uppercase no # set to yes if you want all text to be in uppercase

# 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 656667 #cbcbcb##teo's value 

# 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 60

# stuff after 'TEXT' will be formatted on screen

TEXT
${color 828282}WEATHER ${hr}$color${execi 600 bash $HOME/1a_accuweather_conkyweather_font/1a}

${font conkyweather:size=40}${execi 600  sed -n '2p' ~/1a_accuweather_conkyweather_font/curr_cond}${font}${goto 75}${voffset -40}CURRENTLY: ${execpi 600 sed -n '4p' $HOME/1a_accuweather_conkyweather_font/curr_cond}°C
${goto 75}${execpi 600 sed -n '3p' $HOME/1a_accuweather_conkyweather_font/curr_cond|fold -w30}


${font conkyweather:size=40}${execi 600  sed -n '2p' ~/1a_accuweather_conkyweather_font/tod_ton}${font}${goto 75}${voffset -40}${execpi 600 sed -n '1p' $HOME/1a_accuweather_conkyweather_font/tod_ton}: ${execpi 600 sed -n '4p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C/${execpi 600 sed -n '5p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C
${goto 75}${execpi 600 sed -n '3p' $HOME/1a_accuweather_conkyweather_font/tod_ton|fold -w30}


${font conkyweather:size=40}${execi 600  sed -n '7p' ~/1a_accuweather_conkyweather_font/tod_ton}${font}${goto 75}${voffset -40}${execpi 600 sed -n '6p' $HOME/1a_accuweather_conkyweather_font/tod_ton}: ${execpi 600 sed -n '9p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C/${execpi 600 sed -n '10p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C
${goto 75}${execpi 600 sed -n '8p' $HOME/1a_accuweather_conkyweather_font/tod_ton|fold -w30}


${font conkyweather:size=40}${execi 600  sed -n '12p' ~/1a_accuweather_conkyweather_font/tod_ton}${font}${goto 75}${voffset -40}${execpi 600 sed -n '11p' $HOME/1a_accuweather_conkyweather_font/tod_ton}: ${execpi 600 sed -n '14p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C/${execpi 600 sed -n '15p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C
${goto 75}${execpi 600 sed -n '13p' $HOME/1a_accuweather_conkyweather_font/tod_ton|fold -w30}


${font conkyweather:size=40}${execi 600  sed -n '17p' ~/1a_accuweather_conkyweather_font/tod_ton}${font}${goto 75}${voffset -40}${execpi 600 sed -n '16p' $HOME/1a_accuweather_conkyweather_font/tod_ton}: ${execpi 600 sed -n '19p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C/${execpi 600 sed -n '20p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C
${goto 75}${execpi 600 sed -n '18p' $HOME/1a_accuweather_conkyweather_font/tod_ton|fold -w30}


${font conkyweather:size=40}${execi 600  sed -n '22p' ~/1a_accuweather_conkyweather_font/tod_ton}${font}${goto 75}${voffset -40}${execpi 600 sed -n '21p' $HOME/1a_accuweather_conkyweather_font/tod_ton}: ${execpi 600 sed -n '24p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C/${execpi 600 sed -n '25p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C
${goto 75}${execpi 600 sed -n '23p' $HOME/1a_accuweather_conkyweather_font/tod_ton|fold -w30}


${font conkyweather:size=40}${execi 600  sed -n '2p' ~/1a_accuweather_conkyweather_font/last_days}${font}${goto 75}${voffset -40}${execpi 600 sed -n '1p' $HOME/1a_accuweather_conkyweather_font/last_days}: ${execpi 600 sed -n '4p' $HOME/1a_accuweather_conkyweather_font/last_days}°C/${execpi 600 sed -n '5p' $HOME/1a_accuweather_conkyweather_font/last_days}°C
${goto 75}${execpi 600 sed -n '3p' $HOME/1a_accuweather_conkyweather_font/last_days|fold -w30}


${font conkyweather:size=40}${execi 600  sed -n '7p' ~/1a_accuweather_conkyweather_font/last_days}${font}${goto 75}${voffset -40}${execpi 600 sed -n '6p' $HOME/1a_accuweather_conkyweather_font/last_days}: ${execpi 600 sed -n '9p' $HOME/1a_accuweather_conkyweather_font/last_days}°C/${execpi 600 sed -n '10p' $HOME/1a_accuweather_conkyweather_font/last_days}°C
${goto 75}${execpi 600 sed -n '8p' $HOME/1a_accuweather_conkyweather_font/last_days|fold -w30}


${font conkyweather:size=40}${execi 600  sed -n '12p' ~/1a_accuweather_conkyweather_font/last_days}${font}${goto 75}${voffset -40}${execpi 600 sed -n '11p' $HOME/1a_accuweather_conkyweather_font/last_days}: ${execpi 600 sed -n '14p' $HOME/1a_accuweather_conkyweather_font/last_days}°C/${execpi 600 sed -n '15p' $HOME/1a_accuweather_conkyweather_font/last_days}°C
${goto 75}${execpi 600 sed -n '13p' $HOME/1a_accuweather_conkyweather_font/last_days|fold -w30}


${font conkyweather:size=40}${execi 600  sed -n '17p' ~/1a_accuweather_conkyweather_font/last_days}${font}${goto 75}${voffset -40}${execpi 600 sed -n '16p' $HOME/1a_accuweather_conkyweather_font/last_days}: ${execpi 600 sed -n '19p' $HOME/1a_accuweather_conkyweather_font/last_days}°C/${execpi 600 sed -n '20p' $HOME/1a_accuweather_conkyweather_font/last_days}°C
${goto 75}${execpi 600 sed -n '18p' $HOME/1a_accuweather_conkyweather_font/last_days|fold -w30}


${font conkyweather:size=40}${execi 600  sed -n '22p' ~/1a_accuweather_conkyweather_font/last_days}${font}${goto 75}${voffset -40}${execpi 600 sed -n '21p' $HOME/1a_accuweather_conkyweather_font/last_days}: ${execpi 600 sed -n '24p' $HOME/1a_accuweather_conkyweather_font/last_days}°C/${execpi 600 sed -n '25p' $HOME/1a_accuweather_conkyweather_font/last_days}°C
${goto 75}${execpi 600 sed -n '23p' $HOME/1a_accuweather_conkyweather_font/last_days|fold -w30}

and a screenshot:
screenshot-13-08-09_06-55.png

Last edited by farinet (2013-08-09 05:10:11)

Offline

#929 2013-08-08 21:35:51

farinet
#! Junkie
Registered: 2012-11-03
Posts: 296

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Sector11 wrote:

. . . Here is your #! conky and your weather conky running togeather
http://s20.postimg.org/u841v55ah/2013_08_08_16_02_36_1920x1080_Sector11.jpg....

How would be merged the 2 conkyrc files?

Screen solution: 1280 x 800

[edit]How could i lighten up - a little bit - the output? I tried to change the grey output by changing the hex color value, but apparently to no extent. And when i tried to find the "default_color" value, i did not find either 656667 nor cbcbcb. Where are this values coming from??[/edit]

Last edited by farinet (2013-08-09 08:11:19)

Offline

#930 2013-08-09 08:35:35

farinet
#! Junkie
Registered: 2012-11-03
Posts: 296

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Answering to myself: It's the html color scheme that has to be used! The question that i'm unable to find a solution to is how to merge the 2 conkyrc files into one.

Thanks a lot in advance!

Offline

#931 2013-08-09 09:56:22

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

French or Italian would be too much, i presume (?).

Sorry mate, I don't have the time anymore...


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

#932 2013-08-09 12:32:34

farinet
#! Junkie
Registered: 2012-11-03
Posts: 296

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

TeoBigusGeekus wrote:

French or Italian would be too much, i presume (?).

Sorry mate, I don't have the time anymore...

I understand that pretty well. It's already a lot what you did!

Just my other question: How can i merge the 2 conky instances? Calling the second one from inside the first (using the commandline command)?

Thanks in advance.

Last edited by farinet (2013-08-09 12:48:20)

Offline

#933 2013-08-09 13:37:47

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

You don't have to merge them, just call them separately during startup.


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

#934 2013-08-09 17:41:21

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

farinet wrote:
TeoBigusGeekus wrote:

French or Italian would be too much, i presume (?).

Sorry mate, I don't have the time anymore...

I understand that pretty well. It's already a lot what you did!

Just my other question: How can i merge the 2 conky instances? Calling the second one from inside the first (using the commandline command)?

Thanks in advance.

TeoBigusGeekus wrote:

You don't have to merge them, just call them separately during startup.

Like Teo said ... one scriot to start them all:

at the end of my ~/.config/openbox/autostart file:

## Start Conky after a slight delay
#(sleep 3s && conky -c ~/.conkyrc) &
## Start conkys
(sleep 2s && /media/5/Conky/OBMenuS/S11_Current.sh) &
exit

that file is HUGE because I start 9 conkys on 2 desktops ... I had as many as 27 on 4 desktops .. so let me point you to a simple one at Conky PitStop: ssc.sh (Start/Stop Conky)

or for you:
~/.config/openbox/autostart file:  (might be ~/.config/openbox/autostart.sh)

## Start Conky after a slight delay
#(sleep 3s && conky -c ~/.conkyrc) &
## Start conkys
(sleep 2s && /path_to/the_script_file/ssc.sh) &
exit

ssc.sh

#!/bin/sh
# click to start, click to stop

if pidof conky | grep [0-9] > /dev/null
then
   exec killall conky
else
    
sleep 5  # this MIGHT need adjustment
   conky &
   conky -c ~/.conkyrc_1a_int &
exit
fi

There is a LOT of info there to squeeze into a height of only 800 pixels, but is you make the fonts smaller it can be done - but will it be readable?  Hmmmmmmmmmmmmmm ....

I do so love a challenge  .... I shall return.!

OK ... €€€ to Teo - I'll take some chocolate and a really nice fondue  big_smile


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#935 2013-08-09 21:17:06

farinet
#! Junkie
Registered: 2012-11-03
Posts: 296

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Thanks a lot to you both! I put 2 rows, instead of one, into my fluxbox startup file big_smile

If i was you i'd prefer raclette over fondue but it's up to you . . . tongue tongue

Last edited by farinet (2013-08-09 21:21:21)

Offline

#936 2013-08-09 21:44:09

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

farinet wrote:

Thanks a lot to you both! I put 2 rows, instead of one, into my fluxbox startup file big_smile

If i was you i'd prefer raclette over fondue but it's up to you . . . tongue tongue

Yes, that can be done as well.

Is that cheese?  Ooooooooooooooooooooooooooo  I like it all ready!  Yes, I'll go for that.

I use a script that way I never have to touch the 'autostart' file ... I have more conkys commented out than I have running.  big_smile


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#937 2013-08-09 22:37:59

farinet
#! Junkie
Registered: 2012-11-03
Posts: 296

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Now, i'm somewhat satisfied with the look of my desktop:

screenshot-13-08-10_00-03.png

(it's poor, i know, but essentially, it does what i like to have it done)

Last edited by farinet (2013-08-09 22:40:33)

Offline

#938 2013-08-10 00:59:49

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

farinet wrote:

Now, i'm somewhat satisfied with the look of my desktop:

(it's poor, i know, but essentially, it does what i like to have it done)

I'm sorry - no such thing as poor conky!  If it does what you want - it's perfect and if you are satisfied even better!

BTW: CrunchBang & Teo's script in a 1208 x 800 screen (the black area):
2013_08_09_21_42_58_1920x1080_Sector11.jpg

I made some changes ... I think if "wlan" is running Saturday may drop off the bottom - so deleting the empty lined under Weather and "Intervals of cloud and sun" may be necessary.

Using different colours for "day names" "Hi and low temperatures" will help in the reading of it.

The conky file:

# killall conky && conky -c /media/5/conky/farinet.cb.conky &
# conky configuration
#
# The list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
#
# For ideas about how to modify conky, please see:
# http://crunchbanglinux.org/forums/topic/59/my-conky-config/
#
# For help with conky, please see:
# http://crunchbanglinux.org/forums/topic/2047/conky-help/
#
# Enjoy!
##############################################
# Settings
##############################################
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal #override
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky
own_window_colour brown

# 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.0

# Minimum size of text area
minimum_size 280 550
maximum_width 280

override_utf8_locale yes

# Draw shades?
draw_shades yes

# Text stuff
draw_outline yes # amplifies text if yes
draw_borders no
#font freesans -12
#xftfont Arial:size=9
xftfont Liberation Sans:bold:size=9
uppercase no # set to yes if you want all text to be in uppercase

# Stippled borders?
stippled_borders 3

# border margins
border_inner_margin 9
border_outer_margin 0

# border width
border_width 0

# Default colors and also border colors, grey90 == #e5e5e5
default_color cbcbcb

# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
text_buffer_size 256

# 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

# stuff after 'TEXT' will be formatted on screen

TEXT
S Y S T E M    I N F O
${hr}
Host:${alignr}${nodename}
Uptime:${alignr}${uptime}
RAM:${alignr}${mem} | ${memmax}
Swap usage:${alignr}${swap} | ${swapmax}
Disk usage:${alignr}${fs_used /} | ${fs_size /}
CPU usage:${alignr}${cpu cpu0}%
Battery/AC adapter:${alignr}${battery_percent BAT1}% | ${acpiacadapter ACAD}
${if_up wlan1}WLAN: ${alignr}${wireless_essid wlan1} | ${wireless_link_qual wlan1}%
UP | DOWN:${alignr}${upspeed wlan1} | ${downspeed wlan1}${else}${if_up eth0}ETH0   UP:  ${upspeed eth0} ${goto 160}|  DOWN:${alignr}${downspeed eth0}${else}No Net Connection Present${endif}${endif}

S H O R T C U T    K E Y S
${hr}
Alt+F2${alignr} Run Dialog
Alt+F3${alignr} Alt Menu
Super+Space${alignr} Main Menu
Super+n${alignr} Network Setup
Super+t${alignr} Terminal
Super+f${alignr} File Manager
Super+g${alignr} Editor (Geany)
Super+m${alignr} Media Player
Super+w${alignr} Web Browser
Super+e${alignr} E-Mail
Super+h${alignr} Task Manager
Super+k${alignr} Kalender
Super+l${alignr} Lock Screen
Super+v${alignr} Volume Control
Super+x${alignr} Logout
PrtSc${alignr} Screenshot

${color 8e8e8e}WEATHER ${hr 2}$color${execi 600 bash $HOME/1a_accuweather_conkyweather_font/1a}

${goto 55}CURRENTLY    ${execpi 600 sed -n '4p' $HOME/1a_accuweather_conkyweather_font/curr_cond}°C\
${goto 15}${font conkyweather:size=20}${execi 600  sed -n '2p' ~/1a_accuweather_conkyweather_font/curr_cond}${font}\
${goto 55}${execpi 600 sed -n '3p' $HOME/1a_accuweather_conkyweather_font/curr_cond}
${goto 55}${execpi 600 sed -n '1p' $HOME/1a_accuweather_conkyweather_font/tod_ton}\
    ${execpi 600 sed -n '4p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C   /   ${execpi 600 sed -n '5p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C\
${goto 15}${font conkyweather:size=20}${execi 600  sed -n '2p' ~/1a_accuweather_conkyweather_font/tod_ton}${font}\
${goto 55}${execpi 600 sed -n '3p' $HOME/1a_accuweather_conkyweather_font/tod_ton}
${goto 55}${execpi 600 sed -n '6p' $HOME/1a_accuweather_conkyweather_font/tod_ton}\
    ${execpi 600 sed -n '9p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C   /   ${execpi 600 sed -n '10p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C\
${goto 15}${font conkyweather:size=20}${execi 600  sed -n '7p' ~/1a_accuweather_conkyweather_font/tod_ton}${font}\
${goto 55}${execpi 600 sed -n '8p' $HOME/1a_accuweather_conkyweather_font/tod_ton}

${goto 55}${execpi 600 sed -n '11p' $HOME/1a_accuweather_conkyweather_font/tod_ton}\
    ${execpi 600 sed -n '14p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C   /   ${execpi 600 sed -n '15p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C\
${goto 15}${font conkyweather:size=20}${execi 600  sed -n '12p' ~/1a_accuweather_conkyweather_font/tod_ton}${font}\
${goto 55}${execpi 600 sed -n '13p' $HOME/1a_accuweather_conkyweather_font/tod_ton}
${goto 55}${execpi 600 sed -n '16p' $HOME/1a_accuweather_conkyweather_font/tod_ton}\
    ${execpi 600 sed -n '19p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C/${execpi 600 sed -n '20p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C\
${goto 15}${font conkyweather:size=20}${execi 600  sed -n '17p' ~/1a_accuweather_conkyweather_font/tod_ton}${font}\
${goto 55}${execpi 600 sed -n '18p' $HOME/1a_accuweather_conkyweather_font/tod_ton}
${goto 55}${execpi 600 sed -n '21p' $HOME/1a_accuweather_conkyweather_font/tod_ton}\
    ${execpi 600 sed -n '24p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C   /   ${execpi 600 sed -n '25p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°C\
${goto 15}${font conkyweather:size=20}${execi 600  sed -n '22p' ~/1a_accuweather_conkyweather_font/tod_ton}${font}\
${goto 55}${execpi 600 sed -n '23p' $HOME/1a_accuweather_conkyweather_font/tod_ton}
${goto 55}${execpi 600 sed -n '1p' $HOME/1a_accuweather_conkyweather_font/last_days}\
    ${execpi 600 sed -n '4p' $HOME/1a_accuweather_conkyweather_font/last_days}°C   /   ${execpi 600 sed -n '5p' $HOME/1a_accuweather_conkyweather_font/last_days}°C\
${goto 15}${font conkyweather:size=20}${execi 600  sed -n '2p' ~/1a_accuweather_conkyweather_font/last_days}${font}\
${goto 55}${execpi 600 sed -n '3p' $HOME/1a_accuweather_conkyweather_font/last_days}
${goto 55}${execpi 600 sed -n '6p' $HOME/1a_accuweather_conkyweather_font/last_days}\
    ${execpi 600 sed -n '9p' $HOME/1a_accuweather_conkyweather_font/last_days}°C   /   ${execpi 600 sed -n '10p' $HOME/1a_accuweather_conkyweather_font/last_days}°C\
${goto 15}${font conkyweather:size=20}${execi 600  sed -n '7p' ~/1a_accuweather_conkyweather_font/last_days}${font}\
${goto 55}${execpi 600 sed -n '8p' $HOME/1a_accuweather_conkyweather_font/last_days}
${goto 55}${execpi 600 sed -n '11p' $HOME/1a_accuweather_conkyweather_font/last_days}\
    ${execpi 600 sed -n '14p' $HOME/1a_accuweather_conkyweather_font/last_days}°C   /   ${execpi 600 sed -n '15p' $HOME/1a_accuweather_conkyweather_font/last_days}°C\
${goto 15}${font conkyweather:size=20}${execi 600  sed -n '12p' ~/1a_accuweather_conkyweather_font/last_days}${font}\
${goto 55}${execpi 600 sed -n '13p' $HOME/1a_accuweather_conkyweather_font/last_days}
${goto 55}${execpi 600 sed -n '16p' $HOME/1a_accuweather_conkyweather_font/last_days}\
    ${execpi 600 sed -n '19p' $HOME/1a_accuweather_conkyweather_font/last_days}°C   /   ${execpi 600 sed -n '20p' $HOME/1a_accuweather_conkyweather_font/last_days}°C\
${goto 15}${font conkyweather:size=20}${execi 600  sed -n '17p' ~/1a_accuweather_conkyweather_font/last_days}${font}\
${goto 55}${execpi 600 sed -n '18p' $HOME/1a_accuweather_conkyweather_font/last_days}
${goto 55}${execpi 600 sed -n '21p' $HOME/1a_accuweather_conkyweather_font/last_days}\
    ${execpi 600 sed -n '24p' $HOME/1a_accuweather_conkyweather_font/last_days}°C   /   ${execpi 600 sed -n '25p' $HOME/1a_accuweather_conkyweather_font/last_days}°C\
${goto 15}${font conkyweather:size=20}${execi 600  sed -n '22p' ~/1a_accuweather_conkyweather_font/last_days}${font}\
${goto 55}${execpi 600 sed -n '23p' $HOME/1a_accuweather_conkyweather_font/last_days}

·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#939 2013-08-10 15:50:51

farinet
#! Junkie
Registered: 2012-11-03
Posts: 296

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

I think i'll be better to keep the weather on the left and the system infos on the right side of the desktop. But, thanks for the idea anyway. May i still ask a question? May be that's something obvious for englishwise more knowledged people:

In the weather infos for Monday i read
A t

And for Saturday:

Cooler with a t

What does a t mean?

And then there is a small generic question i did not find any reasonable answer to going through all the conky related wikis. In Teo's script there is said:

# Minimum size of text area
minimum_size 280 500
maximum_width 230

Now, i presume in the first statement (minimum_size 280 500) the first figure means width, the second height, always in pixels. Does it make sense to combine that with the second statement? How could be the maximum_width smaller than the minimum?

Last edited by farinet (2013-08-10 20:09:59)

Offline

#940 2013-08-10 20:18:57

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

farinet wrote:

Cooler with a t

What does a t mean?

I'm guessing "A t" probably would mean A thunderstorm ... late morning/in the afternoon or some such thing and "Cooler with a t" would be something similar. ... Cooler with a thunderstorm in the ......

I didn't think you'd use the "one conky" - it pretty small and cramped ... but it satisfied my:

I do so love a challenge  .... I shall return!

just to see if I could do it.  big_smile

Your double conky looks nice as it is.

Teo is the scrip genius here .. I just manipulate them.  He's a busy man, he'll be here when he can
If anyone know why they got clipped he will know.


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#941 2013-08-10 20:22:25

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

It should be t-storms or t- something.
Congratulations farinet, you've just discovered a bug in the 1a script.
Wait for it...


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

#942 2013-08-10 20:28:04

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

ANNOUNCEMENT

farinet discovered a bug in the 1a script that causes everything after a dash (-) in the weather messages to disappear. Script corrected and rebundled. Thanks for the sharp eye mate.


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

#943 2013-08-10 20:41:25

farinet
#! Junkie
Registered: 2012-11-03
Posts: 296

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

:8  :8  (The script is in the bundle which is indicated in the 1st post of this thread, i presume?)

I do not want to bother, but... wink  am i allowed to insist on my other question about maximum_width and minimum_size?

Offline

#944 2013-08-10 20:45:48

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

farinet wrote:

:8  :8  (The script is in the bundle which is indicated in the 1st post of this thread, i presume?)

Yep.

farinet wrote:

I do not want to bother, but... wink  am i allowed to insist on my other question about maximum_width and minimum_size?

It must be a brainfart on my part - just play with the values and use what works for you; don't pay too much attention to my feeble conkyrcs. This is Sector11's area of expertise...

PS: Thanks again for your sharp eye mein Freund.

Last edited by TeoBigusGeekus (2013-08-10 20:46:34)


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

#945 2013-08-10 20:51:07

farinet
#! Junkie
Registered: 2012-11-03
Posts: 296

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Thanks to you, eh. Your work is fantastic - and conky, at least in a setup like mine (fluxbox, no real DE environment, and as minimalistic taskbar as possible, it saves a lot: networkmanaging based on ceni, way better imho than others, more gui-oriented ones, now has a desktop appearance, as well as wired etc. And i can get rid of the ugly taskbar based weather addons in iceweasel. Great! big_smile big_smile )

I applied the new script: works perfectly!! Thanks again!

Offline

#946 2013-08-10 20:55:05

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

You're welcome mate! Kind words like yours keep me still maintaining the scripts on a Saturday night, when I should be out drinking beer instead of tackling with sed  lol


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

#947 2013-08-11 09:10:35

farinet
#! Junkie
Registered: 2012-11-03
Posts: 296

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

TeoBigusGeekus wrote:

You're welcome mate! Kind words like yours keep me still maintaining the scripts on a Saturday night, when I should be out drinking beer instead of tackling with sed  lol

Desktop (of today, with *YOUR* corrections in the script! Thanks again!) looks like this and i think i'll leave it that way big_smile

screenshot-13-08-11_10-49.png

Offline

#948 2013-08-12 01:12:03

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

TeoBigusGeekus wrote:
farinet wrote:

:8  :8  (The script is in the bundle which is indicated in the 1st post of this thread, i presume?)

Yep.

farinet wrote:

I do not want to bother, but... wink  am i allowed to insist on my other question about maximum_width and minimum_size?

It must be a brainfart on my part - just play with the values and use what works for you; don't pay too much attention to my feeble conkyrcs. This is Sector11's area of expertise...

PS: Thanks again for your sharp eye mein Freund.

Teamwork, Teo, Teamwork
Scripts give me brain farts  big_smile

maximum_width will always override the minimum_size (width) and yes they are in pixels.
2013_08_11_21_26_34_1920x1080_Sector11.jpg

At times neither maximum_width or minimum_size is required, but:
- - if you use ${voffset}'s in your conky the minimum_size with a width AND HEIGHT values is a good thing to have ... keeping in mind that it's a "minimum".  Because voffsets move (up or down) where text is displayed without changing the size of the window it's a handy option ... SEE: Goto/offset/voffset and Spacing in Conky
- - if you use a ${goto xxx} and there is no command the will extend beyond that combination that will set the conkys width
- - if you use ie: ${cpubar cpu0 0,500} that will draw a line i pixel high and 500 wide:

#minimum_size 210 510	### w|h
#maximum_width 210	### w

2013_08_11_22_00_21_1920x1080_Sector11.jpg

I usually use them both with max and min widths equal ... back to normal:

minimum_size 210 510	### w|h
maximum_width 210	### w

2013_08_11_22_05_42_222x953_Sector11.jpg


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#949 2013-08-12 18:48:43

farinet
#! Junkie
Registered: 2012-11-03
Posts: 296

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Thanks a lot to you both!!! I learned something . . . big_smile big_smile

---
PS. Sector 11: sei italiano, per caso?

Last edited by farinet (2013-08-12 18:50:32)

Offline

Help fund CrunchBang, donate to the project!

#950 2013-08-12 20:57:53

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

farinet wrote:

PS. Sector 11: sei italiano, per caso?

No io sono canadese. Perché pensi che io sono italiano?


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo