I have a couple of issue which are linked (at least I think they are)

How do I get a bash script to run at startup, it would need to run prior to the 
login screen appearing on the screen.
I have to run a single line bash script at present which is basically a xrandr 
instructions which sets the geometry for my two monitors. Otherwise I get an 
issue where both screens are unreadable and distorted at bootup sometimes.
Before I go any further lets take a step back and outline my setup. I have a 
laptop on a docking station which powers two ext monitors, due to the position 
of the laptop, the laptop screen is normally disabled and I only have the two 
monitor in use. At present I am having to use the laptop screen as it is the 
only screen that will display correctly on bootup, once I have logged in I 
don't use the laptop any further unless the both monitors display are corrupted 
then I will run the bash script from the laptop screen.
At the moment when the laptop boots up I get the customary Debian Grub screen 
asking me to select the normal boot up or the advanced option displayed on the 
laptop top screen. Once I select normal boot, the login box asking for username 
and password pops up. What I want to do is turn the laptop screen off, get the 
two monitors to display correctly (having run the script at some point during 
bootup), do away with the Debian Grub screen and jump straight to the login 
window.
Can anybody offer some suggestions?
Regards
Tim H
-- 
  Next meeting: Online, Jitsi, Tuesday, 2024-06-04 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

Reply via email to