Enza ngendlela oyifisayo ideskithophu yakho noConky

Isithombe-skrini sikaConky

Esinye sezici ezikhangayo kakhulu ze-Ubuntu kanye nama-GNU/Linux distros amaningi amandla abo okwenziwa ngezifiso ukuze avumelane nomsebenzisi ngamunye. Kunezindlela ezingenakubalwa zokwenza ideskithophu yethu ngokwezifiso, kodwa kulokhu okuthunyelwe sizogxila kuwijethi ewusizo kakhulu kanye neyobuhle. Ngikhuluma ngani Conky, iwijethi ukuthi ikhombisa imininingwane ezifana, isibonelo, izinga lokushisa lamaphrosesa ethu, amandla esiginali ye-Wi-Fi, ukusetshenziswa kwe-RAM, nezinye izici eziningi.

Esizokwenza lapha namuhla ukubona ukuthi singayifaka kanjani i-Conky, ukuthi singayifaka kanjani yenze isebenze ngokuzenzakalelayo ekuqaleni kweseshini, futhi sizobona nokucushwa okumbalwa kwe-Conky yethu. siyaqala.

Njengoba sesishilo, ubuhle beConky buseqinisweni lokuthi ngayo singakwazi ukufinyelela lonke uhlobo lolwazi; kusuka kuma-imeyili noma ukusetshenziswa kwe-hard drive kuya kusivinini samaphrosesa kanye nezinga lokushisa lanoma iyiphi idivayisi eqenjini lethu. Kodwa okuhle kunakho konke, u-Conky usivumela ukuthi sibone lonke lolu lwazi kudeskithophu ngendlela yobuhle nebukekayo, ngokusebenzisa iwijethi esingakwazi ukuzenza ngokwezifiso.

Okokuqala, uma singayifakile, kufanele siyifake i-Conky. Singakwenza lokhu ngokusebenzisa umyalo olandelayo kutheminali:

sudo apt install conky-all

Uma sekufakiwe, singakwazi futhi ukufaka uhlelo lwe- "lm-sensors" oluzovumela uConky ukuthi thola izinga lokushisa yamadivayisi we-PC yethu. Ukuze senze lokhu, senza lo myalo ku-terminal:

sudo apt install lm-sensors

Uma sesiwafakile la maphakheji amabili okugcina, kufanele sikhiphe umyalo olandelayo ukuze i-“lm-sensor” ithole wonke amadivaysi ku-PC yethu:

sudo sensors-detect

Kuleli qophelo sesivele sine-Conky efakiwe. Manje singabhala umbhalo ukuze u-Conky asibhale zisebenze ngokuzenzakalela ekuqaleni kweseshini ngayinye. Ukuze senze lokhu, kufanele sakhe ifayili yombhalo kufolda / usr / bin ebizwa ngokuthi, isibonelo, ukuqala kokuhlanganisa. Ukuze senze kanjalo, senza lokhu:

sudo gedit /usr/bin/conky-start

Ifayela lombhalo lizovulwa lapho kufanele sengeze ikhodi edingekayo yokuthi uConky asebenze ekuqaleni kweseshini ngayinye:

#!/bin/bash
sleep 10 && conky;

Manje, sigcina ifayili bese silinika izimvume zokwenza lokhu nge:

sudo chmod a+x /usr/bin/conky-start

Manje, kufanele sibheke uhlelo lokusebenza "lokuqalisa Izicelo" ("Izintandokazi Zokuqalisa Izicelo" uma zingaveli ngeSpanishi) ukuze sengeze umbhalo esiwudale ngaphambilini. Uma sesiluvulile uhlelo lokusebenza, kuzovela iwindi elifana naleli:

Izithombe-skrini ezivela ngo-2015-11-08 16:50:54

Sichofoza ku- "Faka" bese kuvela iwindi elinjengaleli:

Izithombe-skrini ezivela ngo-2015-11-08 16:51:11

  • Lapho ithi khona Igama singabeka «Conky»
  • Lapho ithi khona I-oda, kufanele sichofoze kunkinobho ye- «Dlulisa amehlo» bese ubheka iskripthi esisenzile esibizwa ngokuthi yi-conky-start esisefolda / usr / bin. Ngenye indlela, singabhala ngqo / usr / bin / conky-start.
  • En amazwana, singangeza ukuphawula okuncane okuchazayo kohlelo lokusebenza okuzokwenziwa ekuqaleni.

Manje uConky uzosebenza ngokuzenzakalela njalo uma ungena ngemvume.

Uma iwijethi ye-Conky namanje ingaveli kudeskithophu, kufanele nje uqale kabusha isistimu noma uyiqalise ngokuqondile kutheminali, uthayipha igama lohlelo (conky). Uma iwijethi ibonakala kudeskithophu, kungenzeka ukuthi ngeke sikuthande ukubukeka esikuveza ngokuzenzakalelayo. Kulokhu sizokukhombisa ukuthi ungayihlela kanjani ifonti ka-Conky ukuze ibonakale oyithanda kakhulu.

Ifayela lomthombo likaConky litholakala njengefayela elifihliwe ngaphakathi kwesiqondisi somsebenzisi wethu. Leli fayela linegama ".conkykyrc". Ukubona amafayela nezikhombisi ezifihliwe ngaphakathi kwesiqondisi, singakwenza ngokusobala ngokucindezela u-Ctrl + H noma ngokusebenzisa umyalo:

ls -f

Uma ifayili ".conkyrc" lingaveli, kufanele sizenzele lona ngo:

touch .conkyrc

Uma sesiyitholile noma siyikholwa, siyayivula bese lapho sizoba nefonti eza ngokuzenzakalela ku-Conky yethu noma ifayili elingenalutho uma kungenzeka ukuthi sizenzele lona. Uma ungakuthandi lokho kulungiswa, ungakopisha ifonti engiyisebenzisayo lapha.

Futhi, njengoba ubona, kwi-intanethi singathola izinkulungwane zokulungiselelwa ngokusesha "Ukulungiswa kweConky" noma "Ukulungiswa kweConky" kuGoogle. Lapho sesitholile esithandayo, kuzodingeka ukuthi silande umthombo bese siwunamathisela kufayela le- ".conkyrc" esishilo ekuqaleni. Ngokunjalo, ku-Ubunlog sifuna ukukukhombisa uhlu lokulungiswa okuhle kakhulu kukaConky okutholwe kuDevianart:

1

UConky, uConky, uConky by SGIYA ngoMASKANDI MEDIA

2

IConky Config by SGIYA ngoMASKANDI MEDIA

3

UConky Lua ngu-despot77

4

Ukulungiselela kwami ​​kweConky by londonali1010

Ngaphezu kokulanda ukulungiselelwa okuvele kubhaliwe, singazakhela noma siguqule esivele sikhona, ngoba uConky uyiSoftware yamahhala. Singayibona ikhodi yomthombo kaConky ku- ikhasi lakho le-GitHub.

Sethemba ukuthi lokhu okuthunyelwe kukusizile ukuthi wenze ngezifiso ideskithophu yakho kancane. Manje ngeConky ideskithophu yethu izoba nokubukeka okuhle kakhulu futhi sizokwazi ukuba nemininingwane eseduze engaba wusizo ngesikhathi esithile.


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.

      USergio S kusho

    Ngiyizamile kanye futhi ngathanda indlela ebukeka ngayo, yanikeza okunye ukuthinta okuhlukile kudeskithophu. Inkinga ukuthi ngaso sonke isikhathi bekufanele ngihlale edeskini ukuze ngikwazi ukubheka noma yiziphi zalezo zinombolo. Futhi iqiniso ukuthi angikaze ngisebenzise ideskithophu isikhathi eside, nginezincwadi ezimbalwa zokusetshenziswa okuphuthumayo nefolda, kepha akukho okunye. Ukuze ngiqoqeke kahle nginesakhiwo samafayela ami kwezinye izindawo futhi angisekho kwideskithophu (ngayeka ukuyisebenzisa selokhu ngashiya iWindows Window)
    Ngakho-ke le nsizakalo yeConky yayingasebenziseki kakhulu kimi, ngazama ezinye izinketho futhi ngathatha isinqumo ku- "System load indicator", nginayo kubha ephezulu ku-Ubuntu bami futhi ngalokho uma ngibheka nje ngiyabona ukuthi konke kuhamba kanjani. Inokhetho oluncane kakhulu kunoConky, kepha engikusebenzisa ngempela ku- 😉

      Rodrigo kusho

    Sawubona Miguel, ngiyabonga kakhulu ngale ndatshana, ngoba iyona engisize kakhulu ukufaka uConky, ngesinyathelo esiningiliziwe ngesinyathelo. Ngafaka i-conky efana neyakho. Kepha umehluko ukuthi owami uvela ngesizinda esimnyama. Ngingakwenza kanjani ukuthi kube sobala njengokwakho?
    Ngiyabonga kakhulu

         UMiquel Perez kusho

      Sawubona uRodrigo,

      Uma njengoba usho ukuthi usebenzise uConky ofanayo nowami, kufanele ivele ngesizinda esisobala. Noma kunjalo, vula ifayela le- .conkyrc elisenkombeni yakho yasekhaya bese ubona ukuthi ilebula elilandelayo liyavela kulayini 10:
      own_window_transparent yes
      Ngale ndlela uConky kufanele akuthole ngemvelaphi ebonakalayo. Bheka ukuthi esikhundleni sika "yebo" unayo "cha", futhi uma kunjalo, yishintshe.
      Siyabonga ngokufunda nangezinto ezinhle kakhulu!

           Rodrigo kusho

        Sawubona Miguel,
        Njengenjwayelo ukubonga ngokuthatha isikhathi sokuphendula, hhayi wonke umuntu okwenzayo. Mayelana nalokho esikhulume ngakho ngenhla, emgqeni we-10 weskripthi kubonakala njengoba kufanele:
        eyakho_window_transparent yebo
        kepha namanje isabonakala nesizinda esimnyama. Noma kunjalo, ngiyinikeza njengesikhwama sebhasikidi.
        Ngakolunye uhlangothi, bengifuna ukukubuza ukuthi kufanele ngenze kanjani ukuthi isimo sezulu sivele kimi.

        Ngibonga kakhulu!

      Amakhowe-kun kusho

    Sawubona, ngithola iphutha elilandelayo lapho ngiqala ukuhlangana kusuka esigungwini
    «I-Conky: ibhulokhi yombhalo elahlekile ekucushweni; ephuma
    Isexwayiso Sonjiniyela se-Imlib2 *****:
    Lolu hlelo lubiza ucingo lwe-Imlib:

    imlib_context_free ();

    Ngepharamitha:

    umongo

    ukuba ngu-NULL. Sicela ulungise uhlelo lwakho. »

    Ngiyethemba ungangisiza!

         UMiquel Perez kusho

      Ulale kahle,

      Okokuqala, ngabe ulidalile kahle ifayela le-.conkyrc enkombeni yakho yasekhaya kahle?
      Uma kunjalo, iphutha lokuqala likukwazisa ukuthi alikwazi ukuthola umaki we-TEXT ngaphakathi kwefayela lomthombo we-.conkyrc. Bheka ukuthi ngaphambi kokufomatha idatha ezokhonjiswa esikrinini, unayo ilebula le-TEXT esethiwe. Uma ungakwazi ukuxazulula inkinga, kungcono ukopishe ukumiswa kwakho ku- Pastebin bese ungidlulisa isixhumanisi ukuze ngikwazi ukubuyekeza ikhodi.
      Siyabonga ngokufunda nangezinto ezinhle kakhulu.

      raul antonio longarez vidal kusho

    Sawubona, ngilinamathisela kanjani? Sengivele ngilivulile lelo fayela futhi ngalikopisha futhi ngaphenya njengoba linjalo noma ngisusa izikhala, ngiyaxolisa kodwa kusengokokuqala futhi iqiniso ukuthi ibhokisi elimnyama elimnyama alingishayi iXD

      UDaryl Ariza kusho

    Sawubona, nginenkinga nomphathi we-conky v2.4 ku-ubuntu 16.04 we-64bits futhi ukuthi ngifuna elinye lamawijethi elilethayo ukuthi lihlale kudeskithophu yami ingunaphakade, ngiqonde ukuthi ekuqaleni ngakunye iwijethi ikhona kodwa ngiyakwazi 'ukuthola umuntu onjengami kungasiza ?? okokuqala, Ngiyabonga

      U-Liher Sanchez Beldad kusho

    Sawubona Miguel, nginguLiher, umbhali weConky oyikhombisa lapha, ngiyajabula ukuthi uyithandile. Sawubona uzakwethu

      daniel kusho

    sawubona kuhle, ngukuthi uma uvula ifayela lombhalo bese ufaka (#! / bin / bash
    sleep 10 && conky;) inginikeza le nkinga ** (gedit: 21268): ISEXWAYISO **: Setha imethadatha yedokhumenti yehlulekile: Setha imethadatha :: uphawu lwe-gedit-spell-enabled alusekelwa
    Yini engingayenza?

      i-asd kusho

    Akungisizanga, akuqalanga nokuqala

      I-Mixterix AL (Mixterix) kusho

    Akungisebenzelanga, bekubonakala sengathi ubuntu bami bune-win32 lag lol bekufanele ngiyisuse

      abanikazi benethiwekhi kusho

    Sawubona!
    Ngibonile iwijethi ifana neyakho, kepha inkinga kuphela eyivezayo ukuthi ayiqapheli inethiwekhi. Yini engingayenza? Njengoba ngixhunywe kunethiwekhi. Futhi omunye umbuzo: Uma kwenzeka ungasayifuni, ngiyikhipha kanjani?

    Siyabonga ngesikhathi sakho.

      UGabriel m kusho

    Ngabe kukhona owaziyo igama le-conky esithombeni sokuqala seposi ???

      Unjiniyela kusho

    Okuthunyelwe okumangazayo, kungokokuqala ngqa ukuthi ngifunde okuthile engikuqonda kahle nge-100% mayelana nokuthakazelisa, okuthunyelwe ngalesi sihloko esithokozisayo kuhlala kudida kakhulu, ngakho-ke, ngiyabonga. Kodwa-ke, nginenkinga ngokulungiswa kwakho engikuthola kukuhle kakhulu. Imininingwane ukuthi ukuqina kwesiginali ye-wifi akuveli, ungangisiza ngalokhu ngicela. Ngiyabonga kusengaphambili ngesikhathi sakho nokuxhaswa kwakho. Sanibonani!

      Yo kusho

    Ukucushwa kwakho kwe-pastebin kwehluleka:

    conky: Iphutha le-syntax (/home/whk/.conkyrc:: '=' kulindeleke eduze 'cha') ngenkathi kufundwa ifayela lokumisa.
    conky: Sicabanga ukuthi kuku-syntax yakudala nokuzama ukuguqulwa.
    conky: [string «…»]: 139: umzamo wokukhomba izilungiselelo 'zasendaweni' (inani le-nil

      Ngilwa kusho

    Maqabane amahle, yize le kuyintambo endala, lokhu kumiswa kwe-conky kuhle kakhulu, kulezi zinsuku i-conky isebenzisa enye i-syntax yesimanje, ngikushiyela uhlobo olufanayo lwe-Miquel's conkyrc, ebuyekezelwe i-lua syntax yamanje:

    conky.config = {

    ingemuva = amanga,
    ifonti = 'Snap.se:size=8',
    use_xft = iqiniso,
    xftalpha = 0.1,
    buyekeza_interval = 3.0,
    izikhathi_zonke = 0,
    eyakho_window = iyiqiniso,
    eye_window_class = 'Conky',
    own_window_hints = 'akuhlotshisiwe, ngezansi, okunamathelayo, skip_taskbar, skip_pager',
    eyakho_window_argb_visual = kuyiqiniso,
    eyakho_window_argb_value = 150,
    eyakho_window_transparent = amanga,
    eyakhe_window_type = 'dock',
    double_buffer = kuyiqiniso,
    draw_shades = amanga,
    draw_outline = amanga,
    draw_borders = amanga,
    draw_graph_borders = amanga,
    ubuncane_height = 200,
    ubuncane_bubanzi = 6,
    ubukhulu_bubanzi = 300,
    okuzenzakalelayo_color = 'ffffff',
    okuzenzakalelayo_shade_color = '000000',
    okuzenzakalelayo_outline_color = '000000',
    ukuqondanisa = 'top_right',
    igebe_x = 10,
    igebe_y = 46,
    no_buffers = kuyiqiniso,
    cpu_avg_samples = 2,
    khipha_utf8_locale = amanga,
    usonhlamvukazi = amanga,
    use_spacer = akekho,

    };

    conky.text = [[[

    #Lapha kuqala ukucushwa kwedatha ekhonjisiwe
    #Igama lokuqala igama lesistimu yokusebenza kanye nohlobo lwekernel
    $ {font Ubuntu: style = bold: size = 12} $ sysname $ alignr $ kernel

    #Lokhu kusikhombisa amaprosesa amabili kanye nebha ngayinye yazo ngokusetshenziswa kwayo
    $ {font Ubuntu: style = bold: size = 14} Amaprosesa $ hr
    $ {font Ubuntu: style = bold: size = 10} CPU1: $ {cpu cpu1}% $ {cpubar cpu1}
    I-CPU2: $ {cpu cpu2}% $ {cpubar cpu2}
    #Lokhu kusikhombisa izinga lokushisa lama-processor
    Ithempelesha: $ alignr $ {acpitemp} C

    #Lokhu kusikhombisa ukwahlukaniswa kwekhaya, i-RAM kanye ne-sawp enebha ngayinye nedatha yayo
    $ {font Ubuntu: style = bold: size = 14} Imemori nama diski $ hr
    $ {font Ubuntu: style = bold: size = 10} IKHAYA $ alignr $ {fs_used / home} / $ {fs_size / home}
    $ {fs_bar / ikhaya}
    $ {font Ubuntu: style = bold: size = 10} RAM $ alignr $ mem / $ memmax
    $ {ulwelwesi}
    $ {font Ubuntu: style = bold: size = 10} SWAP $ alignr $ swap / $ swapmax
    $ swapbar

    #Lokhu kusikhombisa isimo sebhethri ngensimbi
    $ {font Ubuntu: style = bold: size = 14} Ibhethri $ hr
    $ {font Ubuntu: style = bold: size = 10} $ {battery BAT0} $ alignr
    $ {battery_bar BAT0}

    #Lokhu kusikhombisa ukuxhumana nebha namandla ayo
    $ {font Ubuntu: style = bold: size = 14} Amanethiwekhi $ hr
    $ {font Ubuntu: style = bold: size = 10} WIFI intension $ alignr $ {wireless_link_qual wlp3s0}%
    #Lokhu kusikhombisa isivinini sokulanda nokulayisha kwe-inthanethi ngemidwebo
    $ {font Ubuntu: style = bold: size = 10} Landa $ alignr $ {downspeed wlp3s0} / s
    $ {downspeedgraph wlp3s0 30,210 01df01 10fd10}

    $ {font Ubuntu: style = bold: size = 10} Layisha $ alignr $ {upspeed wlp3s0} / s
    $ {upspeedgraph wlp3s0 30,210 0000ff ff0000}

    #Lokhu kukhombisa ukusetshenziswa kwe-CPU kwezinhlelo zokusebenza ezisebenzisa kakhulu
    $ {font Ubuntu: style = bold: size = 14} Izinhlelo zokusebenza ze-CPU $ hr
    $ {font Ubuntu: style = bold: size = 10} $ {top name 1} $ alignr $ {top cpu 1}%
    $ {igama eliphezulu 2} $ alignr $ {top cpu 2}%
    $ {igama eliphezulu 3} $ alignr $ {top cpu 3}%

    #Lokhu kusikhombisa iphesenti le-RAM elisetshenziswe izinhlelo zalo zokusebenza
    $ {font Ubuntu: style = bold: size = 14} Sebenzisa izinhlelo ze-RAM $ hr
    $ {font Ubuntu: style = bold: size = 10} $ {top_mem name 1} $ alignr $ {top_mem mem 1}%
    $ {top_mem name 2} $ alignr $ {top_mem mem 2}%
    $ {top_mem name 3} $ alignr $ {top_mem mem 3}%

    ]]

    Qaphela ukuthi kulwazi lokulayisha nokulanda inethiwekhi, shintsha u- "wlan0" ufake u- "wlp3s0"
    Ukwazi igama lenethiwekhi, sebenzisa umyalo we-ifconfig