
Sudo nano /etc/xdg/lxsession/LXDE-pi/autostartĪs an FYI, here is my FEH command that I put in the. Now we have a functioning shell script to run the command, I'd recommend testing it by. Next we need to make the file executable, enter this into the console. Permissions were an issue so don't forget to use: Then add your rdesktop command to the file. In both cases you are adding in the autostart file the the Pi Zero add the entry to the autostart file located at /home/pi/.config/lxsession/LXDE-pi.įor the Pi3B I had to go /etc/xdg/lxsession/LXDE-pi

To then auto-launch the command window on a reboot, this is where there were some differences. To show it works, simply launch the command window, IF FEH does not launch there is a problem. You can launch FEH automatically when you open the Command Window: While both where the latest updated version (Dec 2019) they did have a difference! In Rasbian it does boot to the full GUI for myself, nothing custom. I have performed this on both a Raspberry Pi3B and a Zero. This is the most elegant solution to auto-launch FEH in Rasbian. rwxr-xr-x 1 root root 78 Feb 28 19:27 /home/pi/startup.sh Here is the output of ls -al /home/pi/startup.sh: $ ls -al /home/pi/startup.sh

Is there something like terminal I could use (I tried but it didn't work either.
#Xscreensaver raspberry pi at startup install#
Install to use to execute the script orĢ. Does that mean is the program (webbrowser) it uses to open the script with? What else could I:ġ. I tried changing (within the autostartfile) /home/pi/startup.sh /home/pi/startup.sh. When I reboot my Pi, it opens a web browser and downloads the startup.sh file but it doesn't seem to execute it. The autostart now looks like: -profile -desktop -profile /home/pi/startup.sh I then added an entry to the autostart file located at My startup.sh script looks like this: #!/bin/bashīash feh -Y -x -q -D 5 -B black -F -Z -z -r /media/ The location of the startup.sh file is: /home/pi I then created a shell script and modified its permissions so it runs chmod 775 /startup.sh.

I have a NAS and I have created the mounts in FStab so I mount a folder called pictures to /media. I'm new to Linux but have been in IT for years. I am having some problems with getting feh to load at startup.
