Skip to content

Instantly share code, notes, and snippets.

@sfloess
Last active November 5, 2020 13:11
Show Gist options
  • Save sfloess/4c0d064d66600db1ef5f5702c1cd0463 to your computer and use it in GitHub Desktop.
Save sfloess/4c0d064d66600db1ef5f5702c1cd0463 to your computer and use it in GitHub Desktop.
LXDE

LXDE

Helpful tips and tricks for LXDE

Core Concepts

Files/Directories

  • ~/.config/openbox/lxde-rc.xml
  • ~/.config/lxpanel/LXDE/panels
  • ~/.local/share/applications
  • ~/.local/share/desktop-directories

Control

  • pcmanfm

How-to

Install

  • Debian: apt-get install -y lxde

Errors

  • Failed to execute child process “x-terminal-emulator” (No such file or directory): change association inside PCManFM:
    • Edit
    • Preferences
    • Advanced
    • Terminal emulator: terminator

Refresh Desktop

Execute the following: lxpanelctl restart && openbox --restart

More information can be found here.

lxde-rc.xml

Found in ~/.config/openbox/lxde-rc.xml.

  • Use right mouse button to raise/lower a window:
<context name="Titlebar">
    ...
    <mousebind button="Right" action="Click">
        <action name="RaiseLower"/>
    </mousebind>
    ...
</context> 

VNC Logout Fails: Restarts LXDE

If running LXDE as a VNC server and logout fails (LXDE restarts), try the following as your ~/.vnc/xstartup:

#!/bin/bash

startlxde

vncserver -kill ${DISPLAY}

Stop Notifications

sudo mv /usr/share/applications/notification-daemon.desktop /usr/share/bak.applications

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment