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
0 votes
0 answers
76 views

Raspberry Pi: Starting chromium in fullscreen kiosk

On the raspberry pi desktop bootup, I want chromium to start in fullscreen kiosk mode where it also cover the raspberry pi menu panel. I can't get chromium to go overtop of the menu panel. So I made ...
Rod Knowles's user avatar
3 votes
1 answer
147 views

After kernel update windows appear stuck in the corner

After updating with apt yesterday, all new windows show up cropped in the upper left corner of the screen. See screenshot. I do not know if this is related. I have set the Desktop Preferences to ...
skinnedpanda's user avatar
1 vote
1 answer
147 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, ...
snowjak's user avatar
  • 11
0 votes
1 answer
63 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 ...
Traxan's user avatar
  • 9
2 votes
1 answer
116 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. ...
Dave Pritlove's user avatar
1 vote
1 answer
605 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 ...
John U's user avatar
  • 151
1 vote
1 answer
81 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/...
matthiasvd's user avatar
0 votes
1 answer
61 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 ...
Jim Fischer's user avatar
1 vote
1 answer
149 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:...
SaaHc2B's user avatar
  • 19
1 vote
2 answers
84 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 --...
Steven's user avatar
  • 111
0 votes
0 answers
1k 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-...
Buadhai's user avatar
  • 115
1 vote
0 answers
438 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-...
Dmitry Grigoryev's user avatar
-1 votes
1 answer
27 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 ...
Z3r0_0's user avatar
  • 1
0 votes
0 answers
2k 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 ...
TheBestPlayer's user avatar
-1 votes
1 answer
435 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 ...
thediyer's user avatar
0 votes
0 answers
269 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
lowhatwo's user avatar
3 votes
3 answers
9k 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) ...
monok's user avatar
  • 255
1 vote
3 answers
762 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 ...
parovelb's user avatar
  • 157
1 vote
0 answers
759 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 ...
Martin Cameron's user avatar
1 vote
2 answers
1k 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 ...
joaquin's user avatar
  • 125
0 votes
1 answer
3k 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. ...
senepe's user avatar
  • 1
1 vote
0 answers
236 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 ...
KiaiFighter's user avatar
2 votes
0 answers
608 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 @...
diCoy's user avatar
  • 21
1 vote
2 answers
824 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 ...
Andreas 's user avatar
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 ...
Sohan Arafat's user avatar
  • 1,818
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 ...
Cimlah's user avatar
  • 55
1 vote
1 answer
563 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 ...
Affj's user avatar
  • 13
2 votes
0 answers
245 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 ...
Edward Hetherington's user avatar
1 vote
1 answer
852 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 ...
Ouhbelle's user avatar
1 vote
0 answers
659 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 ...
Pavel's user avatar
  • 111
0 votes
1 answer
350 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 ...
user96931's user avatar
  • 729
0 votes
1 answer
2k 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 ...
NimbUs's user avatar
  • 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 ...
jww's user avatar
  • 133
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?
pvc's user avatar
  • 121
1 vote
0 answers
101 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. ...
mikilinux's user avatar
0 votes
2 answers
3k 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 ...
SImon's user avatar
  • 3
5 votes
2 answers
35k 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 ...
tomaytotomato's user avatar
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 /...
Nadim's user avatar
  • 73
1 vote
1 answer
366 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, ...
Aidan Pasquale's user avatar
2 votes
1 answer
828 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 ...
Covich's user avatar
  • 123
1 vote
0 answers
78 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 ...
Redlum's user avatar
  • 11
1 vote
0 answers
337 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.
Ricardo Prieto's user avatar
0 votes
0 answers
201 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 ...
0__'s user avatar
  • 502
2 votes
2 answers
3k 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 ...
Ian Simms's user avatar
0 votes
0 answers
227 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/...
erthy's user avatar
  • 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 ...
novice's user avatar
  • 31
0 votes
1 answer
165 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 ...
NVipin's user avatar
  • 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 ...
Coder_fox's user avatar
  • 125
0 votes
1 answer
215 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....
user2182349's user avatar
2 votes
0 answers
236 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: /...
Federico's user avatar