Sebenzisa ama-Conky amaningi ngasikhathi sinye

Conky Kuyithuluzi elithakazelisayo elisisiza ukuthi siqaphele uhlelo lwethu (phakathi kwezinye izinto) futhi noma bengingakayisebenzisi isikhathi eside, isikhathi eside (njengoba ilahlekelwe ukwazi, okungenani kimi), bengikuthanda ngokuba uhlelo olulula oludlayo izinsiza ezimbalwa.

Imvamisa lapho sigijima futhi silungiselela Conky, Sisebenzisa isibonelo esisodwa kuphela kepha kuthiwani uma sifuna ukusebenzisa eziningana? Njengoba ukwazi ukubona esithombeni esilandelayo, isibonelo:

Nhlanhlamsibi

Ake sibone ukuthi sikwenze kanjani. Ngenxa yalokhu kufanele sakhe amafayela amaningi, ama-3 kuleli cala:

  1. .conkyrc_mail yokwaziswa nge-imeyili
  2. .conkyrc_system ngolwazi lwesistimu
  3. isikhathi .conkyrc_ iwashi edeskini
Ngaguqula lokhu okuthunyelwe kusuka ku- into endala kusuka kubhulogi yami yakudala. Izikripthi kungenzeka zingasasebenzi, kepha inhloso ukukhombisa ukuthi ungazisebenzisa kanjani izimo eziningi zikaConky ngasikhathi sinye

Sakha ifolda ebizwa ngokuthi .conky ekhaya / ekhaya.

$ mkdir ~/.conky

Ngemuva kwalokho sivula ukuphela njengoba futhi njengezimpande sakha ifayela ku- / usr / yendawo / ibin enegama qala_conky:

$ sudo touch /usr/local/bin/start_conky

bese sibeka okulandelayo ngaphakathi:

#! / bin / bash conky -c /home/your_user/.conky/.conkyrc_system & conky -c /home/your_user/.conky/.conkyrc_time & conky -c /home/your_user/.conky/.conkyrc_mail &

Manje lokho esikushiyile ukukunika izimvume:

$ sudo chmod a + x / usr / wendawo / bin / start_conky $ sudo chown izimpande: staff / usr / local / bin / start_conky

Kepha kungenzeka ukuthi uConky aqale ngaphambi kokuthi iDeskithophu iqede ukulayisha futhi inyamalale. Ukuxazulula lokhu sakha ifayela elisendleleni /home/tu_usuario/.config/autostart ngaphansi kwegama conky_start (igama elihlukile kufayela elenziwe ku- / usr / local / bin) bese sikufaka ngaphakathi:

#! / bin / bash sleep 15 start_conky exit 0

Singashintsha inani ukulala 15 kuya ngesikhathi esithathayo ukulayisha ideskithophu yethu.

Kuze kube manje ingxenye efanele yalesi sihloko. Uma ufuna ukukopisha imibhalo esetshenziselwe isibonelo esedlule, qhubeka ufunda.

.conkyrc_mail

Ukuze lokhu kusebenze kumele sisebenzise umbhalo ongathola lapha.
# Sebenzisa i-Xft? use_xft yebo xftfont DejaVu Sans: size = 8 xftalpha 0.8 text_buffer_size 2048 # Buyekeza isikhawu ngemizuzwana update_interval 1 # Leli inani lezikhathi uConky azolibuyekeza ngaphambi kokuyeka. # Setha ku-zero ukuze usebenze unomphela. total_run_times 0 # Dala iwindi lakho esikhundleni sokusebenzisa ideskithophu (edingekayo ku-nautilus) eyakho_window yebo eyakho_window_transparent yebo eyakho_window_type ibhala ngaphezulu #own_window_hints ingahlobene, ngezansi, okunamathelayo, ukweqa_taskbar, skip_pager # Sebenzisa ukubhaxabula okuphindwe kabili (kunciphisa ubukhulu), kungasebenzi wonke umuntu kwendawo yombhalo ubuncane_size 200 0 # ubukhulu_bobubanzi 200 # Dweba izithunzi? dweba_imithunzi akukho # Dweba uhlaka? draw_outline no # Dweba imingcele ezungeze umbhalo draw_borders no # Stippled border? stippled_borders 0 # imingcele yomngcele umugqa_umugqa 5 # ububanzi bomngcele_bubanzi 1 # Imibala ezenzakalelayo nemibala yomngcele default_color white #default_shade_color black #default_outline_color white own_window_colour white # ukuqondanisa kombhalo, amanye amanani angaba khona aphawulwe #alignment top_left alignment top_right #alignment bottom_lementment bottom_right #alignment bottom_left #alignment bottom_right #alignment bottom_left #alignment bottom_right #alignment bottom_left #alignment bottom_right Gap between border of screen and text # same thing as passing -x at command line gap_x 35 gap_y 40 # Susa amafayili wesistimu yefayela kwimemori esetshenzisiwe? no_buffers yebo # set to yebo uma ufuna wonke umbhalo ube ngunobumba ongunobumba omkhulu cha # inombolo yamasampuli we-cpu ukuze aphakathi nendawo # asethwe abe ngu-1 ukukhubaza isilinganiso sama-cpu_avg_samples 1 # inani lamasampula enetha ukuze aphakathi nendawo # isethwe ku-1 ukukhubaza isilinganiso se-net_avg_samples 2 # Phoqelela i-UTF8? qaphela ukuthi ukusekelwa kwe-UTF8 kudinga ukuthi i-XFT ibhale ngaphezulu_utf8_locale yebo # Faka izikhala zokugcina izinto zingahambi? Lokhu kuthinta kuphela izinto ezithile. use_spacer none TEXT $ {alignr} $ {font} $ {execi 600 conkyEmail –servertype = IMAP –servername = 192.168.200.2 –username = igama lakho lomsebenzisi –password = tupassword –ssl –connectiontimeout = 51} $ {font} Message (s)

isikhathi .conkyrc_

# Sebenzisa i-Xft? use_xft yebo xftfont DejaVu Sans: size = 8 xftalpha 0.8 text_buffer_size 2048 # Buyekeza isikhawu ngemizuzwana update_interval 1 # Leli inani lezikhathi uConky azolibuyekeza ngaphambi kokuyeka. # Setha ku-zero ukuze usebenze unomphela. total_run_times 0 # Dala iwindi lakho esikhundleni sokusebenzisa ideskithophu (edingekayo ku-nautilus) eyakho_window yebo eyakho_window_transparent yebo eyakho_window_type ibhala ngaphezulu #own_window_hints ingahlobene, ngezansi, okunamathelayo, ukweqa_taskbar, skip_pager # Sebenzisa ukubhaxabula okuphindwe kabili (kunciphisa ubukhulu), kungasebenzi wonke umuntu kwendawo yombhalo ubuncane_size 200 0 # ubukhulu_bobubanzi 200 # Dweba izithunzi? dweba_imithunzi akukho # Dweba uhlaka? draw_outline no # Dweba imingcele ezungeze umbhalo draw_borders no # Stippled border? stippled_borders 0 # imingcele yomngcele umugqa_umugqa 5 # ububanzi bomngcele_bubanzi 1 # Imibala ezenzakalelayo nemibala yomngcele default_color white #default_shade_color black #default_outline_color white own_window_colour white # ukuqondanisa kombhalo, amanye amanani angaba khona aphawulwe #alignment top_left alignment top_right #alignment bottom_lementment bottom_right #alignment bottom_left #alignment bottom_right #alignment bottom_left #alignment bottom_right Gap between border of screen and text # same thing as passing -x at command line gap_x -40 gap_y 679 # Susa amafayili wesistimu yefayela kwimemori esetshenzisiwe? no_buffers yebo # set to yebo uma ufuna wonke umbhalo ube ngunobumba ongunobumba omkhulu cha # inombolo yamasampuli we-cpu ukuze aphakathi nendawo # asethwe abe ngu-1 ukukhubaza isilinganiso sama-cpu_avg_samples 1 # inani lamasampula enetha ukuze aphakathi nendawo # isethwe ku-1 ukukhubaza isilinganiso se-net_avg_samples 2 # Phoqelela i-UTF8? qaphela ukuthi ukusekelwa kwe-UTF8 kudinga ukuthi i-XFT ibhale ngaphezulu_utf8_locale yebo # Faka izikhala zokugcina izinto zingahambi? Lokhu kuthinta kuphela izinto ezithile. use_spacer none TEXT $ {alignc 35} $ {font Arial Black: size = 26} $ {time% H:% M} $ {font} $ {alignc} $ {time% A% d% Y}

.conkyrc_system

# Sebenzisa i-Xft? use_xft yebo xftfont DejaVu Sans: size = 8 xftalpha 0.8 text_buffer_size 2048 # Buyekeza isikhawu ngemizuzwana update_interval 1 # Leli inani lezikhathi uConky azolibuyekeza ngaphambi kokuyeka. # Setha ku-zero ukuze usebenze unomphela. total_run_times 0 # Dala iwindi lakho esikhundleni sokusebenzisa ideskithophu (edingekayo ku-nautilus) eyakho_window yebo eyakho_window_transparent yebo eyakho_window_type ibhala ngaphezulu #own_window_hints ingahlobene, ngezansi, okunamathelayo, ukweqa_taskbar, skip_pager # Sebenzisa ukubhaxabula okuphindwe kabili (kunciphisa ubukhulu), kungasebenzi wonke umuntu kwendawo yombhalo ubuncane_size 200 0 # ubukhulu_bobubanzi 200 # Dweba izithunzi? dweba_imithunzi akukho # Dweba uhlaka? draw_outline no # Dweba imingcele ezungeze umbhalo draw_borders no # Stippled border? stippled_borders 0 # imingcele yomngcele border_margin 5 # wide border border_width 1 # imibala ezenzakalelayo nemibala yomngcele default_color 2a2a2a own_window_colour white # ukuqondanisa kombhalo, amanye amanani angaba khona aphawulwe #alignment top_left alignment top_right #alignment bottom_left #alignment bottom_right # Igebe phakathi kwemingcele yemingcele isikrini nombhalo # into efanayo nokudlula -x kulayini womyalo i-gap_x 800 gap_y 690 # Susa amafayela wesistimu yefayela kwimemori esetshenzisiwe? no_buffers yebo # set to yebo uma ufuna wonke umbhalo ube ngunobumba ongunobumba omkhulu cha # inombolo yamasampuli we-cpu ukuze aphakathi nendawo # asethwe abe ngu-1 ukukhubaza isilinganiso sama-cpu_avg_samples 1 # inani lamasampula enetha ukuze aphakathi nendawo # isethwe ku-1 ukukhubaza isilinganiso se-net_avg_samples 2 # Phoqelela i-UTF8? qaphela ukuthi ukusekelwa kwe-UTF8 kudinga ukuthi i-XFT ibhale ngaphezulu_utf8_locale yebo # Faka izikhala zokugcina izinto zingahambi? Lokhu kuthinta kuphela izinto ezithile. use_spacer none TEXT $ {font} CPU: $ {cpu cpu1}% $ {alignr 60} $ {cpubar cpu1 8,60} $ {font} RAM: $ memperc% $ {alignr 60} $ {membar 8,60} $ {font} SWAP : $ swapperc% $ {alignr 60} $ {swapbar 8,60}

Okuqukethwe yi-athikili kunamathela ezimisweni zethu ze izimiso zokuhlelela. Ukubika iphutha chofoza lapha.

Amazwana ayi-17, shiya okwakho

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe. Ezidingekayo ibhalwe nge *

*

*

  1. Ubhekele imininingwane: Miguel Ángel Gatón
  2. Inhloso yedatha: Lawula Ugaxekile, ukuphathwa kwamazwana.
  3. Ukusemthethweni: Imvume yakho
  4. Ukuxhumana kwemininingwane: Imininingwane ngeke idluliselwe kubantu besithathu ngaphandle kwesibopho esisemthethweni.
  5. Isitoreji sedatha: Idatabase ebanjwe yi-Occentus Networks (EU)
  6. Amalungelo: Nganoma yisiphi isikhathi ungakhawulela, uthole futhi ususe imininingwane yakho.

  1.   elasoft kusho

    Ukuncoma okumangazayo kokuthunyelwe engikushicilele mayelana ne-Install Conky.

    1.    izinga kusho

      Empeleni ngiyishicilele ukuze ngicacise ukungabaza komunye umsebenzisi. Angiqiniseki ukuthi izilungiselelo zisasebenza yini njengoba ngazisebenzisa kudala, kudala.

  2.   daniel kusho

    Kungani uthi akunangqondo ukuyisebenzisa?

    Phendula ngokucaphuna

    1.    izinga kusho

      Yebo, ngoba kubonakala kungenangqondo kimi ukuthi nginciphise wonke amawindi ukuya kudeskithophu ukubona ezinye izibalo. Kokunye, kungenye uhlelo lokusebenza olusebenzela ukuzijabulisa. Kepha kuyindlela yami yokuyibona, kunabantu abayisebenzisela ubuhle kuphela. Ngivele ngasidlula leso sigaba .. 😀

      1.    Leo kusho

        Usidlulile leso sigaba? Kuhle, ngakho ubuyele ku-XFCE !!!
        Ha, ngiyadlala. Angikaze ngiyifake ngesizathu esifanayo.

      2.    deda kusho

        Lapho ngiyisebenzisa kwideskithophu ngeFluxbox, engikwenzile ukuyibeka kulayini owodwa futhi ngasetha usayizi wawo wonke amawindi ukuze angaze angene kuleso sikhala. Leyo yindlela engangihlala ngibona ngayo imininingwane ithatha isikhala esincane kakhulu sesikrini (ukuthola i-19 ″ qapha, mhlawumbe kukhompuyutha ephathekayo lokhu kuyaphikiswa) nokudla izinsiza ezimbalwa.

        Ngiyajabula ukubona ukuthi lokhu kusaqhubeka kahle, iningi labantu abakhulu liyawa muva nje.

        Ukubingelela

      3.    Marcelo kusho

        Iyahlonishwa, kepha ihloniphekile futhi ihlobanisa umbono wakho Mina, i-conky ibalulekile kimi ukuqapha amazinga okushisa ohlelo (phakathi kwezinye izinto ezikude kakhulu nokusetshenziswa ngenxa yokuthi "lihle" kanjani). Ngizojabula kuze kube phakade kulolu hlelo oluncane ngoba lungisindise amathikithi ambalwa. Ngimukweleta, isibonelo, ukuthi ikhadi lami lemidwebo alincibiliki. Esikhathini esithile esedlule, ngabona ukuthi izinga lokushisa laleli likhuphuke ngendlela eyethusayo ngaphandle kokusebenzisa noma yiluphi uhlelo oluyivumelayo. Ngimangele, ngaliqaqa ikesi le-PC ukuze ngihlole kancane: Ngathola lapho ukuthi i-cooler yehluzo yayivale ngenxa yothuli. Ukube bekungengenxa kaConky, bengingeke ngize ngiyithole ngesikhathi futhi bengizophelelwa yi-GPU. Isicelo egijima for fun? Angicabangi kanjalo.
        Ukunciphisa wonke amawindi nokuwavuselela ukuze abone uConky kungenza ngilahlekelwe, okungenani, imizuzwana embalwa (ukuzidela okuncane uma impilo yemishini ibandakanyekile ngakho-ke umsebenzi wami). Futhi uma ngingafuni ukunciphisa, ngiya kwelinye ideski nekhambi elingcwele.

        1.    Leo kusho

          Kuzofanele kube nendlela ethile yesinqamuleli sekhibhodi ukuyithumela ngaphambili ukuze sikwazi ukunciphisa noma yini.

      4.    eliotime3000 kusho

        Kimi, i-interface ye-GNOME 3.4 yokubuyela emuva isebenza kahle kimi ngokuhleleka kwayo. Ukusika edeskini sekuvele kungibhora.

  3.   Ozkar kusho

    conkyEmail, conkyForecast ... yizinhlelo ezizimele ezivela ku-conky. Bangabalingani be-conky.

  4.   enrique kusho

    Ngiyabonga, kungisebenzele

    1.    Leonardo kusho

      I-WTF? I-Safari egijima ku-ArchLinux

      1.    eliotime3000 kusho

        I-Webkit, i-Webkit Yonke indawo.

  5.   snock kusho

    Ngiyathanda ukuba ne-conky. Konke kuyalawulwa, ... yize isikhathi sokuba nama-conkys kuma-molones sesivele sidlulile emlandweni: P. Manje senginokujwayelekile ngemininingwane ejwayelekile ye-pc.

  6.   clow_eriol kusho

    Ngiyabonga kakhulu ngencazelo 😀

  7.   umagazine kusho

    Siyabonga ngethiphu!

    Yize ngomsebenzi wezandla weConky GUI uyi-ergonomic impela.

    Ukubingelela!

  8.   Ikhukhi kusho

    Kuhle, kungisize kakhulu.