Conky pomoc

Problémy a zkušenosti s programy, softwarovými nástroji nebo balíčkovacími systémy pro jejich instalaci
Zpráva
Autor
furmi
Příspěvky: 42
Registrován: 13 lis 2012, 08:05

Re: Conky pomoc

#11 Příspěvek 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:

Obrázek

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
admin

Re: Conky pomoc

#12 Příspěvek 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.
furmi
Příspěvky: 42
Registrován: 13 lis 2012, 08:05

Re: Conky pomoc

#13 Příspěvek 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.
admin

Re: Conky pomoc

#14 Příspěvek od admin »

Setkal... mnohokrát. Chyba je v kódu .conkyrc. Mně konkrétně to dělal kalendář v conky a našel jsem to tím způsobem, že jsem postupně vyřazoval jednotlivé součásti conky, a sice zakomentováním kódu na začátku řádku(#) té které součásti conky. Když jsem to odhalil, tak jsem to jednoduše smazal a byl klid. Conky hold chodilo bez kalendáře... :) :) :)
jarek163
Příspěvky: 80
Registrován: 29 lis 2012, 21:12
Bydliště: Rychnov n.Kn
Kontaktovat uživatele:

Re: Conky pomoc

#15 Příspěvek 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ď
HP EliteBook 8570w
admin

Re: Conky pomoc

#16 Příspěvek 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ě..
furmi
Příspěvky: 42
Registrován: 13 lis 2012, 08:05

Re: Conky pomoc

#17 Příspěvek od furmi »

Me napadlo pouzit program Devilspie. Pouzivam ho normalne pro otevirani aplikaci v danych plochach. To by mohlo fungovat.
admin

Re: Conky pomoc

#18 Příspěvek od admin »

No zkus to a dej taky vědět... Conky je ale své, tak nevím..
RadekD
Příspěvky: 317
Registrován: 19 lis 2012, 19:28
Bydliště: Nedaleko Vyškova

Re: Conky pomoc

#19 Příspěvek 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
Acer Swift1, N4200 2.5 GHz max., 4GB RAM, 64+250GB SSD, Intel graphic, Debian 12 Cinnamon
Intel NUC, Celeron J3455, 4GB RAM, 256GB SSD, Debian 11 server, LAMP...
AS8940G, Intel i7 ..., LM19 xfce
Maky
Příspěvky: 145
Registrován: 21 lis 2012, 20:00

Re: Conky pomoc

#20 Příspěvek 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á.
Kdo si s MINTem hraje, nezlobí.
Zamčeno