Uyicwangcisa njani imenyu kwi-LXDE

Ndifuna ukwabelana nawe ngeli galelo lisuka U-Ernesto Santana Hidalgo (ovela kubantu)Ewe, nangona ndingenguye umsebenzisi we-LXDE, ndiyazi ukuba apha abafundi bethu bayayithanda (kunye neFluxBox, i-OpenBox, kunye nezinye i-LOL!)

Into yokuqala ekufuneka siyazi kukuba kwi I-LXDE akukho ndlela ilula yokuguqula imenyu Inkqubo yokuqalisa ekufuneka siye kuyo ngqo kwiifayile zoqwalaselo. Yonke into echazwe ngezantsi yenziwe WattOS, ulwabiwo olusekwe kwi Ubuntu 12.04. Masiqale:

Ukwenza ngokwezifiso imenyu kufuneka lungisa ifayile yoqwalaselo lwepaneli iqulethe oku. Ifayile ekubhekiswa kuyo (yomsebenzisi othile) yile:

/home/{usuario-lex.europa.eu/.config/lxpanel/LXDE/panels

Ukuba sifuna ukuguqula imenyu ebonakala ngokungagqibekanga xa kusenziwa umsebenzisi omtsha, kufuneka siguqule njengengcambu:

/etc/skel/.config/lxpanel/LXDE/panels

Ibhloko yokuqala esiza kuyibona yile Global, que iqulethe ezona mpawu ziphambili yepaneli yethu. Oku ikakhulu kuqwalaselo lwe- umbala wepaneli, ngokungafihli, ubungakanani, Njl

Emva koko siza kubona iibhloko ezininzi ezibiziweyo plugins. Zezi iiapplet zepaneli, ezinje ngokuvula ii icon okanye imenyu. Ezi bhloko zenziwa yintsimi uhlobo = {uhlobo}, kunye nebhloko ebizwa qwa lasela equlathe iimpawu zayo. Kodwa siza kugxila kuphela kwiplagi enomdla kuthi: imenyu.

Ngokungagqibekanga siya kuyifumana ngale ndlela:

Plugin {
type = menu
Config {
image=/usr/share/lxde/images/logout-banner-orig.png
system {
}
separator {
}
item {
command=run
}
separator {
}
item {
image=gnome-logout
umyalelo = ukuphuma
}
}
}

Ukuba sitshintsha imenyu emiselweyo yabasebenzisi eyenziweyo kufuneka Qalisa kwakhona inkqubo ye-lxpanel. Ngoku lo mgca "umfanekiso = / usr / share / lxde / imifanekiso / logout-banner-orig.png" ichaza ifayile ye- umfanekiso obonisa imenyu yemenyu. Ibhloko yokuqala ebonakalayo yile inkqubo {}  eyalatha ku imenyu emiselweyo equlethe iimenyu ezingaphantsi Isandi kunye nevidiyo, iofisi, Internet, Graphics, izinto ezincedisayo. Zonke ezi zinto zikwi / usr / isabelo / izicelo kwifomathi .desktop.

Yenza isiqalisi okanye into yemenyu

Ukuba sifuna ukongeza i-launcher ngokuthe ngqo ngaphandle kwayo nayiphi na imenyu esezantsi, senza into ngamacandelo ayo ngolu hlobo lulandelayo:

item{
name=[nombre del item](Opcional)
image=[Icono](Opcional)
command=[comando a ejecutar] //o action=[aplicación a ejecutar]
}

Yenza imenu esezantsi yemenyu

Sinokwenza imenu esezantsi, eyahlukileyo kwiNkqubo. Oku kuyakwenziwa yintsimi ebizwa igama, eya kuba ne Igama le-Submenu kwaye intsimi ibizwa umfanekiso eya kuthi icacise icon. Ukongeza ii-launcher sisebenzisa ibhloko ebizwa into, efanayo nebhlokhi ebendiyichazile ngaphambili, kodwa ngokwahluka oko endaweni yokusebenzisa indawo ebizwa ngokuba ngumyalelo ibizwa ngokuba yintshukumo. Umzekelo, ukuba besifuna yenza imenyu esezantsi yeWayiniNgaba:

menu{
name=Wine
image=/usr/share/icons/Faenza/apps/scalable/wine.svg
item {
name=Configurar Wine
image=/usr/share/icons/Faenza/apps/scalable/wine-winecfg.svg
action=winecfg
}
item {
name=Desinstalar programas
image=/usr/share/icons/Faenza/apps/scalable/wine-uninstaller.svg
action=wine uninstaller
}
}

Ukulungisa imenu esezantsi isixokelelwano ku funeka lungisa i-desktop Ngasentla. Ngamnye uqulethe umhlaba obizwa ngokuba udidi, ekhankanya kwi loluphi udidi oludwelisiweyo. Imenyu ye-LXDE itolika la manqanaba ngokokuba yeyiphi imenu esezantsi yenkqubo. Ke ukuba sifuna into ethile Into yedesktop ingeyeMenyu esezantsi yezixhobo, sinetyala nje yongeza olo hlobo, kodwa ngesiNgesi (izinto ezincedisayo) kunye neendidi ezithathwa yimenyu ngokungagqibekanga zezi: Ividiyo evakalayo, uphuhliso, Education, umdlalo, Graphics, womnatha, iofisi, izicwangciso, isixokelelwano, Usebenziso.

Yenza imenyu esezantsi kwinto esele ikhona

Ukuba sifuna ukwenza i-submenu ngaphakathi kwezi zichazwe ngaphambili yinkqubo okanye enye esiyenzileyo, umzekelo, iwayini, siyiguqula ifayile lxde-applications.menu ekuyo / njl / xdg / iimenyu. Ngaphakathi kwayo kukho uthotho lweelebheli. Umzekelo, imenyu Education:

http://paste.desdelinux.net/4710

Ukuba sifuna imenyu esezantsi enegama eliza kuvela ngaphakathi koku vavanyo ingajongeka ngoluhlobo:

http://paste.desdelinux.net/4711

Ileyibheli ibhekisa kudidi esifuna ukulubeka kule meko, ezo zecandelo le-IDE ziya kuvela kwimenyu.

Sinokwenza umkhombandlela kwimenyu entsha, eya kuba negama kunye nefoto. Ukubandakanya le fayile, sibhala ithegi . Ukuba ayenziwanga, imenyu iboniswa nefoto ngokungagqibekanga.

Yenza umkhombandlela

Masiye kwifolda / usr / share / desktop-izikhombisi. Kukho zonke Umkhombandlela ezisetyenziswa kwimenyu engenanto ngaphandle kokucwangciswa kweemenyu okanye iimenyu ezincinci zazo. Ngokukodwa vavanyo bhekisa kwi lxde-test.directory. Senza ifayile enegama elifanayo esichazayo . Ngaphakathi kuyo sibeka:

[Desktop Entry]
Name= Prueba
Icon=applications-development
Type=Directory

Ngale ndlela senza okanye siguqule iimenyu kunye neenkqutyana kwi-LXDE. Umsebenzi onzima kodwa ngokuqinisekileyo unceda okuninzi ukwenza ukuba iwe ngokwakho imenyu.

Ukucaciswa: kula manyathelo okugqibela akuyomfuneko ukuqala kwakhona inkqubo ye-lxpanel.


Izimvo ezi-23, shiya ezakho

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.

  1.   w4r3d sitsho

    Molo mhlobo, kukho indlela ephuma isinyithi okanye evulekileyo ngaphezulu okanye ngaphantsi ngoluhlobo. http://2.bp.blogspot.com/–z-AYhAxS4A/Tke23ZdmyRI/AAAAAAAAH0g/iZpuz9v9qUo/s1600/wattos.png ngesilivere ndiyathetha. Ndinxibe i-fedora kwaye khange ndikwazi ukuyinika loo nto. Enkosi ngosinaka ixehsa lakho.

  2.   Hyuuga_Neji sitsho

    Hayi kulungile xa ndibona iGaara ngeposi ibeka izinto ezivela kwi-LXDE kuye kwafuneka ndingene…. Okwangoku ndisesikolweni apho iqabane lisebenza khona ngoko ke andinayo iLinux (abanayo neFirefox ngokomfanekiso wabaxhasi babhityileyo) kodwa hey… kwinqaku: Khange nditshintshe izinto kwimenyu (ngaphandle kwemenyu ye-Openbox xa isetyenziswa ngaphandle kwe-LXDE) nangona bekukho kwi-LXDE + kwi-Openbox ixesha elide. Enkosi ngencam

  3.   Leo sitsho

    Oku kundenze ndacinga ukuba kungakuhle ukuba kumagqabantshintshi ethu, ngaphandle kokushiya isikhangeli kunye ne-OS, iDESKTOP ENVIRONMENT nayo iyavela !! Ingakulunga, nangona izakusebenzela iLinux kuphela kwaye kuya kufuneka sihlele iAgent yoMsebenzisi ngandlela thile.

    1.    I-KZKG ^ iGaara sitsho

      Sele ndiyicinga le nto kwithuba eladlulayo kodwa ... heyi ukhona umbuzo, ingayincwadi eyi-100%, ngekhe kubekho nto yokuba izenzekele njengoko iyinxalenye ye-OS kunye nesikhangeli

      1.    Leo sitsho

        Qiniseka ukuba incwadana yemigaqo ayizukuba yingxaki kwaba bafana baqhele "ukudibanisa".
        Kodwa ngokuqinisekileyo kulula ukuyithetha kweli cala lehlabathi kunakwicala labalawuli. Njengokubonisa i-OS kunye nomhloli wamazwe andikayiboni kwelinye iphepha ke ukuphunyezwa apha kulungile kakhulu.

        1.    I-KZKG ^ iGaara sitsho

          Ukubeka i-distro kunye nesikhangeli kuyenza iplagi, nje ukuba uqonde kwaye uqonde ukuba iplagin isebenza njani ... ukongeza imisebenzi ayinzima kangako, oko kukuthi, ndinokuphinda ndiyenze kwakhona iplagi kwaye ndiyixelele ukubonisa imeko-bume yedesktop yomsebenzisi amagqabantshintshi, nokuba ayayamkeli imeko-bume yedesktop, ayibonisi kwanto ... hehe, ndicinga ukuba ndiyayithanda le mbono ngakumbi 😀

          Andiyithandi i-PHP, lulwimi endingaluthandi ngokwenene ... kodwa ilula, kulula kakhulu ukuluqonda kwaye ngethamsanqa umntu ongenguye umdwelisi wenkqubo (umzekelo mna haha) angakufezekisa oku

          1.    Leo sitsho

            Sele ndiyibona imouse yeXFCE yam kwizimvo zam 😀

          2.    Leo sitsho

            Kwaye iphupha lam lazaliseka. 😀

            1.    I-KZKG ^ iGaara sitsho

              LOL!


  4.   UIvan Barra sitsho

    I-LXDE ilunge kakhulu, kwithuba eladlulayo siqwalasele ii-eeePCs ezininzi kunye nomhlobo, sazibiza ngokuba yi-Debian + LXDE kwaye zisebenza kakhulu, kakuhle kakhulu, zibhetele kune-Windows XP evela kumzi-mveliso, enyanisweni, zazinememori yangaphakathi ye-2GB, i-512MB yenkunzi yegusha kunye ne-700mhz yeCeleron proce. Imemori ngewindows XP yayiseZero, kodwa ngeDebian kunye ne-LXDE sisebenzise kuphela i-700MB iyonke kwinkqubo esebenzayo, sibeka i-4GB yeklasi ye-4 SD ukugqiba ukufaka iinkqubo ze-automation zeofisi nayo yonke enye into kwaye babengu-1.

    Omnye umzekelo onokuthi ngeLinux wenze okungakumbi ngokuncinci.

    Ukubulisa kunye nokufundisa okuhle kakhulu njengamaxesha onke.

  5.   U-Ernesto Santana Hidalgo sitsho

    Enkosi kakhulu ngokubeka inqaku lam apha kwaye ndiyabulela kuni nonke ngezimvo zenu

    1.    I-KZKG ^ iGaara sitsho

      Enkosi kuwe ngegalelo lengqolowa yakho yesanti kwihlabathi leLinux, yinto ekufuneka sisoloko siyenza 🙂
      Ndiyathemba ukuqhubeka nokufunda iiposti zakho ezinomdla, wamkelekile 😉

  6.   Emiliano sitsho

    Hee, ndize necebo eliphambeneyo kwaye andazi ukuba inokwenziwa kule ndawo okanye kwenye ... Ngaba kunokwenzeka ukwenza iimenyu ezahlukeneyo? Ndithetha enye ethi xa uyivula ibonisa kuphela imidlalo kwaye enye ibonisa iofisi njlnjl. Iya kuba yinto esebenzayo kodwa andazi ukuba inokwenziwa haha
    sukundibhanxa ukuba ndithethe into engaqhelekanga ye-xD

    1.    Emiliano sitsho

      ahem ndisebenzisa i-linux mint yintoni enophawu lwe logo ehhh haha

      1.    FIXOCONN sitsho

        qwalasela iarhente yomsebenzisi kule ndawo kunye neposti kumxholo

  7.   FIXOCONN sitsho

    yisinamon

    1.    I-KZKG ^ iGaara sitsho

      Ewe, iCinnamon ayizukubonwa, hayi kuba ndingayithandi kwaphela ... kodwa ngenxa yokuba andinayo ilogo yeCinnamon, kwaye ndiyayifuna ukuyixhasa apha.

      Ngaba uyazi ukuba ilogo yeCinnamon inokukhutshelwa kwi .svg?

      Ngokukhawuleza emva kokuba unayo ilogo, iya kuvela kwizimvo zakho.

  8.   f3niX sitsho

    ?

  9.   UAndrelo sitsho

    Ndenza olu luvo ndibone nje umfanekiso wedesktop yam ukuba banayo 😀

    1.    izyoky sitsho

      Makhe sibone ukuba isinamon iyaphuma ngoku

      1.    izyoky sitsho

        Kulungile ewe 😀 Ndonwabile ^ ^, buhlungu kanjani ubomi bam 🙁

  10.   Erick sitsho

    Mhlobo, ndingayenza njani i-lubuntu 12.04 lxpanel ibuyele kulungelelwaniso olungagqibekanga. Ndifundile phaya ukuba ukuhlela / ikhaya/usuario/.config/lxpanel/LXDE/panels/panel kunokufezekiswa kodwa andinalwazi

  11.   UManuel Antonio sitsho

    Molo, ndingathanda ukubona ukuba ungandinceda na ngokongeza imenyu ngokuhlela .desktop, .menu kunye neefayile zedatha. Ndisebenzisa i-lubuntu 14.04 kwaye andinakubenza bavele kwimenyu.

    Gracias