Usebenza njani iGksu ku-Ubuntu 18.04

Isiphelo sendlela yeLinux

Abasebenzisi abaninzi basebenzisa kwaye basebenzise i-gksu command xa besebenza kunye nokufakwa kwemizobo kwisiphelo sendlela. Esi sixhobo siluncedo kakhulu kwaye siyathandwa kubasebenzisi abaninzi, kodwa ngelishwa iintsuku zayo zibaliwe. Okwangoku uDebian usisusile esi sixhobo kwiindawo zokugcina kunye no-Ubuntu usisusele kwi-Ubuntu LTS elandelayo.

Lo nto, Abasebenzisi bayayeka ukuba ne-gksu kodwa oko akuthethi ukuba imisebenzi yayo ilahlekile ngabasebenzisi. Hayi kangako. Okwangoku singafezekisa okufanayo ngokusebenzisa isixhobo se-gvfs kunye noguquko oluya kuhambelana phantse nasiphi na isicelo se-Ubuntu.

I-Gksu ngumyalelo owawusetyenziselwa ukunika ujongano lomzobo kumyalelo we-su kunye nesudo, oko kukuthi, indlela yokufikelela kwimowudi ye-superuser yezixhobo zemizobo. Kuyinyani ukuba ezinye iinkqubo ezinje ngeGedit zinokusetyenziswa ngokuthe ngqo ngomyalelo weSudo. Kodwa, ngoku ukuba asizukubanaso isixhobo esinjalo Kufuneka sisebenzise isixhobo se-gvfs, isixhobo esiza kusinceda ukuba sibe nemisebenzi yeGksu ngaphandle kokusebenzisa isixhobo. Lumka, oku akuthethi ukuba ngokongeza umahluko kwimiyalelo nakwimigca yekhowudi esinokufikelela kuyo kwi-superuser, kodwa kwiimeko ezithile, ezinjengokuhlela amaxwebhu, siya kufumana into efanayo.

Umahluko esibhekisa kuwo ngu "admin: //" umahluko we-gvfs oza kusebenza njengomyalelo we-gksu. Ke, ukuba ngaphambi kokuba sibhale oku kulandelayo kwisiphelo sendlela:

gksu gedit /etc/apt/sources.list

(ukuhlela iifayile zokugcina, ukunika umzekelo olula)

Ngoku kufuneka sibhale oku kulandelayo:

gedit admin:///etc/apt/sources.list

Oku kuyakwenza isixhobo sisebenze ngokungathi besibhale umyalelo we-gksu endaweni yoko.

Isenokuba yingxaki kubasebenzisi abaninzi kodwa nje ukuba siqhelane nayo, inkqubo iya kuba lula kwaye ibe yendalo, njengoko kwenzekile ngofakelo lwesoftwe yeephakeji ze-snap.


Izimvo ezi-2, 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.   Inguqu sitsho

    Ndinendlela emfutshane eyenza iskripthi apho ngaphakathi kweskripthi ndinomgca wokumilisela iJava application, ngaphambili bendisebenzisa umyalelo we-gksudo ukumilisela usetyenziso njengengcambu:

    #! / bin / ibash
    gksudo -u ingcambu "Java -Xmx500m -jar application.jar full_screen"

    Ngoku ayisebenzi kum kwaye

  2.   jorge sitsho

    Ngokwenene benze ulwaphulo-mthetho ngokukhupha i-gksu, ngoku kuya kufuneka ujuggle ukufaka ipakeji yedebhu. Ndiyazibuza, bekungayi kuba ngcono kune-Ubuntu avandone iphakheji ye-DEB kwaye uye kwi-RPM. Lulwaphulo-mthetho ngokwenene into abayenzileyo. Okwangoku, ndibuyela kwiDebian.