Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Feb 2020 15:36:19 +0100
From:      Michael Gmelin <freebsd@grem.de>
To:        "freebsd-x11@freebsd.org" <freebsd-x11@freebsd.org>
Subject:   Script to help find xorg configuration issues
Message-ID:  <20200222153619.44974c3d@bsd64.grem.de>

next in thread | raw e-mail | index | archive | help
Hi,

I've been helping others configuring X11 with UDEV/evdev for quite some
time now. Since UDEV recently became the default option on 12.1[0], I
thought that having something automated (yet non-intrusive) to
help users fix their setup might be useful.

To achieve this, I created a small/hacky script today that checks all
the usual problems I found while helping people figuring out what's
wrong with their setup.

You can find it on github:
https://github.com/grembo/xorg-udev-setup-check

Direct download link:
https://raw.githubusercontent.com/grembo/xorg-udev-setup-check/master/xorg-udev-setup-check.sh

Usage: ./xorg-udev-setup-check.sh [-hdpi]
   -h print this help
   -d skip drm checks
   -p skip package version checks
   -i only show errors (suppress info)

You should be able to run it as an unprivileged user - fixing things
will require root privileges though.

I didn't test it thoroughly, so feel free to open pull requests
on github - functional improvements only please, don't try to improve
the code quality.

Cheers,
Michael

[0]https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196678

-- 
Michael Gmelin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200222153619.44974c3d>