Enable desktop on the raspberry pi

Raspberry Pi Asked by diCoy on January 2, 2022

I was trying out booting my pi4 into a chromium kiosk mode for a demo and ran the commands from the following post:
Open chromium full screen on start up

@xset s off
@xset -dpms
@xset s noblank
@chromium-browser --kiosk 

Now when I went to that file again it seems to be empty and I’m not able to revert the change.

I tried looking for the reverse commands like

@xset s on
@xset s blank

Here’s the output of I got from the commands in the comments:

[email protected]:~ $ ls -l /home/pi/.config/lxsession/LXDE-pi/autostart
-rw-r--r-- 1 root root 37 Jul 24 16:05 /home/pi/.config/lxsession/LXDE-pi/autostart
[email protected]:~ $ cat /home/pi/.config/lxsession/LXDE-pi/autostart
@xset s on
@xset -dpms
@xset s blank

Add your own answers!

Related Questions

Virtual ethernet interface on Raspbian buster

1  Asked on January 9, 2021 by ste


Unattended upgrade removed core packages

0  Asked on January 5, 2021 by olivier


Raspberry Pi + NRF24L01 timeout after a period of time

1  Asked on January 2, 2021 by gordon


GPIO pin PULL_DOWN would

1  Asked on December 30, 2020 by cronbachalpha


pi’s password is lost in every reboot

1  Asked on December 29, 2020 by totoro


Maximum Wi-Fi clients on Pi 3 hotspot

3  Asked on December 28, 2020 by oliverpool


How to get more than one uart interface

12  Asked on December 24, 2020 by tauran


First time setup – no HDMI output

1  Asked on December 24, 2020 by user2694019


Do you have a stable Kodi + TV HAT system?

0  Asked on December 22, 2020 by whynine


Hardware PWM for Python 3.5 or higher?

1  Asked on December 14, 2020 by nic


Make Raspberrypi boot from USB first

1  Asked on December 13, 2020 by pokerface


Unable to boot custom built alpine image

0  Asked on December 12, 2020 by hosh-sadiq


Unable to connect raspberry pi Minecraft server

1  Asked on December 11, 2020 by guiseppe


“last reboot” command not returning correct date

1  Asked on December 10, 2020 by aiden-wilkins


Touchscreen with Qt QML eglfs

1  Asked on December 8, 2020 by velkan


Ask a Question

Get help from others!

© 2023 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir