Lxde + Teclado Abnt2

256 views
Skip to first unread message

Leandro Costa

unread,
May 23, 2009, 8:30:20 AM5/23/09
to archli...@googlegroups.com
Galera, estou apanhando a 3dias ja. Coloquei o Lxde + Openbox e gerenciador de login Slim no meu arch x86.
No proprio lxde nao encontrei onde configurar o teclado, entao configurei pelo xorg.conf, da seguinte forma:

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "abnt2"
    Option "XkbLayout"  "br"
EndSection
...
Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Simplesmente nao funciona. O arquivo de configuracao esta em /etc/X11/xorg.conf.
Nao consigo achar o que esta de errado.
Valeu.

--
- Administrador de Sistemas Linux
- Desenvolvedor Java/Python/Web
- Contato (88) 8826-3911
- http://lokidarkeden.blogspot.com

Rodrigo Flores

unread,
May 23, 2009, 8:33:27 AM5/23/09
to archli...@googlegroups.com
2009/5/23 Leandro Costa <lokida...@gmail.com>:
> Galera, estou apanhando a 3dias ja. Coloquei o Lxde + Openbox e gerenciador
> de login Slim no meu arch x86.
> No proprio lxde nao encontrei onde configurar o teclado, entao configurei
> pelo xorg.conf, da seguinte forma:
>
> Section "InputDevice"
>     Identifier  "Keyboard1"
>     Driver      "kbd"
>     Option "AutoRepeat" "500 30"
>     Option "XkbRules"   "xorg"
>     Option "XkbModel"   "abnt2"
>     Option "XkbLayout"  "br"
> EndSection
Essa é a configuração que eu uso e que funciona.

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


> ...
> Section "ServerLayout"
>     Identifier  "Simple Layout"
>     Screen "Screen 1"
>     InputDevice "Mouse1" "CorePointer"
>     InputDevice "Keyboard1" "CoreKeyboard"
> EndSection
>
> Simplesmente nao funciona. O arquivo de configuracao esta em
> /etc/X11/xorg.conf.
> Nao consigo achar o que esta de errado.
> Valeu.
>
> --
> - Administrador de Sistemas Linux
> - Desenvolvedor Java/Python/Web
> - Contato (88) 8826-3911
> - http://lokidarkeden.blogspot.com
>
> >
>



--
Rodrigo L. M. Flores
Computer Science Student - IME - USP
Homepage (en): http://www.rodrigoflores.org
Blog (pt-BR): http://blog.rodrigoflores.org
Linux User # : 351304
Jabber: i...@rodrigoflores.org

Leandro Costa

unread,
May 23, 2009, 9:10:59 AM5/23/09
to archli...@googlegroups.com
Rapaz, tentei com essa sua conf. mas tambem nao funcionou. Olha so o meu xorg.conf
-----------------------------------------------------------------------------------------------------------------------------------
Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "record"
    Load  "dri2"
    Load  "glx"
    Load "synaptics"
EndSection


Section "InputDevice"
    Identifier  "Keyboard0"
     Driver      "keyboard"
    Option      "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "abnt2"
    Option "XkbLayout" "br"
    Option "XkbVariant" "abnt2"

#    Driver      "kbd"
#    Option "XkbRules"   "xorg"
#    Option "XkbModel"   "abnt2"
#    Option "XkbLayout"  "br"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "synaptics"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
    Option      "AlwaysCore"        "true"  # send events to CorePointer
    Option      "Protocol"          "auto-dev"
    Option      "SHMConfig"         "false" # configurable at runtime? security risk
    Option      "LeftEdge"          "1700"  # x coord left
    Option      "RightEdge"         "5300"  # x coord right
    Option      "TopEdge"           "1700"  # y coord top
    Option      "BottomEdge"        "4200"  # y coord bottom
    Option      "FingerLow"         "25"    # pressure below this level triggers release
    Option      "FingerHigh"        "30"    # pressure above this level triggers touch
    Option      "MaxTapTime"        "180"   # max time in ms for detecting tap
    Option      "VertEdgeScroll"    "true"  # enable vertical scroll zone
    Option      "HorizEdgeScroll"   "true"  # enable horizontal scroll zone
    Option      "CornerCoasting"    "true"  # enable continuous scroll with finger in corner
    Option      "CoastingSpeed"     "0.30"  # corner coasting speed
    Option      "VertScrollDelta"   "100"   # edge-to-edge scroll distance of the vertical scroll
    Option      "HorizScrollDelta"  "100"   # edge-to-edge scroll distance of the horizontal scroll
    Option      "MinSpeed"          "0.10"  # speed factor for low pointer movement
    Option      "MaxSpeed"          "0.60"  # maximum speed factor for fast pointer movement
    Option      "AccelFactor"       "0.0020"    # acceleration factor for normal pointer movements
    Option      "VertTwoFingerScroll"   "true"    # vertical scroll anywhere with two fingers
    Option      "HorizTwoFingerScroll"  "true"    # horizontal scroll anywhere with two fingers
    Option      "TapButton1" "1"
    Option      "TapButton2" "2"
    Option      "TapButton3" "3"
EndSection

Section "Monitor"
    #DisplaySize      300   190    # mm
    Identifier   "Monitor0"
    VendorName   "LPL"
    ModelName    "a500"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "Dac8Bit"                # [<bool>]
        #Option     "BusType"                # [<str>]
        #Option     "CPPIOMode"              # [<bool>]
        #Option     "CPusecTimeout"          # <i>
        #Option     "AGPMode"                # <i>
        #Option     "AGPFastWrite"           # [<bool>]
        #Option     "AGPSize"                # <i>
        #Option     "GARTSize"               # <i>
        #Option     "RingSize"               # <i>
        #Option     "BufferSize"             # <i>
        #Option     "EnableDepthMoves"       # [<bool>]
        #Option     "EnablePageFlip"         # [<bool>]
        #Option     "NoBackBuffer"           # [<bool>]
        #Option     "DMAForXv"               # [<bool>]
        #Option     "FBTexPercent"           # <i>
        #Option     "DepthBits"              # <i>
        #Option     "PCIAPERSize"            # <i>
        #Option     "AccelDFS"               # [<bool>]
        #Option     "IgnoreEDID"             # [<bool>]
        #Option     "DisplayPriority"        # [<str>]
        #Option     "PanelSize"              # [<str>]
        #Option     "ForceMinDotClock"       # <freq>
        #Option     "ColorTiling"            # [<bool>]
        #Option     "VideoKey"               # <i>
        #Option     "RageTheatreCrystal"     # <i>
        #Option     "RageTheatreTunerPort"     # <i>
        #Option     "RageTheatreCompositePort"     # <i>
        #Option     "RageTheatreSVideoPort"     # <i>
        #Option     "TunerType"              # <i>
        #Option     "RageTheatreMicrocPath"     # <str>
        #Option     "RageTheatreMicrocType"     # <str>
        #Option     "ScalerWidth"            # <i>
        #Option     "RenderAccel"            # [<bool>]
        #Option     "SubPixelOrder"          # [<str>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "DynamicClocks"          # [<bool>]
        #Option     "VGAAccess"              # [<bool>]
        #Option     "ReverseDDC"             # [<bool>]
        #Option     "LVDSProbePLL"           # [<bool>]
        #Option     "AccelMethod"            # <str>
        #Option     "DRI"                    # [<bool>]
        #Option     "ConnectorTable"         # <str>
        #Option     "DefaultConnectorTable"     # [<bool>]
        #Option     "DefaultTMDSPLL"         # [<bool>]
        #Option     "TVDACLoadDetect"        # [<bool>]
        #Option     "ForceTVOut"             # [<bool>]
        #Option     "TVStandard"             # <str>
        #Option     "IgnoreLidStatus"        # [<bool>]
        #Option     "DefaultTVDACAdj"        # [<bool>]
        #Option     "Int10"                  # [<bool>]
        #Option     "EXAVSync"               # [<bool>]
        #Option     "ATOMTVOut"              # [<bool>]
        #Option     "R4xxATOM"               # [<bool>]
    Identifier  "Card0"
    Driver      "radeon"
    VendorName  "ATI Technologies Inc"
    BoardName   "RS482 [Radeon Xpress 200M]"
    BusID       "PCI:1:5:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection
-------------------------------------------------------------------------------------------------------------------------------------------------

2009/5/23 Rodrigo Flores <rodrigomar...@gmail.com>

Rafael Vinicius Soares

unread,
May 23, 2009, 10:26:44 AM5/23/09
to archli...@googlegroups.com
é o seguinte, desde que o xorg mudou para a 1.5 ele utiliza o dbus e hal para fazer a detecção do hardware que ele irá utilizar. Não sei te explicar o porque dele não mais pegar essa configuração no xorg, ja que ainda é possivel utilizá-lo. Mas seguindo sua nova forma de funcionamento é possivel fazer com que seu telcado funcione normalmente, apenas mudando o arquivo de configuração, que passa a ser chamado pelo hal.

o seguinte tópico no fórum resolve o seu problema, é so tirar essas confg de teclado do xorg,conf e fazer o que o pessoal recomenda:

http://forum.archlinux-br.org/viewtopic.php?pid=7368

aqui você pode ler mais sobre o funcionamento do xorg:

http://profs.if.uff.br/tjpp/blog/entradas/arch-linux-no-sony-vaio-tz190n

e para se aprofundar mais:

http://profs.if.uff.br/tjpp/blog/entradas/placas-de-video-no-linux-porque-eu-uso-intel



2009/5/23 Leandro Costa <lokida...@gmail.com>

Leandro Costa

unread,
May 23, 2009, 10:40:18 AM5/23/09
to archli...@googlegroups.com
Obrigado rafael, fiz o procedimento indicado no seu primeiro link.
Desculpem por repetir o topico, falha minha.

http://forum.archlinux-br.org/viewtopic.php?pid=7368


2009/5/23 Rafael Vinicius Soares <rafael.s...@gmail.com>
Reply all
Reply to author
Forward
0 new messages