Hot answers tagged

29 votes

How to uninstall X Server and Desktop Manager when running as headless server?

sudo apt-get install deborphan sudo apt-get autoremove --purge libx11-.* lxde-.* raspberrypi-artwork xkb-data omxplayer penguinspuzzle sgml-base xml-core alsa-.* cifs-.* samba-.* fonts-.* desktop-* ...
user avatar
  • 299
21 votes

Raspberry pi autostart of LXDE does not work

There's a fairly plausible sounding explanation for your problem in this thread on the raspberrypi.org forums. /etc/xdg/lxsession/LXDE-pi/autostart That is the global autostart file, and ...
user avatar
  • 10.6k
14 votes
Accepted

Pin applications to task-bar on Raspberry Pi 2

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&...
user avatar
12 votes
Accepted

How to change the clock to 12-hour format in Raspbian?

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 – ...
user avatar
12 votes

How do I turn off my Raspberry Pi?

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 ...
user avatar
  • 121
12 votes

Raspberry pi autostart of LXDE does not work

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. ...
user avatar
  • 301
11 votes

Raspberry Pi 4 autostart Chromium?

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 ...
user avatar
  • 111
9 votes

How to uninstall X Server and Desktop Manager when running as headless server?

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 ...
user avatar
  • 91
8 votes

How to change the clock to 12-hour format in Raspbian?

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, ...
user avatar
  • 382
8 votes

Change wallpaper in LXDE through terminal

You can set the Raspberry Pi desktop background with this command under Pixel (lightdm) Desktop Manager: pcmanfm --set-wallpaper="/your/background/file"
user avatar
6 votes

Forcing resolution on display :0 when HDMI is not connected

Set or uncomment, the following lines, in /boot/config.txt hdmi_force_hotplug=1 hdmi_group=1 hdmi_mode=16 # (or any other pi resolution you want, 16 is for 1080p) Reboot your Pi (sudo reboot) and ...
user avatar
6 votes

How do I turn off my Raspberry Pi?

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, ...
user avatar
5 votes

Enabling audible terminal bell/beep on wheezy

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 ...
user avatar
  • 2,483
5 votes

How to change the clock to 12-hour format in Raspbian?

Use %I:%M %p instead The seconds from %r are annoying and useless.
user avatar
  • 151
5 votes
Accepted

Stock Pi3 - what process is auto-mounting removable media?

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 ...
user avatar
4 votes

Raspberry pi autostart of LXDE does not work

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/...
user avatar
  • 49
4 votes

Autorun Firefox on startup...grrrrrrr!

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 ...
user avatar
  • 1,453
3 votes
Accepted

Raspbian LXDE Separate Wallpaper for each Workspace/desktop

Click Menu Select Preferences Select Desktop Preferences Choose whatever wallpaper selection Uncheck Use the same wallpaper on all desktops
user avatar
  • 46
3 votes
Accepted

Unplugged pi while installing LibreOffice, now won't load desktop environment

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....
user avatar
3 votes

How to disable mouse cursor on LXDE?

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: ctrl+w xserver-command=X ...
user avatar
  • 31
3 votes

Lost the start button on my pi?

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+...
user avatar
  • 31
3 votes

How do I turn off my Raspberry Pi?

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 ...
user avatar
3 votes

Auto-login into LXDE and auto-start video-player (omxplayer)

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 ...
user avatar
  • 31
3 votes
Accepted

Raspberry pi autostart of LXDE does not work

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: crontab -e I added a task after each reboot ...
user avatar
  • 525
3 votes

Auto-login on desktop no working method found yet

I faced similar problem and resolved it using following sudo apt-get install --reinstall lxsession I got a hint about this from .xsession-errors file. The error in this file was /usr/bin/x-session-...
user avatar
  • 131
3 votes
Accepted

Is PIXEL based on LXDE or XFCE?

PIXEL is based on LXDE. The designers have remodeled the whole UI by creating new icons, windows and buttons to make it aesthetically pleasing.
user avatar
3 votes
Accepted

How to modify ~/.config/lxpanel/LXDE-pi/panel programatically

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 ...
user avatar
3 votes
Accepted

After fresh install of Raspberry OS the menu bar is missing in tightvnc session, how to fix?

As it turns out, pulseaudio was causing this error. I looked at /home/pi/.cache/lxsession/LXDE-pi/run.log and compared it to the same log on my other raspberry 3b+ that doesn't have the problem. The ...
user avatar
  • 215
2 votes

Lost the start button on my pi?

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 ...
user avatar
  • 21
2 votes

Enabling audible terminal bell/beep on wheezy

It's possible to make a shorter sound using: ( speaker-test -t sine -c 2 -s 2 -f 800 & TASK_PID=$! ; sleep 0.09 ; kill -s SIGKILL $TASK_PID ) > /dev/null This sends a signal after 0.09 s (but ...
user avatar
  • 181

Only top scored, non community-wiki answers of a minimum length are eligible