Ungashintsha kanjani ukulungiswa kwesikrini usebenzisa i-xrandr

Shintsha ifayela le- isinqumo kuma-distros asuselwa ku- I-GNOME o KDE kakhulu elula. Okwalabo abasebenzisa I-Openbox kanye nokuphuma kokunye, lolu daba luyinkimbinkimbi ngokwengeziwe. Isikhathi esiningi, lokhu kuholela encazelweni ende yokuthi ungalishintsha kanjani ifayili lokumisa le- X iseva: xorg.conf, etholakala njll / X11.

Noma kungekho lutho olungahambi kahle ngale ndlela, i-xorg.conf yehlisiwe futhi ingethusa abasebenzisi abaningi.

Sebenzisa xrandr kungaphezulu rápido y elula. Ngaphezu kwalokho, inezindawo eziningi zokuqhafaza futhi ingasetshenziselwa nezinye izidingo kuthakazelisa kakhulu, njengokucushwa kwama-monitors amabili, njll.

Ungayisebenzisa kanjani i-xrandr

Okokuqala, bhala izinqumo ezahlukahlukene ezikhona zokuqapha kwakho:

xrandr -q

Uma kwenzeka isixazululo osifunayo singafakwanga ohlwini, kungenzeka ukuthi ukuqapha kwakho akusekeli ngempela noma udinga ukufaka umshayeli ongcono (i-ati, intel, noma i-nvidia).

Ngemuva kwalokho, setha isixazululo ofuna ukusisebenzisa (shintsha "1400 × 1050" kwisinqumo osifunayo):

I-xrandr -s 1400x1050

Ukulungisa i-dpi

I-dpi yehlukile ekulungisweni kwesikrini sakho (okubhekiselwe njengamaphikseli x intshi) futhi kuthinta imihlobiso yamawindi, usayizi ofanayo, ukunikezwa kwamafonti, njll.

Kuma-monitors amaningi, i-xrandr izosetha i-dpi ngokuzenzakalela. Uma kungenjalo, noma uma ukhetha ukushintsha lokhu kumiswa, ungakucacisa ngesandla:

I-xrandr -dpi 96 -s 1400x1050

Uma lokho kwehluleka, ungacacisa i-dpi ku ~ / .Xdefaults

Ngivule umhleli ngabeka okulandelayo kulelo fayela:

I-Xft.dpi: 96

Le dpi izosetshenziswa kuwo wonke amawindi amasha owavulayo. Ungaphuma futhi ukuze ubone imiphumela yalolu shintsho (asikho isidingo sokuqalisa kabusha isistimu).

Uma i-96 kungeyona i-dpi ekufanele, ungazama i-72 noma i-135.

Abaqaphi ababili

Kungenzeka futhi ukusebenzisa i-xrandr ukulungisa ama-monitors amabili. Ukuze wenze lokhu, kufanele usebenzise izinketho-zesokudla-nesesobunxele.

Nasi isibonelo, usebenzisa ikhadi le-nvidia:

Okokuqala, bhala uhlu lwabaqaphi usebenzisa i-xrandr.

xrandr -q

Umphumela uzoba yinto efana nale elandelayo:

Isikrini 0: ubuncane be-320 x 200, i-1920 x 1200 yamanje, ubuningi be-4096 x 4096
I-DVI-I-1 ixhunywe ngo-1920x1200 + 0 + 0 (izannormal left inverted right x axis y axis) 520mm x 320mm
1920 × 1200 60.0 * +
1600 × 1200 60.0
1680 × 1050 60.0
1280 × 1024 75.0
1280 × 960 60.0
1152 × 864 75.0
1024 × 768 75.1 70.1 60.0
832 × 624 74.6
800 × 600 72.2 75.0 60.3 56.2
640 × 480 72.8 75.0 60.0
720 × 400 70.1
I-DVI-I-2 ixhunywe ngo-1920x1200 + 0 + 0 (okwejwayelekile kwesobunxele kuguqulwe kwesokudla x eksisi y eksisi) 520mm x 320mm
1920 × 1200 60.0 * +
1600 × 1200 60.0
1680 × 1050 60.0
1280 × 1024 75.0
1280 × 960 60.0
1152 × 864 75.0
1024 × 768 75.1 70.1 60.0
832 × 624 74.6
800 × 600 72.2 75.0 60.3 56.2
640 × 480 72.8 75.0 60.0
720 × 400 70.1
I-TV-1 inqanyuliwe (i-eksisi evamile engakwesobunxele evaliwe kwesokunxele)

Ngemuva kwalokho sebenzisa i-xrandr ukulungisa ama-monitors. Shintsha amagama "DVI-I-1" ne "DVI-I-2" abe amagama wabaqaphi bakho. Ungadinga futhi ukulungisa isinqumo bese ushintsha okuthi “–left-of” ukuze kuthi “–ight-of”.

I-xrandr -uto - okukhipha i-DVI-I-2 - imodi 1920x1200 - ngakwesokunxele kwe-DVI-I-1

Inomphumela ofanayo nalowo:

I-xrandr -uto - okukhipha i-DVI-I-1 --mode 1920x1200 - kwesokudla-se-DVI-I-2

Ukusetha i-monitor eyinhloko, sebenzisa inketho eyinhloko:

I-xrandr -uto - okukhipha i-DVI-I-1 --mode 1920x1200 - eyinhloko - ye-DVI-I-2

Lungiselela i-xrandr ukuqala ekuqaleni

Le ndlela iyahluka ngokuya ngemvelo yedeskithophu oyisebenzisayo (gnome, kde, xfce).

Ebhokisini elivulekile, engeza umyalo we-xrandr ku ~ / .config / openbox / autostart.sh.

Ku-fluxbox, yenza umsebenzi ofanayo kepha kufayela ~ / .fluxbox / startup

Ngokuya ngemvelo yedeskithophu oyisebenzisayo, ungangeza i-xrandr ku ~ / .xinit

Amathuluzi wemifanekiso

Kunezindawo ezinhle kakhulu zokuqhafaza ku-xrandr. Phakathi kokudume kakhulu, singabala i-lxrandr, grandr, krandr ne-arandr.


Okuqukethwe yi-athikili kunamathela ezimisweni zethu ze izimiso zokuhlelela. Ukubika iphutha chofoza lapha.

Amazwana ayi-15, shiya okwakho

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.

  1.   Alex kusho

    Okuthunyelwe okuhle, esikhathini esithile esedlule ngibhale i-athikili yokuthi ungazilungiselela kanjani izikrini ezimbili ngaphansi kwebhokisi lokuvula futhi ngiphinde ndikhiqize amaphephadonga angahleliwe kusikrini ngasinye: isixhumanisi

  2.   Isimemo_92839 kusho

    Ake sibheke ukuthi ngiyaqonda yini ... cabanga ukuthi anginaso isixazululo engisifunayo kusiqaphi, nganoma iyiphi yalezi zinhlaka zokuqhafaza ngizokwazi ukudala leso sinqumo futhi ngikusebenze ekuqaleni?

    Futhi, ngilibeka kuphi lelo fayela (esimweni sokuthi nge-graphical interface akunakwenzeka) ngokwesibonelo ku-Gnome ne-KDE?.

    Ngiyabonga kakhulu, kade ngangifuna isisombululo senkinga yokulungiswa, kepha wonke umuntu wayibeka ngefayela le-Xorg, i-conf, kepha lelo fayela ezinhlotsheni ezintsha ze-distros alisasetshenziswa.

  3.   Masisebenzise iLinux kusho

    Uma isixazululo osifunayo singaveli kusixhumi esibonakalayo esilethwa yi-GNOME noma i-KDE ukuguqula ukulungiswa kwesikrini, ungazama le ndlela, yebo. Kunoma ikuphi, kungenzeka kakhulu ukuthi uma ukulungiswa kwesikrini osifunayo kungaveli, kungenxa yokuthi ASISEKELWA ukuqapha kwakho. Impela, kukhona okuhlukile kulo mthetho kepha imvamisa akuvamile kakhulu. Hug! UPaul.

  4.   Isimemo_92839 kusho

    Cha, kimi i-monitor yami inesinqumo esiphezulu nesendabuko esingu-1366 × 768, ku-Windows isebenza kahle kahle nomshayeli we-Intel, umqaphi ungama-emachines (mhlawumbe kungenxa yomkhiqizo). Ngokuphambene, kuwo wonke ama-distros I-GNU / Linux isixazululo esiphezulu bekuyi-800 × 600 noma i-1024 × 600, kuya nge-distro, kepha ukusuka lapho ayikhuphukanga.Ngizamile ngawo wonke ama-distros, kepha kukodwa lapho isixazululo esifanele savela ngaphandle kokusebenzisa i-xrandr futhi i-cvt iyalela ukuqapha kwami, ku-Ubuntu 10.10, kepha angikwazanga ukusebenzisa imiphumela ebonakalayo, angazi ukuthi kungani, angivuseleli ngisho noku ...

    Ngakho-ke ngizohlola lokho okufake lapha, futhi ngizokutshela ukuthi kuyasebenza yini ...

    I-PS: kuyamangaza, ngoba kumqaphi we-HP womfowethu, onesinqumo sendabuko esingu-1600 × 900 angibanga nankinga ngesinqumo, nginombono wokuthi kungenzeka ukuthi ngoba ukuqapha kwami ​​akusekelwa noma kungaziwa yi Uhlelo lwe-kernel hardware.

    A ukubingelela.

  5.   Steve kusho

    Kungisebenzele ukwehluleka kokumiswa kokuxazululwa okwenzekile kuLinuxMint kimi 12. Ngesizathu esithile lapho ngiqala isistimu akusiboni isisombululo sesiqaphi sami. Kepha ngikuxazulule ngokufaka i-'grandr ', ngakha isithonjana kwideskithophu okufanele ngisebenzise konke ukuqala kweDeskithophu. Ngiphinde ngasebenzisa i-'lxrandr 'kepha ngazivumelanisa kangcono ne-'grandr'. Kunconywe impela 'umzukulu'. Sanibonani

  6.   UMax jonathan kusho

    Ngisebenzisa iskripthi ku-netbook yami esisebenzisa i-xrandr, singivumela ukuthi ngisebenzise izinqumo ezingasekelwa noma okungenani ezingabhalwanga ngokuzenzakalela, ngoba ubukhulu bungu-1024 × 600 futhi ngombhalo ngingawusetha ube ngu-1280 × 750
    http://dl.dropbox.com/u/44801426/newrez
    Ayisebenzi i-gnome kuphela, ngiyisebenzisa ku-XFCE
    Angikhumbuli umthombo lapho ngiwuthole khona, kepha ngiwuthole ku-google; D

  7.   I-Hang1 kusho

    Ngisebenzisa i-Xrandr ukuzungezisa isikhundla sedeskithophu ku-netbook kuphela lapho ngiyidinga ngempela, ngoba ihamba kancane kabuhlungu. Lapho ngiqeda ukuyisebenzisa kufanele ngiyibulale bese ngiqala kabusha i-X.

  8.   Izimemo_92839 kusho

    Ngabe kukhona ongangitshela ukuthi kungani?

  9.   Andres kusho

    Sawubona mngani nginenkinga elandelayo ku-centos version 4
    Ulwazi lwami lwe-linux alunalutho futhi lapho ngizama ukufaka imvelo yokuqhafaza ngithola umyalezo wokufaka ongasekelwa.
    Ngizamile ukushintsha ukucushwa ngisebenzisa leyo ndlela oyichaza lapha bese ngithola i-Can't open display (null)
    Ngicela ungitshele ukuthi ngingenza kanjani ukubuyisela ukumiswa kokuqapha ngoba ukusebenzisa inketho yokusetha akusebenzi nakho

    Ngiyabonga ngosizo onganginika lona

    1.    masisebenzise i-linux kusho

      Kungakuhle uma ufaka imiyalo oyifakayo kanye nemiyalezo ephelele yephutha.
      Halala! UPaul.

    2.    I-Neutron Poncho kusho

      Lo myalo usetshenziswa uma usuvele ungaphakathi kohlelo lokuqhafaza (i-X server) .Kwakho, uhlelo lokuqhafaza aluqali, okokuqala kufanele wenze uhlelo lokuqhafaza oluyi-Xorg start.

  10.   UJonatan kusho

    Ngiyazi ukuthi sekuyisikhathi eside selokhu kuthunyelwe kepha othile ubengangitshela ukuthi ngingalifaka kanjani ushintsho ku-xubuntu kungasiza kakhulu ngiyabonga

  11.   Alvaro kusho

    Ngiyabonga ngeposi ongisize ngalo kakhulu manje isikrini sami sibukeka sisihle!

  12.   john kusho

    Sawubona, okokufundisa kwakho kube wusizo olukhulu, ngisekude nje ukuqeda futhi ngithanda ukuthi ungichazele kangcono ukuthi ngingaqala kanjani iseshini, ngifake i-xubuntu. Jabulela

  13.   Rodrigo kusho

    Ngibonga kakhulu ngingenaphutha!