Yenza ngokwezifiso i-desktop yakho kunye noConky

Umzobo weConky

Enye yezona zinto zinomtsalane ku-Ubuntu kwaye uninzi lwe-GNU/Linux distros kukukwazi kwabo ukwenziwa ngokwezifiso ukuze zihambelane nomsebenzisi ngamnye. Kukho iindlela ezininzi zokwenza idesktop yethu, kodwa kule posi siza kugxila kuluncedo kakhulu kunye newijethi yobuhle. Ndithetha ngayo Conky, iwijethi leyo bonisa ulwazi ezifana, umzekelo, ubushushu beprosesa zethu, amandla omqondiso we-Wi-Fi, ukusetyenziswa kwe-RAM, kunye nezinye iimpawu ezininzi.

Into esizakuyenza apha namhlanje kukubona ukuba singayifaka njani iConky, singenza njani yenze isebenze ngokuzenzekelayo ekuqaleni kweseshoni, kwaye siza kubona kwakhona ulungelelwaniso olumbalwa lweConky yethu. siyaqala.

Njengoko sele sitshilo, ubuhle beConky buxhomekeke kwinto yokuba ngayo sinokufikelela lonke ulwazi; ukusuka kwii-imeyile okanye ukusetyenziswa kwe-hard drive ukuya kwisantya seprosesa kunye nobushushu baso nasiphi na isixhobo kwiqela lethu. Kodwa okona kulungileyo kuko konke, uConky usivumela ukuba sibone lonke olu lwazi kwi-desktop ngendlela ebukekayo kwaye ekholisayo, ngokusebenzisa widget esinokuthi siyenze ngokwethu.

Ukuqala, ukuba asinayo, kufuneka siyifake iConky. Singakwenza oku ngokuqhuba lo myalelo ulandelayo kwi-terminal:

sudo apt install conky-all

Nje ukuba ifakiwe, sinokufaka kwakhona i-lm-sensors »inkqubo eya kuthi ivumele uConky ukuba fumana ubushushu izixhobo zePC yethu. Ukwenza oku, siphumeza lo myalelo kwisiphelo sendlela:

sudo apt install lm-sensors

Nje ukuba sifake ezi phakheji zimbini zokugqibela, kufuneka senze lo myalelo ulandelayo ukuze "i-lm-sensor" ibone zonke izixhobo kwiPC yethu:

sudo sensors-detect

Okwangoku sele sineConky efakiweyo. Ngoku sinokubhala iskripthi seConky zibaleke ngokuzenzekelayo ekuqaleni kweseshoni nganye. Ukwenza oku, kuya kufuneka senze ifayile yokubhaliweyo kwifolda / usr / bin ebizwa ngokuba ngumzekelo, ukuqala konxibelelwano. Ukwenza njalo, senza:

sudo gedit /usr/bin/conky-start

Ifayile yokubhaliweyo iya kuvulwa apho kufuneka songeze ikhowudi eyimfuneko ukuze uConky asebenze ekuqaleni kweseshoni nganye:

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

Ngoku, siyigcina ifayile kwaye siyinika imvume yokuphumeza nge:

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

Ngoku, kufuneka sijonge usetyenziso lwe-"Startup Applications" ("Qalisa ii-Applications Preferences" ukuba ayiveli ngeSpanish) ukongeza iskripthi esisenzileyo ngaphambili. Nje ukuba sivule usetyenziso, ifestile efana nale ilandelayo iya kuvela:

Isikrini esivela kwi-2015-11-08 16:50:54

Cofa ku "Yongeza" kwaye iwindow enje iya kuvela:

Isikrini esivela kwi-2015-11-08 16:51:11

  • Apho ithi igama singabeka «Conky»
  • Apho ithi Myalelo, Kuya kufuneka ucofe kwiqhosha elithi "Khangela" kwaye ujonge iskripthi esisenzileyo esibizwa ngokuba sisiqalo esisezantsi kwifolda / usr / bin. Ngenye indlela, singabhala ngqo / usr / bin / conky-start.
  • En izimvo, singongeza amagqabantshintshi ngesicelo esiya kwenziwa ekuqaleni.

Ngoku uConky uza kusebenza ngokuzenzekelayo ngalo lonke ixesha ungena.

Ukuba iwijethi yeConky ayikaveli kwidesktop, kufuneka uqale kabusha inkqubo okanye uyiqhube ngokuthe ngqo kwi-terminal, uchwetheza igama lenkqubo (conky). Nje ukuba iwijethi ivele kwidesktop, kusenokwenzeka ukuba asiyi kuyithanda inkangeleko eyibonisayo ngokungagqibekanga. Koku siza kukubonisa ukuba ungayihlela njani ifonti kaConky ukuyinika inkangeleko oyithanda kakhulu.

Ifayile yomthombo kaConky ifumaneka njengefayile efihliweyo ngaphakathi kwesikhombisi somsebenzisi. Le fayile inegama ".conkyrrc". Ukubona iifayile ezifihliweyo kunye nemikhombandlela ngaphakathi kwesikhombisi, sinokuyenza ngokucinezela iCtrl + H okanye ngokwenza lo myalelo:

ls -f

Ukuba ifayile ".conkyrc" ayiveli, kufuneka sizenzele yona:

touch .conkyrc

Nje ukuba siyifumane okanye siyikholelwe, siyayivula kwaye apho siya kuba nefonti eza ngokungagqibekanga kwiConky yethu okanye kwifayile engenanto ukuba sizenzele ngokwethu. Ukuba awukuthandi oko, unokukopa ifonti endiyisebenzisayo apha.

Kwaye, njengoko ubona, kwi-intanethi singafumana amawaka oqwalaselo ngokukhangela "ulungiselelo lweConky" okanye "ulungelelwaniso lweConky" kuGoogle. Nje ukuba simfumane lowo simthandayo, kuya kufuneka sikhuphele imithombo kwaye siyincamathisele kwifayile ".conkyrc" esele siyikhankanyile ngaphambili. Kwangokunjalo, kwi-Ubunlog sifuna ukukubonisa uluhlu lolungiselelo olulungileyo lweConky olufunyenwe kuDevianart:

1

Ukudideka, uConky, uConky nguEweLeNdim.

2

Uqwalaselo lweConky ngu-didi79

3

UConky Lua ngu-despot77

4

Uqwalaselo lwam lweConky nguLondonali1010

Ukongeza ekukhupheleni useto esele lubhaliwe, sinokwenza ezethu okanye siziguqule esele zikho, kuba uConky uyiSoftware yasimahla. Singayibona ikhowudi yomthombo kaConky apha iphepha lakho leGitHub.

Ndiyathemba ukuba esi sithuba sikuncede ukuba wenze ngokwezifiso i-desktop yakho ngakumbi. Ngoku ngeConky idesktop yethu iya kuba nembonakalo entle ngakumbi ngaphandle kokuba siya kuba nakho ukufumana ulwazi ngomzuzu othile onokuba luncedo kuthi.


Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa. ezidingekayo ziphawulwe *

*

*

  1. Uxanduva lwedatha: UMiguel Ángel Gatón
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.

      USergio S. sitsho

    Ndizamile kwakanye kwaye ndiyithandile indlela ebijongeka ngayo, yanika enye into eyahlukileyo kwidesktop. Ingxaki kukuba wayehlala esiya edesikeni ukuze akwazi ukukhangela naliphi na kula manani. Inyani yile yokuba andikhange ndisebenzise i-desktop ixesha elide, ndinamaxwebhu ambalwa okusetyenziswa okungxamisekileyo kunye nefolda, kodwa ayikho enye into. Ukucoceka ndinesakhiwo seefayile zam kwezinye iindawo kwaye andisekho kwidesktop (ndiyekile ukuyisebenzisa ukushiya iWindows Window $).
    Ke le nkonzo yeConky ibingasebenzi kum, ndizamile ezinye iindlela ndaye ndagqiba kwelokuba "Isalathiso somthwalo wenkqubo", ndinayo kwibar ephezulu kuBuntu bam kwaye ngokujonga nje ndiyabona ukuba yonke into ihamba njani. Inokhetho oluncinci kakhulu kuneConky, kodwa eyona nto ndiyisebenzisela 😉

      Rodrigo sitsho

    Molo Miguel, enkosi kakhulu ngeli nqaku, kuba yayiyeyona indincedileyo ukufaka uConky, ngenqanaba elineenkcukacha ngenyathelo. Ndafaka iconky efanayo nawe. Kodwa umahluko kukuba owam ubonakala ngemvelaphi emnyama. Ndenze njani ukuba ibonakale ngokungathi yeyakho?
    Ndiyabonga kakhulu

         UMiquel Perez sitsho

      Molo Rodrigo,

      Ukuba njengoko usitsho usebenzise uConky ofanayo nam, kuya kufuneka ivele ngemvelaphi ebonakalayo. Ngapha koko, vula ifayile ye-.
      own_window_transparent yes
      Ngale ndlela uConky unokukufumana ngemvelaphi ebonakalayo. Jonga ukuba endaweni ka "ewe" unayo "hayi", kwaye ukuba kunjalo, yitshintshe.
      Enkosi ngokufunda kunye neminqweno emihle!

           Rodrigo sitsho

        Molo kusasa Miguel,
        Njengamaxesha onke enkosi ngokuthatha ixesha lokuphendula, ayinguye wonke umntu owenzayo. Ngokubhekisele kwinto ebesithetha ngayo ngasentla, kumgca we-10 wesikripthi kubonakala kufanelekile:
        eyakho_window_yokucaca ewe
        kodwa isabonakala nemvelaphi emnyama. Ngapha koko, ndiyinika njengengxowa yebhasikiti.
        Kwelinye icala, bendifuna ukukubuza ukuba kufuneka ndenze njani ukuba imozulu ibonakale kum.

        Enkosi kakhulu!

      Ikhowe-kun sitsho

    Hayi, ndifumana le mpazamo ilandelayo xa ndiqala ikhonkrithi kwisiphelo sendlela
    «I-Conky: ibhloko yokubhaliweyo engekho kubumbeko; kuphuma
    Imlib2 Isilumkiso sonjiniyela *****:
    Le nkqubo ibiza umnxeba we-Imlib:

    imlib_context_free ();

    Ngeparameter:

    umongo

    ukuba ngu-NULL. Nceda lungisa inkqubo yakho. »

    Ndiyathemba ukuba ungandinceda!

         UMiquel Perez sitsho

      Busuku benzolo,

      Okokuqala, uyenzile ifayile ye .conkyrc kulawulo lwasekhaya ngokuchanekileyo?
      Ukuba kunjalo, impazamo yokuqala ikwazisa ukuba ayinakufumana ithegi ye-TEXT ngaphakathi kwifayile yomthombo .conkyrc. Jonga ukuba ngaphambi kokufomatha idatha eya kuboniswa kwiscreen, unelebheli ye-TEXT. Ukuba awukwazi ukusombulula ingxaki, kungcono ukhuphele ubumbeko lwakho kwi I-Pastebin kwaye udlulise kum ikhonkco lokujonga kwakhona ikhowudi.
      Enkosi ngokufunda kunye neminqweno emihle.

      raul antonio longarez vidal sitsho

    Molo, ndiyincamathisela njani? Sele ndiyivulile ifayile kwaye ndiyikope kwaye ndiyinyenya njengokuba injalo okanye ndisusa izithuba, uxolo kodwa isisihlandlo sam sokuqala kwaye inyani kukuba ibhokisi emnyama emnyama ayindibethi XD

      UDaryl Ariza sitsho

    Molo, ndinengxaki nomphathi we-conky v2.4 kwi-ubuntu 16.04 ye-64bits kwaye ndifuna ukuba enye yeewijethi ezizisa ukuhlala kwidesktop yam ngonaphakade, ndiyathetha ukuba ekuqaleni nganye iwijethi ikhona kodwa ndiyakwazi 'ukufumana umntu onje anganceda ?? Okokuqala, Enkosi

      U-Liher Sanchez Beldad sitsho

    Molo Miguel, ndinguLiher, umbhali weConky oyibonisayo apha, ndiyavuya uyithandile. Ndiyabulisa osebenza naye

      UDaniel sitsho

    Molo olungileyo, kukuba xa uvula ifayile yokubhaliweyo kwaye ubeke (#! / bin / bash
    sleep 10 && conky;) undinika le ngxaki ** (gedit: 21268): ISILUMKISO **: Cwangcisa uxwebhu lweemethadatha aluphumelelanga: Cwangcisa imethadatha :: uphawu lwe-gedit-spell-enabled aluxhaswanga
    Ndingenza ntoni?

      Asd sitsho

    Khange indincede, khange iqale

      IMixterix AL (iMixterix) sitsho

    Khange isebenze kum, bekubonakala ngathi ubuntu bam bunayo i-win32 lag lol kuye kwafuneka ndiyicime

      netizen sitsho

    Sawubona!
    Ndibonile iwijethi ifana neyakho, kodwa eyona ngxaki ibonisayo kukuba ayiyijongi inethiwekhi. Ndingenza ntoni? Kuba ndiqhagamshelwe kwinethiwekhi. Kwaye omnye umbuzo: Kwimeko apho ungasayifuni, ndiyikhupha njani?

    Enkosi ngexesha lakho.

      UGabriyeli m sitsho

    Ngaba ukhona umntu olaziyo igama le-conky kumfanekiso wokuqala weposti ???

      Unjiniyela sitsho

    Iposi engaqhelekanga, lixesha lokuqala ukuba ndifunde into endiyiqondayo nge-100% malunga nokuthotywa, izithuba malunga nesi sihloko sinomdla zihlala zididekile, ke, ndiyabulela. Nangona kunjalo, ndinengxaki kulungelelwaniso lwakho endilufumanayo lusebuhle kakhulu. Iinkcukacha kukuba ubungakanani besignali ye-wifi ayibonakali, ungandinceda ngale nto nceda. Enkosi kwangaphambili ngexesha lakho kunye nenkxaso.

      Yo sitsho

    Isimo sakho se-pastebin siyasilela:

    conky: Impazamo ye-Syntax (/home/whk/.conkyrc:: '=' kulindeleke kufutshane no'hayi 'ngelixa ufunda ifayile yefayile.
    conky: Ukucinga ukuba ikwi syntax yakudala kunye nokuzama ukuguqula.
    conky: [umtya «…»]: 139: ukuzama ukukhomba 'useto' lwasekhaya (ixabiso nil

      Ndilwa sitsho

    Maqabane amahle, nangona oku kungumsonto wakudala, olu qulunqo luluhle kakhulu, kule mihla i-conky isebenzisa enye i-syntax yangoku, ndikushiyela uhlobo olufanayo lwe-Miquel's conkyrc, ehlaziyiweyo kule lua syntax yangoku:

    conky.config = {

    imvelaphi = bubuxoki,
    ifonti = 'Snap.se:size=8',
    use_xft = yinyani,
    xftalpha = 0.1,
    uhlaziyo_interval = 3.0,
    ixesha_lonke_amaxesha = 0,
    eyakho_window = yinyani,
    eyakho_window_class = 'Conky',
    eyakho_window_hints = 'engahlotshwanga, ngezantsi, incangathi, tsiba_taskbar, skip_pager',
    eyakho_window_argb_visual = yinyani,
    eyakho_window_argb_value = 150,
    eyakho_window_transparent = ubuxoki,
    eyakho_window_type = 'dock',
    double_buffer = yinyani,
    zoba_imithunzi = bubuxoki,
    umzobo_wendlela = ubuxoki,
    draw_borders = buxoki,
    draw_graph_borders = buxoki,
    ubuncinci_ubude = 200,
    Ubuncinci_width = 6,
    ubuninzi_bubanzi = 300,
    okungagqibekanga_color = 'ffffff',
    okungagqibekanga_shade_color = '000000',
    okungagqibekanga_outline_color = '000000',
    ulungelelwaniso = 'top_right',
    umsantsa_x = 10,
    umsantsa_y = 46,
    no_buffers = yinyani,
    cpu_avg_isampulu = 2,
    i-overrut_utf8_locale = bubuxoki,
    oonobumba abakhulu = bobuxoki,
    sebenzisa_spacer = akukho,

    };

    umxholo = = [[

    #Nantsi iqala ukucwangciswa kwedatha ebonisiweyo
    # Eyokuqala ligama lenkqubo yokusebenza kunye nohlobo lwekernel
    $ {font Ubuntu: style = bold: size = 12} $ sysname $ alignr $ kernel

    # Oku kusibonisa iiprosesa ezimbini kunye nebha nganye yazo kunye nokusetyenziswa kwazo
    $ {font Ubuntu: style = bold: size = 14} Iiprosesa $ hr
    $ {font Ubuntu: style = ngqindilili: size = 10} CPU1: $ {cpu cpu1}% $ {cpubar cpu1}
    CPU2: $ {cpu cpu2}% $ {cpubar cpu2}
    # Oku kusibonisa ubushushu beeprosesa
    Ubushushu: $ alignr $ {acpitemp} C

    # Oku kusibonisa isahlulelo seKhaya, i-RAM kunye ne-sawp ene-bar nganye kunye nedatha yayo
    $ {font Ubuntu: style = bold: size = 14} Imemori kunye neediski $ hr
    $ {font Ubuntu: style = bold: size = 10} IKHAYA $ alignr $ {fs_used / home} / $ {fs_size / home}
    $ {fs_bar / ikhaya}
    $ {font Ubuntu: style = isibindi: ubungakanani = 10} RAM $ alignr $ mem / $ memmax
    $ {inwebu}
    $ {font Ubuntu: style = isibindi: ubungakanani = 10} SWAP $ alignr $ swap / $ swapmax
    $ swapbar

    # Oku kusibonisa imeko yebhetri enebha
    $ {font Ubuntu: style = bold: size = 14} Ibhetri $ hr
    $ {font Ubuntu: style = ngqindilili: size = 10} $ {battery BAT0} $ alignr
    $ {ibhetri_bar BAT0}

    # Oku kusibonisa unxibelelwano kunye nebha kunye namandla alo
    $ {font Ubuntu: style = bold: size = 14} Iinethiwekhi $ hr
    $ {font Ubuntu: style = bold: size = 10} WIFI ngamandla $ alignr $ {wireless_link_qual wlp3s0}%
    #Lokhu kusibonisa ukukhuphela kunye nokulayisha isantya kwi-intanethi ngemizobo
    $ {font Ubuntu: style = bold: size = 10} Khuphela $ alignr $ {downspeed wlp3s0} / s
    Iidola {downspeedgraph wlp3s0 30,210 01df01 10fd10}

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

    #Oku kubonisa ukusetyenziswa kwe-CPU kwezicelo ezizisebenzisa kakhulu
    $ {font Ubuntu: style = bold: size = 14} Ukusetyenziswa kwe-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}%

    # Oku kusibonisa ipesenti ye-RAM esetyenziswa zizicelo zayo
    $ {font Ubuntu: style = bold: size = 14} Sebenzisa izicelo ze-RAM $ hr
    $ {font Ubuntu: style = bold: size = 10} $ {top_mem name 1} $ alignr $ {top_mem mem 1}%
    $ {top_mem igama 2} $ alignr $ {top_mem mem 2}%
    $ {top_mem igama 3} $ alignr $ {top_mem mem 3}%

    ]]

    Qaphela ukuba kwinethiwekhi yokulayisha kunye nokukhuphela ulwazi, buyisela "wlan0" nge "wlp3s0"
    Ukwazi igama lenethiwekhi, sebenzisa ifconfig command