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:

pi@raspberrypi:~ $ 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
pi@raspberrypi:~ $ cat /home/pi/.config/lxsession/LXDE-pi/autostart
@xset s on
@xset -dpms
@xset s blank

Add your own answers!

Related Questions

Raspberry 4 usbmount not working

5  Asked on December 12, 2021 by papatrexas


RPI 4B – Bluetooth unavailable on Ubuntu 20.04

1  Asked on December 12, 2021 by aymdev


Autostart chromium browser other user than pi

2  Asked on December 12, 2021


3B+ fails to boot Ubuntu mate

1  Asked on December 10, 2021 by washy


What is going on with my GPIO pins?

1  Asked on December 4, 2021 by dubstepzedd


can’t login after modifying .bash_aliases

0  Asked on December 2, 2021 by abstract


Network boot with rootfs on USB3 drive fails with Ubuntu 20.04

1  Asked on November 30, 2021 by peter-wishart


Alpine Linux – Changing/Moving the file system

1  Asked on November 25, 2021 by lisandro-di-meo


3.5 Inch RPi LCD with colors problem

2  Asked on November 25, 2021 by gabriel-schubert


Sub-process /usr/bin/dpkg returned an error code (1)

2  Asked on November 23, 2021 by lolok


PWM issues with pigpio and RPi.GPIO

2  Asked on November 23, 2021


Can I identify my PI by domain name in a LAN?

3  Asked on November 21, 2021 by dorin-botan


Ask a Question

Get help from others!

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