How do I generate an xorg.conf please? I've just installed on a desktop with which I'd like to use an old serial mouse. I need to tell xorg to read /dev/gmpdata:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "Mouse"
Option "Device" "/dev/gpmdata"
Option "Protocol" "IntelliMouse"
Option "ZAxisMapping" "4 5"
EndSection
How do I do that when /etc/X11/xorg.conf doesn't exist?
Thanks.
how to make X read /dev/gpmdata?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
how to make X read /dev/gpmdata?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: how to make X read /dev/gpmdata?
In a terminal enter
This will open a text editor with an empty file.
Paste your code and save.
Hope that helps.
Code: Select all
sudo gedit /etc/X11/xorg.conf
Paste your code and save.
Hope that helps.
Re: how to make X read /dev/gpmdata?
No, it doesn't help. I was hoping to find a xorg.conf somewhere that I could tweak. Dumping that fragment into /etc/X11/xorg.conf does nothing.
Re: how to make X read /dev/gpmdata?
This post gives two methods to have your system generate an xorg.conf, rather than just creating a blank file.
If you are wanting a sample, hear is my xorg.conf from Gloria. Remember it will take editing on your part - your hardware is bound to be different. Cut and paste to your heart's content. Other than that, it would mean searching the web for a sample from a system similar to yours.
If you are wanting a sample, hear is my xorg.conf from Gloria. Remember it will take editing on your part - your hardware is bound to be different. Cut and paste to your heart's content. Other than that, it would mean searching the web for a sample from a system similar to yours.
Code: Select all
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@palmer) Sun Feb 1 20:21:04 UTC 2009
# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Module"
Load "glx"
Load "dbe"
EndSection
Section "ServerFlags"
Option "DontZap" "False"
Option "Xinerama" "0"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
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 "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "LPL"
HorizSync 30.0 - 75.0
VertRefresh 60.0
EndSection
Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
Option "NoLogo" "True"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce Go 6150"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
DefaultDepth 24
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "1280x800 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection