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…)

Updates – Site, Sound, Shikaka

Shikaka by TheNeknowWow man, it has been ages since I contributed in any way towards my blog. I suppose it cannot be called a blog as a blog gets updated. This, I’m afraid, has not been the case with my little home on the web.

I’ve updated the back end of WordPress to the latest version and while I was at it, I realized that the theme I was using would have looked good back in my younger days or, worse yet, the days of Geocities. In light of that, an update and change was needed. I scratched deep & hard, not to mention thought about it for quite some time(about 3 minutes) and decided on dropping all fancy crap and instead go with a smooth, responsive and open look.

I might, at some point, decide to add more images and perhaps a real logo but until that day decides to roll in, this will be the future. If I’m really honest with myself I can admit that the old logo looked horrible. I’m not even sure if you can call it a “logo” by today’s standards. Heh, what a flop.

Work has been insanely busy lately. But busy in the best sense of the word: Toys. I’ve been getting new toys every week and have been worse than a kid at Xmas. I have been actively involved in the Raspberry Pi scene and with that came some really interesting projects.

But, more of that in a while.

 

Raspberry Pi kiosk mode with Chromium

Yes, I’ve been playing. Here’s another handy little tip.

See, I initially used Midori browser but the friggin’ thing kept on crashing no matter what I did. After trying a couple of tweaks it kept on playing the memory leak game(Midori has the memory leak, not me) so I figured stuff it and slapped on Chromium. 

Step 1

Install chromium, x11-xserver-utils and unclutter:

sudo apt-get update && apt-get upgrade -y
sudo apt-get install chromium x11-xserver-utils unclutter

Install some fonts to make it a little more sexy:

sudo apt-get install ttf-mscorefonts-installer

(more…)

\