Linux slogan
Visite também: Segurança Linux · BR-Linux.org · Dicas-L · Doode · NoticiasLinux · SoftwareLivre.org · UnderLinux



» Screenshot
» Login
Login:
Senha:

Se você ainda não possui uma conta, clique aqui.

Esqueci minha senha


Dica

Dois Monitores no Ubuntu
Linux user
Publicado por Thiago Silva Santos em 17/04/2007

Login: thiago_s, 41907 pontos
[ Hits: 19462 ]

Dois Monitores no Ubuntu

Abaixo as configurações que ficam em /etc/X11/xorg.conf:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg


Section "Files"
   FontPath   "unix/:7100"         # local font server
   # if the local font server has problems, we can fall back on these
   FontPath   "/usr/lib/X11/fonts/misc"
   FontPath   "/usr/lib/X11/fonts/cyrillic"
   FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
   FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
   FontPath   "/usr/lib/X11/fonts/Type1"
   FontPath   "/usr/lib/X11/fonts/CID"
   FontPath   "/usr/lib/X11/fonts/100dpi"
   FontPath   "/usr/lib/X11/fonts/75dpi"
        # paths to defoma fonts
   FontPath   "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
   FontPath   "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
   Load   "bitmap"
   Load   "dbe"
   Load   "ddc"
   Load   "dri"
   Load   "extmod"
   Load   "freetype"
   Load   "glx"
   Load   "int10"
   Load   "record"
   Load   "type1"
   Load   "vbe"
EndSection

Section "InputDevice"
   Identifier   "Generic Keyboard"
   Driver      "keyboard"
   Option      "CoreKeyboard"
   Option      "XkbRules"   "xorg"
   Option      "XkbModel"   "abnt2"
   Option      "XkbLayout"   "br"
   Option      "XkbVariant"   "abnt2"
   Option      "XkbOptions"   "abnt2"
EndSection

Section "InputDevice"
   Identifier   "Configured Mouse"
   Driver      "mouse"
   Option      "CorePointer"
   Option      "Device"      "/dev/ttyS1"
   Option      "Protocol"      "IntelliMouse"
   Option      "Emulate3Buttons"   "true"
   Option      "ZAxisMapping"      "4 5"
EndSection

Section "Device"
   Identifier   "ATI Radeon 9200SE"
   Driver      "ati"
   BusID      "PCI:1:0:0"
EndSection

Section "Device"
   Identifier   "Trident Microsystems TGUI 9440"
   Driver      "trident"
   BusID      "PCI:0:10:0"
EndSection

Section "Monitor"
   Identifier   "Serie 786NS"
   Option      "DPMS"
EndSection

Section "Monitor"
   Identifier   "FiveStar"
   Option      "DPMS"
EndSection

Section "Screen"
   Identifier   "Screen0"
   Device      "ATI Radeon 9200SE"
   Monitor      "Serie 786NS"
   DefaultDepth   16  
   SubSection "Display"
      Depth      16  
      Modes      "1024x768" "800x600" "640x480"
   EndSubSection
EndSection

Section "Screen"
   Identifier   "Screen1"
   Device      "Trident Microsystems TGUI 9440
   Monitor      "FiveStar"
   DefaultDepth   16
   SubSection "Display"
      Depth      16
      Modes      "1024x768" #"800x600" "640x480"
   EndSubSection
EndSection

Section "ServerLayout"
   Identifier   "Default Layout"
   Screen 0   "Screen0" 0 0
   Screen 1   "Screen1" RightOf "Screen0"
   InputDevice   "Generic Keyboard"
   InputDevice   "Configured Mouse" "CorePointer"
EndSection

Section "ServerFlags"
   Option "Xinerama" "true"
EndSection

Section "DRI"
   Mode   0666
EndSection

Após isso dêem um:

$ sudo apt-get libxinerama1

e tende a funcionar.


Outras dicas deste autor

Leitura recomendada
   Dica Linux recomendada Saidar - Saiba como anda a saúde de seu computador
   Dica Linux recomendada Utilizar Ubuntu é uma boa...
   Dica Linux recomendada Compartilhamento no Samba com permissão de grupo
   Dica Linux recomendada Ativar temas do Emerald no Ubuntu
   Dica Linux recomendada Instalação e configuração da Epson CX 3700

Comentários
[1] Comentário enviado por dockism em 18/04/2007 - 11:26h:

Funciona, se eu colocar os cabos ligados em uma TV 29"?

[2] Comentário enviado por cidao0143 em 25/04/2008 - 17:07h:

ola...
tentei fazer o que vc falou ai a cima mas nao da certo....
quando do o comando apt-get libxineram1
aparece o seguinte:

root@video:/etc/X11# sudo apt-get libxinerama1
E: Operação libxinerama1 inválida

a placa de video que uso é uma:

ATI REDEON 512
o SO que uso é o ubuntu studio


ja consegui colocar os dois monitores funcinando mas cada um aparece uma area de trabalho diferente... gostaria de saber se com essas opcoes passadas por voce ai a cima da para colocar dois monitores... só q com a mesma area de trabalho... tipo... emendando... compreende ????

desde ja agradeço a atenção.
meu e-mail é: daniel0143@gmail.com



Contribuir com comentário


  
Para executar esta ação você precisa estar logado no site, caso contrário, tudo o que for digitado será perdido.
Responsável pelo site: Fábio Berbert de Paula - Conteúdo distribuído sob licença GNU FDL
Site hospedado por:

Viva o Linux

A maior comunidade Linux da América Latina! Artigos, dicas, tutoriais, fórum, scripts e muito mais. Ideal para quem busca auto-ajuda em Linux.