How to get mouse configured in X(org)?

Chris bsd-lists at BSDforge.com
Sat Aug 1 01:02:46 UTC 2020


On Fri, 31 Jul 2020 21:36:33 +0000 Mark Linimon linimon at lonesome.com said

> What is the output of the script mentioned in:
> 
>  https://lists.freebsd.org/pipermail/freebsd-x11/2020-February/025004.html
> 
Thanks for the prompt, and thoughtful reply, Mark! :-)

OK I've been following CURRENT, and was aware of that. As I
needed it the first time around with the new Xorg. But I
hadn't imagined I would require any outside helpers on STABLE. :(
Anyway. I managed to get a working xorg.conf.new running against
Xorg -config. So I added only what I thought I absolutely needed
to /usr/local/X11/xorg.conf.d/ and fired up startx with my chosen
DE in .xinitrc. Only to find I _still_ had no mouse, nor control
of the WM. My only recourse was to bounce the box. :-(
I had to scrub the pool, and blow away all the X related things
in ~/ && try again. I was finally successful after creating the
following 4 files:
server-layout.conf
Section "ServerLayout"
	Identifier  "X.org Configured"
	Option      "AutoAddDevices" "Off"
	Option      "Log"  "sync"
EndSection
driver-nvidia.conf
Section "Device"
	Identifier  "Card0"
	Driver      "nvidia"
	BusID       "PCI:2:0:0"
EndSection
screen-layout.conf
Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection
keyboard-zap.conf
Section	"InputClass"
	Identifier	"KeyboardDefaults"
	Driver		"keyboard"
	MatchIsKeyboard	"on"
	Option		"XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

Altho the keyboard-zap.conf is probably unnecessary. I added
it in hopes of being able to bail out as opposed to bouncing
the box.

I can't believe what a disappointment X has become. It's almost
a different incantation for every install. I'd understand on
CURRENT/release. But not on STABLE.

I'm very grateful for your lending a hand, Mark. I don't
mean to point any of my frustration at/towards you. :-)

Thanks, again! :-)

--Chris
> 
> mcl




More information about the freebsd-stable mailing list