There's a fairly plausible sounding explanation for your problem in this thread on the raspberrypi.org forums.
That is the global autostart file, and works for all users... unless
they have a user autostart. If the user has an autostart file the
global one is ignored and the personal autostart is used. User
LXDE (the desktop of Raspbian) uses LXPanel. LXPanel has several "applets" that aren't actually connected to each other. The "pinned applications" (whose official name is "Application Launch Bar") applet is one, for example. Another one is the "Task Bar (Window List)". In Windows, those are nicely integrated, but not in LXDE, ...
Experienced the same issue. Here are my findings:
Check if the /home/pi/.config/lxsession/LXDE-pi/autostart file exists. If it exists, it will be used instead of /etc/xdg/lxsession/LXDE-pi/autostart.
View logs (after reboot) in /home/pi/.xsession-errors:
$ cat .xsession-errors
Xsession: X session started for pi at Sat 30 Jul 23:14:04 UTC 2016
I log into my Raspberry Pi remotely, and here is how I shut it down:
Execute the command:
sudo shutdown -h now
Wait until the LEDs stop blinking on the Raspberry Pi.
Wait an additional five seconds for good measure (optional).
Switch off the powerstrip that the Raspberry Pi power supply is plugged into.
Since I use a remote display, I don't ...
First, the rationale for this:
"And with regards the clock plug-in – yes, I’ve disabled the config for the time being. The clock plug-in was a nightmare from a UI point of view. For example – popping up the calendar gives you a calendar window in which you can move a highlight to show a different day – for no purpose at all. It contained a lot of kludgey ...
Jonathan's answer was almost how I managed to do it on my Respberry Pi 4 (running Raspbian Buster), but with some small alterations (I would've commented under his answer if I could, but not enough rep).
In a terminal window:
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
Then append the following to the end of the file and save: /usr/bin/chromium-browser -...
1/. To remove all desktops I just did (go make a pot of coffee. Take a walk this will take a while)...
apt-get remove --auto-remove --purge libx11-.*
2/. Then I installed deborphan to get rid of orphaned files...
sudo apt-get install deborphan
If you want to see what has been orphaned do this...
3/. Then I removed all orphaned files...
Changing the format of the time using either Ken's or Nathan's way works, but there is another difference between %R and %r. %r also shows the seconds ticking off. If you want them, great. If not, then you need to specify a different format, like %I:%M %p.
For a full list of formatting codes, see Customizing The Clock
Follow the step-by-step guide provided by yours truly :-)
First install XFCE4 (consider also installing the xfce4-goodies package for extra visual candy)
sudo apt-get install xfce4
Then list all installed LXDE-related apps
sudo dpkg --get-selections | grep "^lx"
...and remove them
sudo apt-get remove lxappearance lxde lxde-* lxinput lxmenu-data lxpanel ...
Set or uncomment, the following lines, in /boot/config.txt
hdmi_mode=16 # (or any other pi resolution you want, 16 is for 1080p)
Reboot your Pi (sudo reboot)
If your Raspberry Pi is frozen then you can not enter to ssh or console, then this helps. I was broke my few SD cards before knew this:
Hold down both Alt+PrintScreen, and while holding those keys, hit the following keys in sequence, one at a time, with a few seconds pause between them.
Alt + PrintScreen + R E I S U O
Alt + PrintScreen + R E I S U B (...
I found that you could load the sound drivers and stuff on Raspbian with:
sudo modprobe snd_bcm2835 && sudo amixer cset numid=3 1
The first command loads the sound driver module, the second I think sets the sound output to the 3.5mm socket.
You can then use alsamixer to adjust the volume, and speaker-test -c2 -t sine to test the speakers
You can ...
Ok, fixed it with the instructions below. I add this answer because this is quite specific (run when desktop is loaded).
open up the file using nano:
sudo nano /etc/xdg/lxsession/LXDE/autostart
add the following line to the bottom of the file (just as last line)
save and reboot!
The auto-mounting of USB devices in Raspberry Pi is handled by the GUI/DE (as suggested helpfully by multiple folks here), which is based on LXDE, and specifically, it's controlled by PCManFM, the file manager. To disable this behavior, open the File Manager, and from the Edit menu, choose Preferences. Pick the Volume Management tab/item.
The second ...
Yesterday I downloaded NOOBS and created a new micro SD installer. After Raspian installation everything looked OK at first until I looked at autostart. I found that the folder /home/pi/.config/lxsession did not exist so I created it and the folder /home/pi/.config/lxsession/LXDE-pi. I then created the file autostart as an empty file and added my autostart ...
Ok I am giving a shot at this, try following the mentioned steps (type in your Terminal):
create a folder called 'lxsession' in your hidden folder called .config:
$ mkdir /home/pi/.config/lxsession
Depending on your Raspberry Pi Version you can try :
$ mkdir /home/pi/.config/lxsession/LXDE-pi/
$ mkdir /home/pi/.config/lxsession/LXDE/
now create a ...
Edit the file /etc/lightdm/lightdm.conf by, for example using nano:
# nano /etc/lightdm/lightdm.conf
First find the line xserver-command=X, you can do this in nano using:
uncomment the line and add:
So it looks like this:
The installation of LibreOffice had hung the system because it was out of space. During boot-up, there were a number of warnings that popped up about insufficient space and files failing to be created. The space issue had resulted in the desktop environment not loading up after the boot completed. I solved this by pressing Ctrl+Shift+F1 after boot completed ...
While I realise that this is a bit old now, I have been doing just this and thought I'd share the method I used as it was really straight forward:
I copied the mp4 file into the /home/pi/Videos folder.
I created an autostart folder here: /home/pi/.config/autostart
In this autostart folder, I created a file called .desktop and put in the following:
I also lost the Menu button on the tool bar and there is no easy way to get it back. I ended up using a terminal to copy the root panel to a shared area, then copied the panel to the user pi.
Ctrl+Alt+F1 to get a terminal
login as root
cp panel /usr/share/lxpanel/
login as pi
cp /usr/share/lxpanel/panel ~/.config/...
There is multiple ways to power the pi off! Just pulling the plug without proper shutdown could corrupt your SD card!
To shutdown use sudo shutdown -now or sudo shutdown -time tell shutdown in minutes.
To reboot use sudo reboot to restart and sudo reboot -time in minutes to power back on and or use just sudo reboot to restart now sudo shutdown without the -...
To avoid the SD card corruption issues you should always shut down the OS properly. You can automate this by using a power controller hardware solution and a script that is triggered through a GPIO port signal, for example (in addition to the Pi Supply mentioned above):
RemotePi Board 2015
The RemotePi Board in the last link has the ...
I was able to solve the problem with a cron task.
First I installed the packages:
sudo apt-get install gnome-schedule
The I edited the crontab via:
I added a task after each reboot where I put the browser startup:
@reboot /home/pi/startupscript &
lxpanel is based off of fbpanel. There's info on the file format at his github, and the associated project page. https://github.com/aanatoly/fbpanel
I was looking for info as well, because in the README, he says "Legal values are..." then specifies "systray" as one of the options - however, it's unusable.
Didn't find out 'til later on, ...
The logo you are looking for is at usr/share/raspberrypi-artwork/raspitr.png
Then right click the taskbar, panel preferences, panel applets, click the "menu" applet, click preferences, and enter the above path/filename for the icon location.
The icon changes back to the raspberry logo that was there originally.