Stránka 2 z 3
Re: Conky pomoc
Napsal: 24 lis 2012, 13:31
od furmi
Tak ja jsem to nakonec vyresil jnak. Pujcil jsem si script, ktery je pouzivan i v v nastaveni HTC Conky co bylo uvadeno na strankach a vysledek je tento:
Chtel bych se ale zeptat, jak muzu pracovat s conky tak abych mohl dat neco vertikalne a horizontalne?
A dalsi moje otazky:
Nevis o nejakem Conky ktere by dokazalo s nejakeho adresare vzit fotky a udelat slideshow?
A posledni otazka nevis o nejake conky co dokaze zobrazit informace Google readeru?
Dik moc
Re: Conky pomoc
Napsal: 24 lis 2012, 14:39
od admin
Pěkné... nastavení polohy conky je v .conkyrc v úvodních řádcích.. to poznáš. Slideshow jsem nikdy nepoužíval, ale vím, že to existuje, zkus zagooglit. Bude se jednat o nějaký script, který poté přidáš do .conkyrc. Tam se dá leccos, jen si raději ale vždy originál zazálohuj, pak se to jinak dává blbě zpátky.
Re: Conky pomoc
Napsal: 25 lis 2012, 16:45
od furmi
Mam jeden problem.
Chtel bych toto conky weather:
Kód: Vybrat vše
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer left
use_xft yes
# Update interval in seconds
update_interval 3
# Minimum size of text area
minimum_size 350 500
maximum_width 350
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 Black Black Black Black:size=9
uppercase no # 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 D6D6D6
own_window_colour brown
own_window_transparent yes
# Text alignment, other possible values are commented
alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
gap_x 10
gap_y 30
imlib_cache_size 0
# stuff after 'TEXT' will be formatted on screen
TEXT
${font Arial Black:size=8}${color ffe595}WEATHER IN NOVY JICIN ${font}${hr 2}$color${texeci 500 bash $HOME/Accuweather_Conky_Int_ConkyWeatherFont/acc_int_cwfont}
${font Arial Black:size=8}${execpi 600 sed -n '1p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/messages}${font}${goto 200}${color ffe595}TEMP: $color${alignr}${execpi 600 sed -n '29p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/curr_cond}°C (${execpi 600 sed -n '30p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/curr_cond}°C)
${font conkyweather:size=100}${execi 600 sed -n '27p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/curr_cond}${font}
${voffset -130}${goto 200}${color ffe595}WIND: $color${alignr}${execpi 600 sed -n '31p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/curr_cond} ${execpi 600 sed -n '32p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/curr_cond}
${goto 200}${color ffe595}HUM: $color${alignr}${execpi 600 sed -n '33p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/curr_cond}
${goto 200}${color ffe595}DEW POINT: $color${alignr}${execpi 600 sed -n '37p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/curr_cond}°C
${goto 200}${color ffe595}PR: $color${alignr}${execpi 600 sed -n '34p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/curr_cond}
${goto 200}${color ffe595}VISIB: $color${alignr}${execpi 600 sed -n '38p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/curr_cond}
${goto 200}${color ffe595}CLOUD COVER: $color${alignr}${execpi 600 sed -n '35p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/curr_cond}
${goto 200}${color ffe595}UV INDEX: $color${alignr}${execpi 600 sed -n '36p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/curr_cond}
${goto 200}${color ffe595}S/M RISE: $color${alignr}${execpi 600 sed -n '39p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/curr_cond}/${execpi 600 sed -n '41p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/curr_cond}
${goto 200}${color ffe595}S/M SET: $color${alignr}${execpi 600 sed -n '40p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/curr_cond}/${execpi 600 sed -n '42p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/curr_cond}
${hr 1}
${goto 50}${font Arial Black:size=8}${color ffe595}TODAY$color$font${goto 230}${font Arial Black:size=8}${color ffe595}TONIGHT$color$font
${goto 30}${font conkyweather:size=75}${execi 600 sed -n '25p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/first_days}${font}${goto 210}${voffset -75}${font conkyweather:size=75}${execi 600 sed -n '30p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/first_days}${font}
${voffset -70}${goto 145}${execpi 600 sed -n '26p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/first_days}°C${goto 340}${execpi 600 sed -n '31p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/first_days}°C
${goto 140}(${execpi 600 sed -n '27p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/first_days}°C)${goto 335}(${execpi 600 sed -n '32p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/first_days}°C)
${font Arial Black:size=8}${execpi 600 sed -n '2p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/messages}${goto 195}${execpi 600 sed -n '3p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/messages}$font
Chance of Precip: ${execpi 600 sed -n '28p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/first_days}${goto 195}Chance of Precip: $color${execpi 600 sed -n '33p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/first_days}
${hr 1}
${font Arial Black:size=9}${goto 40}${color ffe595}${execpi 600 sed -n '5p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/first_days}${goto 145}${execpi 600 sed -n '10p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/first_days}${goto 270}${execpi 600 sed -n '15p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/first_days}$color${font}
${goto 30}${font conkyweather:size=50}${execi 600 sed -n '6p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/first_days}${font}${goto 140}${voffset -50}${font conkyweather:size=50}${execi 600 sed -n '11p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/first_days}${font}${goto 260}${voffset -50}${font conkyweather:size=50}${execi 600 sed -n '16p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/first_days}${font}
${voffset -40}${font Arial Black:size=8}${goto 100}${execpi 600 sed -n '8p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/first_days}°C${goto 210}${execpi 600 sed -n '13p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/first_days}°C${goto 330}${execpi 600 sed -n '18p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/first_days}°C
${goto 100}${execpi 600 sed -n '9p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/first_days}°C${goto 210}${execpi 600 sed -n '14p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/first_days}°C${goto 330}${execpi 600 sed -n '19p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/first_days}°C
${execpi 600 sed -n '4p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/messages}${goto 135}${execpi 600 sed -n '5p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/messages}${goto 255}${execpi 600 sed -n '6p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/messages}
${font Arial Black:size=9}${goto 40}${color ffe595}${execpi 600 sed -n '20p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/first_days}${goto 145}${execpi 600 sed -n '1p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/last_days}${goto 270}${execpi 600 sed -n '6p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/last_days}$color${font}
${goto 30}${font conkyweather:size=50}${execi 600 sed -n '21p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/first_days}${font}${goto 140}${voffset -50}${font conkyweather:size=50}${execi 600 sed -n '2p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/last_days}${font}${goto 260}${voffset -50}${font conkyweather:size=50}${execi 600 sed -n '7p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/last_days}${font}
${voffset -40}${font Arial Black:size=8}${goto 100}${execpi 600 sed -n '23p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/first_days}°C${goto 210}${execpi 600 sed -n '4p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/last_days}°C${goto 330}${execpi 600 sed -n '9p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/last_days}°C
${font Arial Black:size=8}${goto 100}${execpi 600 sed -n '24p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/first_days}°C${goto 210}${execpi 600 sed -n '5p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/last_days}°C${goto 330}${execpi 600 sed -n '10p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/last_days}°C
${execpi 600 sed -n '7p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/messages}${goto 135}${execpi 600 sed -n '8p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/messages}${goto 255}${execpi 600 sed -n '9p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/messages}
${font Arial Black:size=9}${goto 40}${color ffe595}${execpi 600 sed -n '11p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/last_days}${goto 145}${execpi 600 sed -n '16p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/last_days}${goto 270}${execpi 600 sed -n '21p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/last_days}$color${font}
${goto 30}${font conkyweather:size=50}${execi 600 sed -n '12p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/last_days}${font}${goto 140}${voffset -50}${font conkyweather:size=50}${execi 600 sed -n '17p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/last_days}${font}${goto 260}${voffset -50}${font conkyweather:size=50}${execi 600 sed -n '22p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/last_days}${font}
${voffset -40}${font Arial Black:size=8}${goto 100}${execpi 600 sed -n '14p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/last_days}°C${goto 210}${execpi 600 sed -n '19p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/last_days}°C${goto 330}${execpi 600 sed -n '24p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/last_days}°C
${font Arial Black:size=8}${goto 100}${execpi 600 sed -n '15p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/last_days}°C${goto 210}${execpi 600 sed -n '20p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/last_days}°C${goto 330}${execpi 600 sed -n '25p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/last_days}°C
${execpi 600 sed -n '10p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/messages}${goto 135}${execpi 600 sed -n '11p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/messages}${goto 255}${execpi 600 sed -n '12p' $HOME/Accuweather_Conky_Int_ConkyWeatherFont/messages}
Spoustek pres .sh soubor:
Kód: Vybrat vše
#!/bin/bash
sleep 3 &&
conky -d -c /home/furmi/.conkyrc &
echo
sleep 60
exit
Tak ho dam do startup programu. Mint se mi spusti.Ale conky se mi nezobrazi.
Po te kdyz dam v terminalu prikaz conky
Objevi se toto:
Kód: Vybrat vše
Conky: desktop window (c00033) is subwindow of root window (b0)
Conky: window type - normal
Conky: drawing to created window (0x2e00001)
Conky: drawing to double buffer
Neoprávněný přístup do paměti (SIGSEGV)
Nesetkal jses s tim nekdy?
Konfiguracni soubor je .conkyrc pokud ho zamenim za jine nastaveni .. tak vsechno probehne v poradku a pak se mi rozjede i to puvodni .conkyrc.
Re: Conky pomoc
Napsal: 25 lis 2012, 17:20
od admin
Re: Conky pomoc
Napsal: 10 pro 2012, 15:48
od jarek163
Zdravím
Stáhl jsem si conky z
http://www.linux-mint-czech.cz/conky-linux-mint-nadia/ , je nějaký způsob aby se mi zobrazoval pouze na jedné z ploch?
Děkuji za odpoveď
Re: Conky pomoc
Napsal: 10 pro 2012, 15:57
od admin
Tak osobně si myslím, že to bohužel nejde, nevím jak je to třeba v KDE, ale v Cinnamonu to nejde určitě..
Re: Conky pomoc
Napsal: 14 pro 2012, 15:51
od furmi
Me napadlo pouzit program Devilspie. Pouzivam ho normalne pro otevirani aplikaci v danych plochach. To by mohlo fungovat.
Re: Conky pomoc
Napsal: 14 pro 2012, 16:03
od admin
No zkus to a dej taky vědět... Conky je ale své, tak nevím..
Re: Conky pomoc
Napsal: 16 pro 2012, 17:21
od RadekD
Kódy měst pro předpověď počasí najdete třeba zde:
http://www.pc-help.cz/viewtopic.php?f=62&t=62160
Re: Conky pomoc
Napsal: 28 pro 2012, 17:14
od Maky
conky, hezké, kdysi jsem používal v Ubuntu. Mohl by z toho udělat někdo návod? Jako je v Ubuntu?
http://wiki.ubuntu.cz/conky?s[]=conky
Já instaloval odsud
http://www.linux-mint-czech.cz/conky-pa ... inux-mint/ ale moc se mi nelíbí. Písmo je malé i barva stejná.