Mike Bird composed on 2022-06-24 11:31 (UTC-0700):
Felix Miata wrote:
> Mike Bird composed on 2022-06-24 01:21 (UTC-0700):
> > /home is not a good place for a random
"setup" script.
> It's conveniently there for any ordinary user,
all of which are me, to
> change at will, on a multiboot system on which /home/ is common to all
> installations. It's actually called from a symlink somewhere in /etc/X11/,
> the exact location of which varies by distro. Where would you put such a
> file?
The official answer would probably be /usr/local/bin
although personally
I use /IMS-Tools for ancient historical reasons.
/home already has a well-defined use-case and down the
line you may find
having a random script there interferes with some tool you might want to
use to monitor disk usage or clean temporary files or update profiles.
Of course you're the administrator of your systems
and know them better
than I do but I wouldn't recommend anyone to copy your placement without
understanding the trade-offs.
The issue here is /usr/local/bin is really for the admin, not ordinary
users. Another issue here is keystroke count, because as likely as unlikely
not in X currently, cd .. or less ../setup or nano ../setup rather than
mount... + sudo... + sudo... since ordinary users normally don't have write
permission on files in /usr/local/bin. This setup file is currently nearly
1,000 lines, of which only one normally does not begin with "#", and the only
task is to choose which # to move to the line where # currently is absent. All
of this is primarily because of X's insistence on not allowing the computer to
compute either the actual physical, or an alternate ideal, DPI to employ based
upon EDID, or EDID ± configured deviation.
https://bugs.freedesktop.org/show_bug.cgi?id=23705
xserver forces 96 DPI on randr-1.2-capable drivers, overriding correct autodetection
https://bugs.freedesktop.org/show_bug.cgi?id=41115
Please add option to avoid forcing of 96dpi
--
Evolution as taught in public schools is, like religion,
based on faith, not based on science.
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata