Sinthani makonda anu desktop ndi Conky

Chithunzi chojambula cha Conky

Chimodzi mwazinthu zokongola kwambiri za Ubuntu komanso ma GNU / Linux ambiri, ndi ake kutha kusinthidwa kukoma kwa wosuta aliyense. Pali njira zambiri zomwe mungasinthire desktop yathu, koma patsamba ili tikambirana za widget yothandiza komanso yokongoletsa.

Ndikulankhula za Conky, widget yomwe akuwonetsa zambiri monga kutentha kwa mapurosesa athu, Mphamvu yamphamvu ya Wi-Fi, Kugwiritsa ntchito RAM, ndi zina zambiri. M'nkhaniyi tiwona momwe tingakhalire Conky, momwe tingachitire kuti ziziyenda zokha kumayambiriro kwa gawoli, ndipo tiwonanso zosintha zingapo za Conky wathu. Timayamba.

Monga tanenera, kukongola kwa Conky kumakhala chifukwa kudzera mwa iye mutha kufikira zamtundu uliwonse. Kuchokera pa maimelo kapena kugwiritsa ntchito hard drive yanu, kuthamanga kwa ma processor kapena kutentha kwa zida zilizonse pa PC yanu. Choposa zonse ndikuti Conky amakulolani kuti muwone izi zonse pakompyuta yanu m'njira yokongoletsa komanso yosangalatsa, kudzera widget yomwe mungathe kusintha.

Choyamba, ndizosavuta kuti tiyeni tiike Conky. Titha kuchita izi potsatira lamulo ili mu terminal:

sudo apt-get kukhazikitsa conky-all

Tikayika, titha kukhazikitsa pulogalamu ya "lm-sensors" yomwe ingalole Conky kutero Pezani kutentha Zida za PC yathu. Kuti tichite izi, timapereka lamuloli mu terminal:

sudo apt-get kukhazikitsa lm-sensors

Tikakhazikitsa ma phukusi awiri omalizawa, tiyenera kutsatira lamulo ili kuti "lm-sensors" ipeze zida zonse pa PC yathu ndi:

sudo sensors-zindikirani

Pakadali pano tili ndi Conky yoyika kale. Tsopano titha kulemba zolemba za Conky kuti yendetsani zokha kumayambiriro kwa gawo lililonse. Kuti tichite izi, tiyenera kupanga fayilo yolembedwa mu / usr / bin chikwatu chomwe chimatchedwa, mwachitsanzo, conky-start. Kuti tichite izi, timachita:

sudo gedit / usr / bin / conky-start

Fayilo yolemba idzatsegulidwa momwe tiyenera kuwonjezera nambala yofunikira kuti Conky azigwiritsa ntchito koyambirira kwa gawo lililonse:

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

Tsopano, timasunga fayilo ndikupereka zilolezo zakupha ndi:

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

Tsopano, tiyenera kuyang'ana ntchito "Startup Applications", kuti tiwonjezere script yomwe tidapanga kale. Tikatsegula pulogalamuyi, zenera ngati lotsatira liziwoneka:

Chithunzi chojambula kuchokera ku 2015-11-08 16:50:54

Timadina "Onjezani" ndipo zenera ngati ili liziwoneka:

Chithunzi chojambula kuchokera ku 2015-11-08 16:51:11

  • Komwe akuti dzina titha kuyika «Conky»
  • Komwe akuti Dongosolo, tiyenera kudina batani la "Sakatulani" ndikuyang'ana script yomwe tidapanga yotchedwa conky-start yomwe ili mkati mwa / usr / bin foda. Monga njira ina, titha kulemba mwachindunji / usr / bin / conky-start.
  • En ndemanga, titha kuwonjezera ndemanga zazing'ono zofotokozera zomwe zidzagwiritsidwe ntchito koyambirira.

Tsopano Conky azidzangoyendetsa zokha mukangolowa.

Ngati simukutha kuwona widget ya Conky pa desktop yanu, muyenera kungoyambiranso dongosololi kapena kuyendetsa kuchokera pa terminal polemba dzina la pulogalamuyo (conky). Mukawona widget ikuwoneka ngati pa desktop yanu, mwina simungakonde momwe imawonekera mwachisawawa. Pachifukwa ichi, tikuwonetsani momwe mungasinthire font ya Conky kuti iwoneke momwe mumakonda kwambiri.

Fayilo yoyambira ya Conky imapezeka ngati fayilo yobisika mkati mwazosungira zathu. Fayiloyi ili ndi dzina ".conkyrc". Kuti tiwone mafayilo obisika ndi zikwatu zomwe zili mkatikati, titha kuzichita momveka mwa kukanikiza Ctrl + H kapena polemba lamulo:

ls -f

Ngati fayilo ".conkyrc" silikuwoneka, tikuyenera kudzipanga tokha ndi:

kukhudza .conkyrc

Tikachipeza kapena kuchikhulupirira, timatsegula ndipo pamenepo tidzakhala ndi font yomwe imabwera mwachisawawa mu Conky yathu kapena fayilo yopanda kanthu ngati tidadzipanga tokha. Ngati simukukonda kusinthaku, mutha kutengera zolemba zomwe ndimagwiritsa ntchito Apa.

Ndipo, monga mukuwonera, pa intaneti titha kupeza masanjidwe masauzande pongofufuza "Conky Configurations" kapena "Conky masanjidwe" mu Google. Tikapeza yomwe timakonda, tidzangotsitsa gwero ndikuliyika mu fayilo ya ".conkyrc" yomwe tidatchulayi kale. Momwemonso, ku Ubunlog tikufuna kukuwonetsani mndandanda wazinthu zabwino kwambiri za Conky zopezedwa kuchokera ku Devianart:

1

Conky, Conky, Conky ndi YesThisIsMe.

 

2

Kusintha kwa Conky by Nyimbo Zachimalawi

3

Conky Lua ndi despot77

 

4

Kusintha Kwanga kwa Conky by Nyimbo Zachimalawi

Kuphatikiza pakutsitsa masanjidwe omwe adalembedwa kale, titha kupanga zathu kapena kusintha zomwe zilipo, popeza Conky ndi Free Software. Titha kuwona kachidindo ka Conky pa tsamba lanu la GitHub.

Tikukhulupirira kuti positi iyi yakuthandizani kuti musinthe makonda anu pang'ono. Tsopano ndi Conky desktop yathu izikhala ndi mawonekedwe osangalatsa kupatula kuti tidzatha kukhala ndi chidziwitso chomwe nthawi ina chitha kukhala chothandiza kwambiri.


Zomwe zili m'nkhaniyi zikutsatira mfundo zathu za malamulo okonzekera. Kuti mufotokoze cholakwika dinani Apa.

Ndemanga za 17, siyani anu

Siyani ndemanga yanu

Anu email sati lofalitsidwa.

*

*

  1. Wotsogolera pazosankhazi: Miguel Ángel Gatón
  2. Cholinga cha deta: Control SPAM, kasamalidwe ka ndemanga.
  3. Kukhazikitsa: Kuvomereza kwanu
  4. Kulumikizana kwa zomwe zafotokozedwazo: Zomwezo siziziwululidwa kwa anthu ena kupatula pakukakamizidwa mwalamulo.
  5. Zosunga: Zosungidwa ndi Occentus Networks (EU)
  6. Ufulu: Nthawi iliyonse mutha kuchepetsa, kuchira ndikuchotsa zidziwitso zanu.

  1.   Sergio S anati

    Ndidayiyesa kamodzi ndipo ndimakonda momwe imawonekera, idathandiziranso pakompyuta. Vuto ndiloti nthawi zonse amayenera kupita pa desiki kuti athe kuwona nambala iliyonse. Ndipo chowonadi ndichakuti sindinagwiritsepo ntchito desktop kwanthawi yayitali, ndili ndi zikalata zingapo zogwiritsa ntchito mwachangu ndi chikwatu, koma palibe china. Kuti ndikhale waukhondo ndimakhala ndimafayilo anga m'malo ena ndipo sindilinso pa desktop (ndinasiya kuyigwiritsa ntchito kuyambira pomwe ndinasiya Window $).
    Chifukwa chake ntchitoyi ya Conky sinali yothandiza kwa ine, ndinayesa njira zina ndikuganiza za "System load indicator", ndili nayo pamwamba pa Ubuntu wanga ndipo ndikangoyang'ana pang'ono ndikutha kuwona momwe zonse zikuyendera. Ili ndi zosankha zochepa kuposa Conky, koma zomwe ndimagwiritsa ntchito 😉

  2.   Rodrigo anati

    Wawa Miguel, zikomo kwambiri chifukwa cha nkhaniyi, chifukwa ndi yomwe idandithandiza kwambiri kukhazikitsa Conky, chifukwa chatsatanetsatane. Ndayika conky yomweyo monga inu. Koma kusiyana ndikuti yanga imawoneka yakuda. Kodi ndingatani kuti ndizioneka ngati zanu?
    Zikomo kwambiri.

    1.    Michael Perez anati

      Mmawa wabwino Rodrigo,

      Ngati momwe mukunenera kuti mwagwiritsa ntchito Conky yemweyo monga ine, zikuyenera kuwonekera poyambira. Komabe, tsegulani fayilo ya .conkyrc yomwe ili mnyumba yanu ndikuwone ngati zilembo zotsatirazi zikupezeka pamzere wa 10:
      own_window_transparent yes
      Mwanjira imeneyi Conky akuyenera kukupatsani mbiri yoonekera. Onani mosamala ngati m'malo mwa "inde" muli "ayi", ndipo ngati ndi choncho, sinthani.
      Zikomo powerenga komanso zabwino zonse!

      1.    Rodrigo anati

        Mwadzuka bwanji Miguel,
        Monga nthawi zonse zikomo chifukwa chokhala ndi nthawi yoyankha, sikuti aliyense amatero. Ponena za zomwe tidakambirana pamwambapa, mu mzere wa 10 wa script zikuwoneka momwe ziyenera kukhalira:
        zawo_window_transparent inde
        komabe zikuwonekerabe ndi maziko akuda. Komabe, ndimapereka ngati chikwama chadengu.
        Mbali inayi, ndimafuna ndikufunseni momwe ndiyenera kupanga nyengo kuti izindionekera.

        Zikomo kwambiri!

  3.   Bowa-kun anati

    Hei, ndimapeza cholakwika chotsatira ndikayamba conky kuchokera ku terminal
    «Conky: kusowa kwamalemba pamasinthidwe; kutuluka
    ***** Chenjezo la Wolemba Mapulogalamu wa Imlib2 *****:
    Pulogalamuyi ikuyimba foni ya Imlib:

    imlib_context_free ();

    Ndi chizindikiro:

    nkhani

    kukhala WOSANGALALA. Chonde konzani pulogalamu yanu. »

    Ndikukhulupirira mutha kundithandiza!

    1.    Michael Perez anati

      Usiku wabwino,

      Choyamba, kodi mwapanga fayilo ya .conkyrc munyumba yanu yoyendetsera nyumba molondola?
      Ngati ndi choncho, vuto loyamba ndikukudziwitsani kuti silingapeze chizindikiro cha TEXT mkati mwa fayilo yoyambira .conkyrc. Onetsetsani ngati musanapangire zomwe ziziwonetsedwa pazenera, muli ndi lemba la TEXT. Ngati simungathe kuthana ndi vutoli, ndibwino kutengera kasinthidwe kanu mu Pastebin ndipo ndipatseni ulalowu kuti ndiwunikenso nambala yanga.
      Zikomo powerenga komanso zabwino zonse.

  4.   raul antonio longarez vidal anati

    Moni, ndidayiyika bwanji? Ndatsegula kale fayilo ndikulikopera ndikupenya momwe lilili kapena ndichotsa mipata, pepani koma ikadali nthawi yanga yoyamba ndipo chowonadi ndichakuti bokosi lakuda loyipa silimenya XD

  5.   Daryl Ariza anati

    Moni, ndili ndi vuto ndi conky manager v2.4 mu ubuntu 16.04 ya 64bits ndikuti ndikufuna imodzi mwazomwe zimabweretsa kuti zizikhala pa desktop yanga kwamuyaya, ndikutanthauza kuti nthawi iliyonse poyambira widget ilipo koma ndimatha '' kupeza wina wonga ine kungathandize ?? choyambirira, Zikomo

  6.   Liher Sanchez Beldad anati

    Wawa Miguel, ndine Liher, wolemba Conky yemwe mumamuwonetsa pano, ndine wokondwa kuti mumakonda. Moni wothandizana naye

  7.   alireza anati

    moni chabwino, ndikuti mukatsegula fayiloyo ndikuyika (#! / bin / bash
    kugona 10 && conky;) kumandipatsa vuto ili ** (gedit: 21268): CHENJEZO **: Khazikitsani metadata ya chikalata yalephera: Khazikitsani metadata :: chikhumbo chothandizidwa ndi gedit sichithandizidwa
    Zomwe ndingachite?

  8.   asd anati

    Sanandithandizire, ngakhale kuyamba

  9.   Mixterix AL (Malangizo) anati

    Sanandigwire, zimawoneka kuti ubuntu wanga uli ndi win32 lag lol ndimayenera kuchotsa

  10.   wothandizira anati

    Moni.
    Ndinawona widget ngati yanu, koma vuto lokhalo lomwe limabweretsa ndikuti silimayang'anira netiweki. Zomwe ndingachite? Popeza ndalumikizidwa ndi netiweki. Ndi funso lina: Ngati simufunanso, ndimachotsa bwanji?

    Zikomo chifukwa cha nthawi yanu.

  11.   Gabriel M. anati

    Kodi pali amene amadziwa dzina la conky m'chifaniziro choyambirira cha positiyi ???

  12.   Woyambitsa anati

    Cholemba chodabwitsa, ndi nthawi yoyamba kuti ndiwerenge china chake chomwe ndimamvetsetsa 100% chokhudza conky, zolemba pamutu wosangalatsawu ndizosokoneza nthawi zonse, chifukwa chake, zikomo. Komabe, ndili ndi vuto pakusintha kwanu komwe ndimawona kuti ndi kokongola kwambiri. Tsatanetsatane ndikuti kukula kwa chizindikiro cha wifi sikuwoneka, mungandithandizire izi chonde. Zikomo pasadakhale chifukwa cha nthawi yanu ndi chithandizo chanu.

  13.   Yo anati

    Kusintha kwanu kwa pastebin kwalephera:

    conky: Zolakwitsa za Syntax (/home/whk/.conkyrc:: '=' ikuyembekezeredwa pafupi 'ayi') mukawerenga fayilo ya config.
    conky: Kungoganiza kuti ili m'ma syntax akale ndikuyesera kutembenuka.
    conky: [chingwe «…»]: 139: kuyesa kufotokozera 'zoikamo' zakomweko (phindu la nil

  14.   Ndikumenyana anati

    Anzanu abwino, ngakhale uwu ndi ulusi wakale, kusanja kwachinyengo kumeneku ndi kwabwino kwambiri, masiku ano conky ikugwiritsanso ntchito mawu ena amakono, ndikukusiyirani mtundu womwewo wa Miquel's conkyrc, wosinthidwa ndi syntax yapano ya lua:

    conky.config = {

    maziko = zabodza,
    chithunzi = 'Snap.se:size=8',
    use_xft = zoona,
    xftalpha = 0.1,
    zosintha_interval = 3.0,
    Total_run_times = 0,
    own_window = zowona,
    own_window_class = 'Conky',
    own_window_hints = 'osadulidwa, pansipa, pothimbirira, skip_taskbar, skip_pager',
    own_window_argb_visual = zowona,
    zawo_window_argb_value = 150,
    own_window_transparent = zabodza,
    own_window_type = 'dock',
    double_buffer = zowona,
    zojambula_shades = zabodza,
    draw_outline = zabodza,
    zojambula_border = zabodza,
    draw_graph_borders = zabodza,
    osachepera_kukwera = 200,
    osachepera_width = 6,
    kutalika_width = 300,
    zosintha_color = 'ffffff',
    default_shade_color = '000000',
    default_outline_color = '000000',
    kulumikizana = 'top_right',
    nkhokwe = 10,
    nkhokwe = 46,
    no_buffers = zowona,
    cpu_avg_samples = 2,
    kunyalanyaza_utf8_locale = zabodza,
    zazikulu = zabodza,
    use_spacer = palibe,

    };

    zokopa.text = [[

    #Apa akuyamba kukonzekera kwa zomwe zawonetsedwa
    # Choyamba ndilo dzina la machitidwe ndi mtundu wa kernel
    $ {font Ubuntu: kalembedwe = molimba mtima: kukula = 12} $ sysname $ alignr $ kernel

    #Izi zikutiwonetsa mapurosesa awiri ndi bala la aliyense wa iwo ndi momwe amagwiritsira ntchito
    $ {font Ubuntu: style = bold: size = 14} Okonza $ hr
    $ {font Ubuntu: style = molimba mtima: size = 10} CPU1: $ {cpu cpu1}% $ {cpubar cpu1}
    CPU2: $ {cpu cpu2}% $ {cpubar cpu2}
    #Izi zikutiwonetsa kutentha kwa ma processor
    Kutentha: $ alignr $ {acpitemp} C

    #Izi zikutiwonetsa gawo lanyumba, RAM ndi macheka okhala ndi bar aliyense ndi chidziwitso chake
    $ {font Ubuntu: style = bold: size = 14} Memory ndi disks $ hr
    $ {font Ubuntu: style = bold: size = 10} HOME $ alignr $ {fs_used / home} / $ {fs_size / nyumba}
    $ {fs_bar / kunyumba}
    $ {font Ubuntu: kalembedwe = molimba mtima: kukula = 10} RAM $ alignr $ mem / $ memmax
    $ {mbali)
    $ {font Ubuntu: style = bold: size = 10} SINTHA $ alignr $ sinthana / $ swapmax
    $ chosinthanitsa

    #Izi zikutiwonetsa momwe batire ilili ndi bala
    $ {font Ubuntu: style = bold: size = 14} Battery $ hr
    $ {font Ubuntu: style = molimba mtima: size = 10} $ {battery BAT0} $ alignr
    $ {batire_bar BAT0}

    #Izi zikutiwonetsa kulumikizana ndi bala ndi mphamvu yake
    $ {font Ubuntu: style = bold: size = 14} Ma network $ hr
    $ {font Ubuntu: style = bold: size = 10} WIFI mwamphamvu $ alignr $ {wireless_link_qual wlp3s0}%
    #Izi zikutiwonetsa kutsitsa ndi kutsitsa kwachangu pa intaneti ndi zithunzi
    $ {font Ubuntu: style = bold: size = 10} Tsitsani $ alignr $ {kutsika wlp3s0} / s
    Zosintha $ {downspeedgraph wlp3s0 30,210 01df01 10fd10}

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

    #Izi zikuwonetsa kugwiritsa ntchito kwa CPU kwamapulogalamu omwe amawagwiritsa ntchito kwambiri
    $ {font Ubuntu: style = bold: size = 14} Ntchito zogwiritsa ntchito CPU $ hr
    $ {font Ubuntu: style = bold: size = 10} $ {top name 1} $ alignr $ {top cpu 1}%
    $ {dzina lapamwamba 2} $ alignr $ {top cpu 2}%
    $ {dzina lapamwamba 3} $ alignr $ {top cpu 3}%

    #Izi zikutiwonetsa kuchuluka kwa RAM yomwe imagwiritsidwa ntchito ndi ntchito zake
    $ {font Ubuntu: style = bold: size = 14} Gwiritsani ntchito 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}%

    ]]

    Dziwani kuti mu netiweki ikani ndikutsitsa zidziwitso, sinthani "wlan0" ndi "wlp3s0"
    Kuti mudziwe dzina la netiweki, gwiritsani ntchito lamulo la ifconfig

bool (zoona)