Questions tagged [lxde]

LXDE (Lightweight X11 Desktop Environment) is a free and open-source desktop environment for Posix compatible platforms, that can run on all of the Pi's supported Linux distributions.

Filter by
Sorted by
Tagged with
1 vote
1 answer
17 views

LXDE-pi -- cannot show desktop on local monitor, but VNC is fine

I'm setting my RaspberryPi 3B+ (Debian Buster) up as a magic mirror. I've run into a really weird issue that I can't wrap my brain around. The magic mirror software is basically an EletronJS app, ...
  • 11
0 votes
1 answer
29 views

LXDE autostart script runs repeatedly

I added the following line to my /etc/xdg/LXDE-pi/autostart: @bash '/pi/startService.sh' My startService.sh is opening an AppImage. However after closing the App it seems like the script is executed ...
  • 9
2 votes
1 answer
31 views

Display permanent label text in Raspberry Pi Task Bar

Referring to the Task Bar of pi's GUI (not the top of open application windows but the screen's task bar), I would like to display a permanent text label so I know which of many boot disks I'm using. ...
0 votes
1 answer
32 views

Logging output from autostarted program (LXDE-pi/autostart)

So I have a headless Pi CM4 running standard Raspbian, its only function is to auto-start an application at boot which is invoked from /etc/xdg/lxsession/LXDE-pi/autostart I would like to log the ...
  • 131
1 vote
1 answer
44 views

Raspberry Pi Signage using omxplayer and LXDE-pi with RTMP, delay for WiFi connectivity

I am using several Raspberry Pi 3B+ around this company. I have these Pi’s configured to automatically start playing an RTMP stream using omxplayer. I did this by adding the following to /etc/xdg/...
0 votes
1 answer
31 views

XDG desktop file that logs out the currently logged in user

I'm using Raspbian GNU/Linux 11 (bullseye) with the LXDE desktop. I'd like to create an XDG desktop file that (a) places a "Logout" icon on the user's desktop, and (b) immediately logs out ...
2 votes
1 answer
95 views

Should the lxpanel Updater be used for the kernel and bootloader?

TL;DR: As of this writing, the lxpanel Updater applet somehow only updates the kernel modules without changing the system release. I want to know why, and point out that apt resolves issues. Backstory:...
  • 21
0 votes
0 answers
27 views

Some gnome apps look inconsistent with the default Raspbian theme

Some GNOME applications such as epiphany-browser or simple-scan look inconsistent when I'm using the default Raspberry Pi theme (lxappearance says it's called Pixflat). The windows have dark gray ...
  • 111
1 vote
2 answers
47 views

autostart keeps resetting

Im trying to add items to the autostart on desktop launch but the options just keep disappearing. My file: .config/lxsession/LXDE-pi/autostart currently has: @lxpanel --profile LXDE-pi @pcmanfm --...
  • 111
0 votes
0 answers
545 views

How to get a Pi4 to Boot into lxde-pi Desktop Environment?

This on a Raspberry Pi 4 Model B Rev 1, running Buster originally installed as a Stage 4 - Normal Raspbian image. https://github.com/RPi-Distro/pi-gen This Pi is headless. RealVNC is enabled via raspi-...
  • 115
0 votes
0 answers
83 views

No ~/.config/lxsession/LXDE-pi/autostart to modify

I'm trying to follow instructions at: https://content.instructables.com/pdfs/EKO/ROX0/JCKUMYMR/Share-WiFi-With-Ethernet-Port-on-a-Raspberry-Pi.pdf I've hit a stumbling block at adding sudo bash /home/...
1 vote
0 answers
316 views

LXPanel applets cannot be added to the status bar

I seem to have lost "Wireless & Wired Network" and "Bluetooth" applets for lxpanel after a Buster->Bullseye upgrade. The relevant packages (lxplug-network and lxplug-...
-1 votes
1 answer
25 views

Custom appearance with X forwarding over ssh

seeking a way to make my X forwarded session look exactly like how I have my raspbian desktop appearance on my remote host. When I currently run ssh -XY ***.***.*.*** lxsession I get a default LXDE ...
  • 1
0 votes
0 answers
1k views

Raspberry PI 4 autostart python program after boot using LXDE

I have a python script which is using tkinter GUI library. I have initially tried to run the script after boot using systemd method but I got error regarding the tkinter. I have looked it up online ...
0 votes
1 answer
223 views

How to run root in autostart

I have successfully launched a python script using "LXDE-PI" autostart function, however, this script needs to run as root in order to function correctly. How can I do this? Where would I ...
0 votes
0 answers
192 views

How to change back to LXDE from XFCE?

I installed XFCE, but I really need to change back to LXDE/PIXEL. How do I change back to PIXEL/LXDE? --LEHA
3 votes
3 answers
6k views

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

The menu bar is only missing in the TightVNC client display :1 whereas it is present in the session connected to a HDMI monitor. On the HDMI monitor session I can open an lxterminal (about says 0.3.2) ...
  • 255
1 vote
3 answers
501 views

Problem running a Python3 script at startup with lxsessions

I have Raspbian Buster on a RPi4 and I was launching a Python3 based Kivy 2.0 app at startup. Since it is a GUI app that needs networking and bluetooth. The only way to make it work was an executable ...
  • 147
1 vote
0 answers
631 views

The log file for LXDE in /home/pi/.cache/lxsession/LXDE-pi is taking up almost my entire SD card

I have a 32Gb SD card on a Pi4 4gb, But almost all (23Gb) the available Flash memory is being taken up by the LXDE log file [run.log] located in /home/pi/.cache/lxsession/LXDE-pi - I have deleted this ...
1 vote
2 answers
923 views

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

I am trying to read and write the panel configuration file (~/.config/lxpanel/LXDE-pi/panel ). I was planning to use some dedicated Python library for the purpose but I cannot recognise the file ...
  • 125
0 votes
1 answer
2k views

Change rpi appearance and theme settings through command line

Is there a way to change the appearance and theme settings of the rpi through the command line or by editing a file? I do not want to use the UI options that you can access through the rpi desktop. ...
  • 1
1 vote
0 answers
214 views

`xinput` command not being applied from ~/.config/lxsession/LXDE-pi/autostart

My ~/.config/lxsession/LXDE-pi/autostart file has the following contents: @lxpanel --profile LXDE-pi @pcmanfm --desktop --profile LXDE-pi @xscreensaver -no-splash @xrandr --output HDMI-1 --rotate ...
2 votes
0 answers
496 views

Enable desktop on the raspberry pi

I was trying out booting my pi4 into a chromium kiosk mode for a demo and ran the commands from the following post: Open chromium full screen on start up @xset s off @xset -dpms @xset s noblank @...
  • 21
1 vote
2 answers
618 views

Autostart chromium browser other user than pi

I'm trying to get following to work. Unfortunately, everything I tried so far did not. I have a Raspberry Pi 4 with Raspbian (Buster) installed. I have 3 users (root, pi and "kiosk"). The ...
1 vote
2 answers
1k views

Bluetooth adapter can't be found after the latest upgrade of Raspbian

After the latest upgrade of Raspbian buster everything seems to be falling down. Softwares are crashing. And bluetooth adapter is missing. Also the bluetooth menu is missing. How can I fix this ...
  • 1,790
3 votes
1 answer
2k views

WI-FI interface displayed as "device not ready" in nm-applet

I'm using the Raspberry Pi 4B with 2GB of RAM. I have no problems with WIFI connection, though. But I can't make connection using nm-applet (and nm-connection-editor). On nm-applet it shows "device ...
  • 55
1 vote
1 answer
464 views

Lxde raspberry pi autostart variable not working

I cant use my variables in the next autostart @$x="https://mypage.com/#" @y=`cat /proc/cpuinfo | grep Serial | cut -d ' ' -f 2` @chromium-browser --incognito $x$y the y variable get the serial ...
  • 13
2 votes
0 answers
219 views

I don't get a system bell in LXTerminal on Raspberry Pi 4b / Raspbian

I don't get the customary system "bell" at the command prompt when I type ctl-g or when editing a file with vim. I do get sound when playing an audio file (through HDMI to my monitor). As I was ...
1 vote
1 answer
752 views

How can I make git pull work at startup on a raspberry pi using autostart ? (network connection needed)

I am working with a raspberry Pi, and what I need is to make it launch scripts at startup when internet connection is active. I found a solution by setting instructions to be launched in the file ...
1 vote
0 answers
576 views

LXDE autostart takes too long to start chromium-browser

I am trying to start chromium-browser via ~/.config/LXDE-pi/autostart. The command is as follows: @chromium-browser localhost/scada --kiosk --incognito The problem I am having is that it takes ...
  • 111
0 votes
1 answer
313 views

LXDE crashes randomly

I've been using this Pi for a while now, and only recently this problem begins to happen: I'm doing some programming (Geany, lxterminal, pcmanfm are running) and then suddenly the icons in lxpanel ...
  • 719
0 votes
1 answer
1k views

on-screen magnifier

What light, simple, on-screen magnifier or "loupe" would you recommend for use with the default Raspbian "Buster" desktop (lxde, PIXEL), please ? Searching "add/remove software" didn't find one within ...
  • 23
0 votes
1 answer
1k views

Desktop still present after removing LXDE?

I am experimenting with a RPI 3B in Kiosk mode. The RPI has a 480x320 LCD screen attached. The RPI is running Rasbian Buster image. The OS is fully patched. I have a Qt UI program that should be the ...
  • 123
1 vote
0 answers
2k views

Is there a way to enable VSYNC on RPI4?

I am using Raspbian Buster with default LXDE/Openbox configuration. Screen tearing when moving windows around or watching videos is very noticeable. Is there a way to enable VSYNC on RPI4 using HDMI?
  • 121
1 vote
0 answers
76 views

Restricted movement of mouse cursor on the screen

Is it possible to restrict mouse cursor movement? For example, if I have a screen resolution 1024x768: I want move the mouse cursor only 0 up to 1000 in Y direction and 100 up to 600 in X direction. ...
0 votes
2 answers
2k views

Desktop no longer displays after modifying LXDE-pi autostart

I upgraded to Raspbian Buster this morning and everything worked fine, until I added a command to run a python tkinter application in the LXDE-pi autostart file. When I rebooted to test the tkinter ...
  • 3
5 votes
2 answers
32k views

Raspberry Pi 4 autostart Chromium?

I've tried trawling through the RPI community threads for suggestions to start Chromium through a shell script. I originally tried to do this with Crontab however because the cron user doesn't have ...
0 votes
0 answers
1k views

Run program on raspbian buster LXDE startup

I know this question has been asked before, but the methods referenced are not working for me. Currently I have done this: sudo nano /etc/xdg/lxsession/LXDE-pi/autostart and added the line @python3 /...
  • 73
1 vote
1 answer
316 views

Black screen with cursor after configuring LXDE-pi/autostart

I've seen this post that describes the same problem I am facing, but the use case was somewhat different and the OP never updated the post with their solution. I am attempting to run Synergy at boot, ...
2 votes
1 answer
673 views

Display IP Address on LXPanel

I'd like to print on the LXDE Pannel (LXPanel) the IP address of my Raspberry Pi, so I can have a direct view about how to connect to the Pi from another computer when I reboot it, since its IP is ...
  • 123
1 vote
0 answers
71 views

Bash script running fine in terminal window, but not when added to autostart

I use a script to start the google voice assistant on my rpi. This script runs fine when I run it from a terminal window, but when I try to run it via the LXDE autostartup nothing happens. It used to ...
  • 11
1 vote
0 answers
288 views

Make an autologin with a non-root user LXDE and DietPi

As I can make an autologin in the LXDE graphical mode DietPi image, currently I only have autologin for root but I want to do it automatically for the user dietpi.
0 votes
0 answers
165 views

Disable Control-Alt-D in window manager

It is taken by the window manager to minimise all windows. I need that shortcut for my own application. I don't find it: cat /etc/xdg/openbox/rc.xml | grep C-A- Does not list anything bound to ...
  • 502
2 votes
2 answers
2k views

Why doesn't my autostart file run a simple shell script

I am trying to launch a simple script (let's say it is /home/pi/python/python_code/hello-world.sh) from the /home/pi/.config/lxsession/LXDE-pi/autostart file. I have added the following line to the ...
0 votes
0 answers
203 views

Auto-(re)start of GUI application prevents shutdown

I have a GUI program (Python + Qt) coded for my Raspberry Pi. In order to start the program after startup, I have added the following line: @/bin/bash /home/pi/start_my_program.sh into .config/...
  • 1
2 votes
2 answers
6k views

Cant find /home/pi/.config/lxsession/LXDE-pi/autostart

I am trying to follow this guide to set up a pi 3+ as kiosk but I get stuck at step 10. It says that this directory doesn't exist. It seems that there is no .config file. Any help is much appreciated ...
  • 31
0 votes
1 answer
156 views

Run Java Swing GUI on boot

I have a Java Swing GUI that needs to be run on boot. Tried adding a shell script (which starts the program) in config/lxsession/LXDE-pi/autostart : @sh script.sh script.sh: export DISPLAY=:0.0 ...
  • 1
1 vote
2 answers
6k views

LXDE autostart is not working

I am trying to execute a simple script lxterminal -e "/home/pi/superscript.sh" in a normal terminal it works perfectly. But if i try putting it in to /etc/xdg/lxsession/LXDE-pi/autostart witch looks ...
  • 125
0 votes
1 answer
191 views

Raspberry Pi 3 - Access hostname in LXDE autostart

I would like to pass the hostname of a Raspberry Pi to Chromium in ~/.config/lxsession/LXDE-pi/autostart The relevant parts of the command are: @chromium-browser --incognito --kiosk https://www....
2 votes
0 answers
228 views

AutoStart with user different than pi

So, I'm trying to autostart an app at login, by running a script. Config: no desktop (Raspberry Pi 3B, Jessie). I managed to do it using "pi" user without any trouble. This is my autostart file: /...