AOC USB Displaylink Raspberry Pi

AOC_e1659FwuThere’s good news and bad news:

Bad News:

You expected to struggle with this. You expected that this will be as tricky as it used to be. Rotten luck, chum.

Good news:

Create a file called called:

60-plugable.conf

(more…)

Autorun apps Raspberry Pi on Raspbian GUI / Terminal

Raspberry Pi 3Sometimes you want stuff to run at startup, be it an application or a forced setting. This is fairly easy to achieve in Rasbpian, here’s how:

You can use the Raspbian preferences via the GUI to cause the pi user to be auto logged in at boot up and the GUI to automatically run. However, if you need to run with root privileges due to needing IO pin control (PLEASE NOTE: It is not advised to run as root) then set the Raspbian preferences to boot to the command line. Now open this file by editing it(you can use your favourite editor, for this example we use nano):

sudo nano /etc/rc.local

Before the “exit 0” line in it add the following line:

#Auto run the GUI as root
sudo startx

Save it by pressing Ctrl+X, ” Y“, ENTER

Reboot your RPi and it should automatically run the GUI as the root user.

Setting An Application To Automatically Run In The GUI (more…)

Turn off Screensaver – Raspbian / Raspberry Pi

Does that annoying screensaver keep popping up? Is the screen going blank another thorn in your side? No problem:

First you have to edit the autostart file

For the standard Pi user:

sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart

For the root Pi user (if running the GUI with “sudo startx” for instance when running apps that access the IO pins):

sudo nano /root/.config/lxsession/LXDE-pi/autostart

Unfortunately in recent updates, the above has changed in that really annoying way that happens all to often with Linux versions, but seems to be the current file that needs to be edited. It used to be these but they no longer seem to work with the latest version of Raspbian:

sudo nano /etc/xdg/lxsession/LXDE/autostart
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart

(more…)

Grow the fuck up!

Red

I had an imaginary friend named “Red” when I was 5 years old.

We would play in my room whenever my mum and father would fight, which means we played a lot!

My father would drink a lot, he didn’t really take care of me or my brother. My mum tried to take care of us, but she was always at work, or busy working.

One day my father packed his bags while my mum was at work. He started walking to the front door and said to me and my brother:

I am leaving, tell your mother when she gets home

I knew I couldn’t stop him but to slow him down I said:

Wait! You need to say good by to Red first!

He slowly looked to me and replied:

Grow the fuck up!” and left.

That was the last thing my father ever said to me.

That was the last day I ever saw Red.

\