2014-04-03, 15:15
(2014-04-03, 13:08)FishOil Wrote:(2014-04-03, 01:39)herbieUK Wrote: My autostart.sh file reads
StartCode:# RGB fix
DISPLAY=:0 xrandr --output HDMI1 --set "Broadcast RGB" "Full"
# IR fix
modprobe -r nuvoton-cir
echo "auto" > /sys/bus/acpi/devices/NTN0530\:00/physical_node/resources
modprobe nuvoton-cir
ir-keytable -p NEC,rc-6 -w/storage/.config/apple
End
Any help please or pretty please?
Isn't the autostart.sh supposed to be executable?
Is that the complete content of your file?
Where is the shebang?
Hi
That is the complete content of my file
I copied/pasted if from posts in this thread.
Novice that I am, I don't know what else I'd need to add to make it executable.
Tough I just read up on the OE wiki, do I need to add in :
Start
Code:
echo "#!/bin/sh" > /storage/.config/autostart.sh && chmod +x /storage/.config/autostart.sh
End
On another note, re my earlier posts about the strange horizontal pixel misalignment, I decided to do a fresh install and used a nightly from a few days earlier and my picture seems to be perfect!
I really thought that after studying this entire thread a few times and taking a whole lot of notes/pastes, that I had a fairly good idea of what to do and what problems I might encounter!!
For now I'll just go making sure my picture is perfect, then I'll try the autostart.sh thing to see if I can get my Apple Remote working..
Could anyone clarify if it's still necessary to add both of these to autostart.sh ?
I have BIOS 25 installed on my i5
Start
Code:
cd /storage/.config
touch autostart.sh
chmod 0777 autostart.sh
nano autostart.sh
# RGB fix
xrandr --output HDMI1 --set "Broadcast RGB" "Full"
End