I have not had a need to configure X for a long time--probably
several years. But today I was reviewing some old code and notes,
and they inspired me to try.
My notes described a command, /usr/X11R6/bin/xorgconfig, but it is
gone. In the same directory is the Slackware tool, xorgsetup, but it
didn't work. It produced a screenful of gibberish.
I'm guessing what happened is that X no longer needs, or allows, configuring, and the Slackware tool remains for the benefit of users
with older machines.
What do you, my fellow Slackers, make of this?
I have not had a need to configure X for a long time--probably several
years. But today I was reviewing some old code and notes, and they
inspired me to try.
My notes described a command, /usr/X11R6/bin/xorgconfig, but it is gone.
In the same directory is the Slackware tool, xorgsetup, but it didn't
work. It produced a screenful of gibberish.
I'm guessing what happened is that X no longer needs, or allows,
configuring, and the Slackware tool remains for the benefit of users
with older machines.
What do you, my fellow Slackers, make of this?
-Joe
On 04.05.2025 00:44 Uhr Joseph Rosevear wrote:
I have not had a need to configure X for a long time--probably several
years. But today I was reviewing some old code and notes, and they
inspired me to try.
My notes described a command, /usr/X11R6/bin/xorgconfig, but it is
gone. In the same directory is the Slackware tool, xorgsetup, but it
didn't work. It produced a screenful of gibberish.
xorg is normally configured by xorg.conf and the files in xorg.conf.d,
both in /etc/X11. Is there a reason not to use them?
I'm guessing what happened is that X no longer needs, or allows,
configuring, and the Slackware tool remains for the benefit of users
with older machines.
X11 can still be configured, but many stuff can also be done with
commands or the desktop environment, if you run one.
What do you, my fellow Slackers, make of this?
What do you want to exactly configure?
I have some old xorg.conf files, but none of them worked. I'm trying
to resurrect an old script I wrote which allows one to boot a
Slackware system on a flash drive on different machines, providing a
box name as a boot parameter. The code reads the box name and finds
and uses corresponding rc.inet1.conf and xorg.conf files.
Much thanks! Yes, I have a file xorg.conf.d, although I didn't make it.
It was produced by or included with Slackware, it seems.
Joseph Rosevear <Mail@joeslife.org> wrote:
<<snip>>
Much thanks! Yes, I have a file xorg.conf.d, although I didn't make
it.
It was produced by or included with Slackware, it seems.
Actually, you have a directory /etc/X11/xorg.conf.d/
And you probably have a default file there named 10-libvnc.conf that's entirely comments. You can put your own files there, too, starting with
two digits and a dash, and startx will execute all those files in
numerical order.
I have just one extra file there called 11-monitor.conf containing just
Section "Monitor"
Identifier "HDMI-1"
### Option "PreferredMode" "2048x1152"
Option "PreferredMode" "3840x2160"
EndSection
to increase the default resolution (commented as "2048x1152")
on my connected HDMI-1 that startx starts up with. (Run xrandr with no
args to see all that stuff.)
And you can have lots of different kinds of Section blocks,
each with lots of different commands, allowing you to configure just
about anything X-related. And there's a whole bunch of documentation
about all that, but I'm not recalling where it is. Somebody want to
remind us about that?...
On 04.05.2025 08:09 Uhr Joseph Rosevear wrote:
I have some old xorg.conf files, but none of them worked. I'm trying
to resurrect an old script I wrote which allows one to boot a Slackware
system on a flash drive on different machines, providing a box name as
a boot parameter. The code reads the box name and finds and uses
corresponding rc.inet1.conf and xorg.conf files.
What do you need to configure at X11?
If there is nothing you need to change at X11, don't mess with it. Many
old configs aren't needed nowadays in most situations.
Actually, you have a directory /etc/X11/xorg.conf.d/
And you probably have a default file there named 10-libvnc.conf that's entirely comments. You can put your own files there, too, starting with
two digits and a dash, and startx will execute all those files in
numerical order.
I have just one extra file there called 11-monitor.conf containing just
Section "Monitor"
Identifier "HDMI-1"
### Option "PreferredMode" "2048x1152"
Option "PreferredMode" "3840x2160"
EndSection
to increase the default resolution (commented as "2048x1152")
on my connected HDMI-1 that startx starts up with. (Run xrandr with no
args to see all that stuff.)
And you can have lots of different kinds of Section blocks,
each with lots of different commands, allowing you to configure just
about anything X-related. And there's a whole bunch of documentation
about all that, but I'm not recalling where it is. Somebody want to
remind us about that?...
This invocation checks to see if file /etc/X11/local/xorg.conf-<box>
differs from the current xorg.conf
On Mon, 05 May 2025 06:27:02 +0000, Joseph Rosevear wrote:
This invocation checks to see if file /etc/X11/local/xorg.conf-<box>
differs from the current xorg.conf
As most systems today don't have any rather complete xorg.conf file I
would instead suggest to check if a
/etc/X11/local/xorg_custom.conf-<box>
differs from /etc/X11/xorg.conf.d/99-custom.conf
regards Henrik
On Mon, 5 May 2025 16:33:48 -0000 (UTC), Henrik Carlqvist wrote:
As most systems today don't have any rather complete xorg.conf file I
would instead suggest to check if a
/etc/X11/local/xorg_custom.conf-<box>
differs from /etc/X11/xorg.conf.d/99-custom.conf
regards Henrik
Thanks for the reply.
Yes, I see now that something like that might in fact be needed. Perhaps
I would simply treat the whole xorg.conf.d directory in the same manner
as xorg.conf, replacing it with xorg.conf.d-<box> when it differs from
the current xorg.conf.d?
... And there's a whole bunch of documentation about all that, but I'm
not recalling where it is. Somebody want to remind us about that?...
Currently in my new box (2021) there are no directives in directory /etc/X11/xorg.d/ and those in directory /usr/share/X11/xorg.d/ are not
used because are to correct special hardware cases.
Only if You have very old hardware, not detectable by udev, You have to
use a configuration file.
On 2025-05-04, John Forkosh wrote:
... And there's a whole bunch of documentation about all that, but I'm
not recalling where it is. Somebody want to remind us about that?...
I hope that you mean ...
/usr/man/man5/xorg.conf.5.gz
/usr/man/man5/xorg.conf.d.5.gz
Only if You have very old hardware, not detectable by udev, You have to
use a configuration file.
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 65 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 00:46:52 |
| Calls: | 862 |
| Files: | 1,311 |
| D/L today: |
10 files (20,373K bytes) |
| Messages: | 264,186 |