Home › Forums › Forums › Technical Support for BerryIMU › [Resolved]Unable to open I2C bus › Reply To: [Resolved]Unable to open I2C bus
Regarding Blanking, I needed to update that page… there has been a resent change that breaks the use of xset directly in the autostart.
The page now has;
Disable X blanking
1. Install X server utilities, they will most likely already be installed.
sudo apt-get install x11-xserver-utils
2. Create a small script which is used to change the screen saver settings.
sudo nano /etc/X11/Xsession.d/disableblank.sh
3. Add these three lines.
xset s off # don't activate screensaver
xset -dpms # disable DPMS (Energy Star) features.
xset s noblank # don't blank the video device
4. Change the permissions on the file.
sudo chmod +x /etc/X11/Xsession.d/disableblank.sh
5. Force the file to run when X starts
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
Or /etc/xdg/lxsession/LXDE/autostart on older version of Raspbian
And add this line to the bottom;
/etc/X11/Xsession.d/disableblank.sh
Mark --OzzMaker.com --
