Get the latest tech news

Writing GUI applications on the Raspberry Pi without a desktop environment (2019)


Jan 23, 2019 • Avik Das In a previous article, I explained how I set up a TFT LCD screen on my Raspberry Pi. Because I had been previously using my Pi as a headless server, I hadn’t installed a desktop environment.

If you connected your Pi to a regular monitor or TV, or you’re using another type of HDMI-based screen, you can display graphics by writing to this file. Being able to create a lightweight application on top of my existing server makes me feel comfortable I’m not wasting too many resources on my Raspberry Pi. While this may be mostly a theoretical concern, the resulting knowledge I’ve gained from this exercise has helped me understand more about my new screen, and about Linux in general.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Raspberry Pi

Raspberry Pi

Photo of GUI applications

GUI applications

Photo of desktop environment

desktop environment

Related news:

News photo

Linux updates improve Raspberry Pi performance and efficiency

News photo

Kernel tweaks improve Raspberry Pi performance, efficiency

News photo

Suspend To Idle Under Linux Being Worked On For Raspberry Pi