Closed bytesByHarsh closed 5 years ago
If in some pi board LXDE-pi is there and in some only LXDE then it can be advised to check using 'ls' command.
Not according to this thread on raspberry pi forums, it says:
"should have been "/LXDE-pi/" rather than "/LXDE/". Before Raspbian started including the users autostart (and switched from LXDE to LXDE-pi) you had to create your own "/lxsession/LXDE/autostart" to override the one at "/etc/xdg/". If you had used "nano ~/.config/lxsession/LXDE-pi/autostart" you would have been editing the correct autostart, but using "/LXDE/" it created a new file instead, but of course it won't use it."
More confirmation here that LXDE-pi is the new name. You can check this log file to see what config file is being used:
/home/pi/.cache/lxsession/LXDE-pi/run.log
mine says:
** Message: utils.vala:68: User config used : /home/pi/.config/lxsession/LXDE-pi/autostart
Interestingly this log also says:
** (lxsession:480): WARNING **: app.vala:86: Failed to execute child process "xscreensaver" (No such file or directory)
I am a bit confused. I have the following directories.
pi@raspberrypi:~/.config/lxsession $ ls
LXDE
pi@raspberrypi:~/.cache/lxsession $ ls
LXDE LXDE-pi
So this means should I create LXDE-pi in /.config/lxsession ? Also in my run.log for both LXDE and LXDE-pi i have no message for User config used, but yes xscreensaver warning message is there.
I take it you have two different raspberry pi devices then? one with LXDE and one with both? What is the "lsb_release -a" output from each of these?
closed due to inactivity
To Disable Energy Star and Screensaver path should be:
nano ~/.config/lxsession/LXDE/autostart
not nano ~/.config/lxsession/LXDE-pi/autostart