

Then edit autostart and add those 2 lines. To recover, right click anywhere on the screen and select terminal from the menu.

If you have made an autostart file without these lines, the desktop will boot to a blank (Openbox) screen.

User (Specific Users) *** Default in 'Stretch' and earlier OS releases ***.System (All Users) *** Default in 'Buster' and later OS releases ***.There are 4 autostart methods or options: Other methods such as rc.local or cron do not easily handle GUI programs as they attempt to start the app before the Desktop in ready resulting in failure to open. Requires boot to Desktop (GUI) enabled.Īutostart is particularly useful when you need to run Desktop apps or any scripts which require Desktop (GUI). The autostart feature can be used to automatically start just about any app, script or command at boot (User login). Raspbian 'Stretch' and before releases used different defaults as noted below. Note the settings and defaults described below are found in the Raspbian 'Buster' and later RPi OS releases. Last edited by PeniWize 20th June 2012 at 03:32 AM.How to use Autostart - Raspberry Pi OS (Desktop) Sorry about the crippled links but the forum limits post content. I never would have found the solution without the suggestion to investigate the XFCE forum (I didn't know it existed). No more screeensaver automatic start after login. After some investigation of xfconf (see /journal/2008/10/xfconf-a-new-configuration-storage-system and /viewtopic.php?id=80635), I used xfce4-settings-editor to create a new Boolean property named "/startup/screensaver/enabled" in the "xfce4-session" channel and I set its value to FALSE. Search the file for "screensaver_enabled", which you'll find is set by the output of `xfconf-query -c xfce4-session -p /startup/screensaver/enabled`. Upon inspection of that file, I discovered that the screensaver is automatically started by XFCE (by default) in case the machine is resuming from sleep or hibernation. I read /tips#how_to_customize_starting_xfce and found a reference to "/etc/xdg/xfce4/xinitrc". ImageDirectory: /usr/share/backgrounds/images # Written by xscreensaver-demo 5.15 for peniwize on Fri Jun 15 20:47:54 2012.
#XSCREENSAVER 5.15 SERIES#
My video chip set is: 00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07). I'm not very familiar with the configuration of xscreensaver and xfce4. I do not know why it starts immediately instead of after 10 minutes has passed. The screen saver starts and locks the screen shortly after login (usually within four or five seconds), however xscreensaver is configured to start after 10 minutes.
