Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

again mouse configuration in xorg.conf (solved)

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
User avatar
nadir
Posts: 5961
Joined: 2009-10-05 22:06
Location: away

again mouse configuration in xorg.conf (solved)

#1 Post by nadir »

i simply copied my xorg.conf from another poster and had configured the mouse for a while as synaptic. well, it did work.
i got an usb-mouse.
today i searched a bit and did replace the following:

Code: Select all

#Section "InputDevice"
#       Identifier      "Configured Mouse"
#       Driver          "synaptics"
#       Option          "SHMConfig"     "true"
#EndSection
with this

Code: Select all

Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "mouse"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "auto"
        Option          "ZAxisMapping"          "4 5 6 7"
EndSection
but X didnt work no more. i checked the error-log and had to comment out the following line:

Code: Select all

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"        0       0
        InputDevice     "Generic Keyboard"
#       InputDevice     "Configured Mouse"    # this one gave me the trouble
        Option          "AIGLX" "true"
EndSection
It now does work, but it did also work with the synaptic entry...
Is the configuration correct now? for me its all outer-space-language.
thanks in advance
Last edited by nadir on 2009-11-27 16:33, edited 1 time in total.
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: again mouse configuration in xorg.conf

#2 Post by craigevil »

My current xorg.conf doens't have anything for kb or mouse, but my old xorg.conf had:

Code: Select all

Section "InputDevice"
	Identifier	"Keyboard 0"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"		"xorg"
	Option		"XkbModel"		"pc105"
	Option		"XkbLayout"		"us"
	Option		"XkbOptions"		"altwin:super_win"
EndSection

Section "InputDevice"
	Identifier	"USB Optical Mouse 0"
	Driver		"mouse"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"Auto"
	Option          "Emulate3Buttons"       "true"
	Option		"CorePointer"
EndSection
If you are running testing or sid with the newer Xorg you probably don't need anything for kb/mouse since hal handles those things now.
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

User avatar
nadir
Posts: 5961
Joined: 2009-10-05 22:06
Location: away

Re: again mouse configuration in xorg.conf

#3 Post by nadir »

i use both: Lenny and Sid, so an xorg.conf which i could simply copy over would be nice.
as said the mouse works anyway, but it bugs me a bit that it aint configured correct.

should i simply remove the mouse-line from "ServerLayout"?, all i tried so far (to remove the synaptic config) gave me a black screen.
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.

User avatar
edbarx
Posts: 5401
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E
Been thanked: 2 times

Re: again mouse configuration in xorg.conf

#4 Post by edbarx »

This is my /etc/X11/xorg.conf on Lenny

Code: Select all

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder57)  Thu Jun 25 19:52:48 PDT 2009


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       30.0 - 110.0
    VertRefresh     50.0 - 150.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.

User avatar
nadir
Posts: 5961
Joined: 2009-10-05 22:06
Location: away

Re: again mouse configuration in xorg.conf

#5 Post by nadir »

thanks for that too.
i will try to be more clear:
above i got a new entry for the mouse in /etc/X11/xorg.conf which didnt work.

after i deleted the line:

Code: Select all

#       InputDevice     "Configured Mouse" 
from the Section "Server Layout" it did work.

Is it correct that way?
Q: answer "yes or no"?
A: yes or no!
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.

User avatar
Pick2
Posts: 790
Joined: 2007-07-07 13:31
Location: Decatur Il

Re: again mouse configuration in xorg.conf

#6 Post by Pick2 »

The original called it "Configured Mouse" , your replacement called it "Mouse0"
if you change "Mouse0" to "Configured Mouse" ...
then the last thing # InputDevice "Configured Mouse" # this one gave me the trouble
will probably work without the rem ( # ) you added.

User avatar
nadir
Posts: 5961
Joined: 2009-10-05 22:06
Location: away

Re: again mouse configuration in xorg.conf

#7 Post by nadir »

Pick2 wrote:The original called it "Configured Mouse" , your replacement called it "Mouse0"
if you change "Mouse0" to "Configured Mouse" ...
then the last thing # InputDevice "Configured Mouse" # this one gave me the trouble
will probably work without the rem ( # ) you added.
You are the man ! :D
thank you
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.

User avatar
Pick2
Posts: 790
Joined: 2007-07-07 13:31
Location: Decatur Il

Re: again mouse configuration in xorg.conf

#8 Post by Pick2 »

Glad I could help !
nadir wrote: You are the man ! :D
I'll make sure I never use Pink Text Then :lol:

User avatar
nadir
Posts: 5961
Joined: 2009-10-05 22:06
Location: away

Re: again mouse configuration in xorg.conf (solved)

#9 Post by nadir »

lol.
(are you rich?)
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.

Post Reply