Skip to main content
Share Your Experience: Take the 2024 Developer Survey
34 votes
Accepted

Adjusting the Brightness of the Official Touchscreen Display

The driver for the screen provides an interface through /sys/. To turn the screen on you can use the command: echo 0 > /sys/class/backlight/rpi_backlight/bl_power and to turn it off: echo 1 > ...
Jacobm001's user avatar
  • 11.9k
28 votes

How do I prevent the screen from going blank?

The other solutions here did not work for me (fresh Raspbian, boot to GUI). Instead, this worked: Open up /etc/lightdm/lightdm.conf using your favorite text editor (I prefer nano). Look for the line #...
Aloha's user avatar
  • 7,156
26 votes
Accepted

How to permanently hide mouse pointer or cursor on Raspberry PI?

I simply added a nocursor option as follows in the file (/etc/lightdm/lightdm.conf) xserver-command = X -nocursor and it worked as it should. No cursor is displayed whatsoever. You can still put your ...
ThN's user avatar
  • 1,063
23 votes

Keep HDMI off on boot

There is a few things you can try: Edit /etc/rc.local and add the following lines above exit 0: Disable HDMI /usr/bin/tvservice -o this will turn off the display, but only somewhere during the boot ...
Eugen's user avatar
  • 488
18 votes
Accepted

Using Pi 3 for wireless display/miracast

I have developed lazycast that is designed to work on Raspberry Pi 3. lazycast follows (most of) the wifi display specification (commercially known as Miracast) and uses wifi p2p (commercially known ...
homeworkc's user avatar
  • 196
12 votes

Adjusting the Brightness of the Official Touchscreen Display

I've made a Python package for this: github.com/linusg/rpi-backlight. Now you don't need to implement this yourself anymore. (GIF is outdated because API was changed quite a bit in v2, sorry... Below ...
linusg's user avatar
  • 442
12 votes

Raspberry Pi DPI only works over short distances. Why?

All cables have a length limit. When you exceed that length limit, the signals in the cable attenuate due to resistance of the cable, get deformed due to capacitance and inductance in the cable, and ...
user10489's user avatar
  • 991
10 votes

How do I prevent the screen from going blank?

To prevent the screen from going blank try adding consoleblank=0 to the end of the first line of /boot/cmdline.txt Source
Tim Penner's user avatar
9 votes

How to Wake the Raspbery Pi Display Without Disabling The Screensaver

You have to define which display to use first : export DISPLAY=:0 xset s reset Hope this helps
Steve x slapps.fr's user avatar
8 votes

Screen Flashing

In /boot/config.txt, uncomment the line with config_hdmi_boost and change its value to =6. The suggested value of 4 was still too low for a Samsung 205BW monitor connected to a Raspberry Pi 3.
Serge Stroobandt's user avatar
8 votes
Accepted

Black frame around 1080p screen

In your /boot/config.txt file try changing disable_overscan=1 and see what that does for the borders. If that does not help, leave disable_overscan=1 and then try changing these values as well. ...
Kenneth Spear's user avatar
7 votes

Screen Flashing

I'm not sure this will help, but had this similar problem on my Raspberry (old 1 Model B) also yesterday. I had not noticed it before because I only recently started using it with X and a monitor. ...
Limealot's user avatar
7 votes
Accepted

Why can't you connect Raspberry Pi to a Laptop via HDMI

Most laptop hdmi ports are output not input. They are designed to connect a laptop to a monitor. There are a few that have hdmi input. You could use VNC Viewer on your laptop to view the Pi screen (by ...
CoderMike's user avatar
  • 6,997
6 votes

Error when attempting to create Python GUI using Tkinter: "no display name and no $DISPLAY environment variable"

I solved it with these two commands: export DISPLAY=0.0 xhost +
O. Aba's user avatar
  • 61
6 votes

Error when attempting to create Python GUI using Tkinter: "no display name and no $DISPLAY environment variable"

Here is my solution. This works for SSH terminal, or crontab: import Tkinter import sys import os if os.environ.get('DISPLAY','') == '': print('no display found. Using :0.0') os.environ....
Blee's user avatar
  • 61
5 votes

Screen Flashing

I finally solved this issue by changing /boot/config.txt. By setting hdmi_group=1 and hdmi_mode=25, which will set the refresh rate to 100Hz.
bert's user avatar
  • 51
5 votes

Connect Raspberry Pi to Macintosh 128k's cathodic screen

It will be difficult, since little to no standards were employed. It was a cutting edge device at the time, almost every part of it was made for purpose, since there weren't all that many established ...
Jodes's user avatar
  • 562
5 votes
Accepted

7 segment display connecting through DSI Display port?

There's no way for anyone to know anything about that board and where its connections might go. I absolutely would not connect it to the Pi's DSI connector without first knowing exactly what each of ...
goobering's user avatar
  • 10.7k
5 votes

What models of Raspberry Pi is the official 7" touchscreen compatible with?

It is not compatible. The Pi Zero (all models so far) lacks the required connector. According to Element 14, the display is compatible with: Raspberry Pi 3 Model B Raspberry Pi 2 Model B Raspberry ...
Daniele Procida's user avatar
5 votes

Is it possible to power a 3b+ and the display with the poe hat?

I had the exact problem as you. Found it was not possible due to the form factor of the Pi 3B+ when a PoE Hat affixed to it to fit in the "Smarti Pi Touch" case. Used a PoE Splitter (£9.90 in VAT ...
F1Linux's user avatar
  • 1,667
5 votes

open /dev/dri/card0: No such file or directory - on Rpi4

With ls -l /dev/dri you would be able to see the major and minor ID of the devices, on the boards that have them. Here, RPi4 with 5.10.52-v8+, it is: crw-rw----+ 1 root video 226, 0 25. Jul 11:25 ...
Antonymous Coward's user avatar
5 votes

Raspberry Pi DPI only works over short distances. Why?

Your Hyperpixel has a resolution of 800 x 480 x 60fps, so the data rate is 23,040,000 pixels per second, plus some gaps for synchronisation. You can't send such a fast signal over an arbitrarily long ...
jayben's user avatar
  • 595
4 votes

How do I prevent the screen from going blank?

What worked for me was editing ~/.config/lxsession/LXDE-pi/autostart and commenting out the screensaver, all the other xset commands didn't seem to affect it when it is started here: @lxpanel --...
Jason Goemaat's user avatar
4 votes
Accepted

Is it possible to use multiple monitors or displays?

Almost seven years after this question was asked, Raspberry Pi 4 includes support for dual displays. From Raspberry Pi 4 product page: with Raspberry Pi 4, you can run two monitors at once — and ...
Tahir Akhtar's user avatar
4 votes

Is there any way to get redshift to work?

The closed source graphics driver doesn't expose gamma ramps, which are what redshift relies on. To get gamma ramps, you'll need to switch to the open source graphics driver. Using raspi-config (...
Emma Anholt's user avatar
4 votes

How to permanently hide mouse pointer or cursor on Raspberry PI?

To work with any X server (I'm using the stretch version), Edit the /usr/bin/startx file and change the defaultserverargs line to: defaultserverargs="-nocursor"
user3549962's user avatar
4 votes

How to set the video resolution over composite?

I read at https://discourse.osmc.tv/t/composite-sd-resolution-of-osmc-skin-video-output/5445/3) that Composite is fixed resolution (720x480@60i for NTSC, 720x576@50i for PAL). So you cannot change ...
Frank Breitling's user avatar
4 votes
Accepted

How to connect a Raspberry Pi to an RCA based display with sound?

a display that has only RCA as output I presume you mean 3 female inputs, 2 for audio and one for composite video, which in North America are generally red, white, and yellow. The 3.5mm jack on the ...
goldilocks's user avatar
  • 59.1k
4 votes

Add 24 monitors to PC using Raspberry Pi?

It turns out that there's a reasonably well established project for doing just this. The PiWall project's overview states: A master computer, which can be either a Raspberry Pi or a Linux PC, is ...
goobering's user avatar
  • 10.7k

Only top scored, non community-wiki answers of a minimum length are eligible