Red Starfish's Webpage

Red Starfish

From LXDE To Openbox Then Back To LXDE/Openbox

Author: Red Starfish

Date: 29th September, 2020

LXDE Icon

First Interactions with LXDE

My first experience with LXDE (By default LXDE uses Openbox but you don't get the right click menu, autostart or enviroment that defines openbox) came with Trisquel Mini. I wanted to use Trisquel(8) and it came with two editions MATE and LXDE. I saw no point in installing Trisquel using a larger ISO when I was going to customize it, use my own choice of applications and not going to use the default ones provided as default by Trisquel. Also I knew that what desktop enviroment comes pre-installed doesn't matter because I can always install the one I want, later.

So, I went with LXDE edition, thinking that I'd install XFCE later after installation. But when using XFCE, I kept coming back to LXDE (with Trisquel theme) mainly because it was lightweight and felt snappier. I also changed some keybindings to suit my needs. But few things I liked (and still like) from XFCE were:

So while using LXDE (trisquel themed), I was using used some components from xfce4 too.

After few months as Trisquel 8 was getting really old, I decided to move to Parabola GNU/Linux-libre (Note: If you want to use Trisquel, you should install Trisquel 9). Here my first instinct again was to install LXDE, but after installation I didn't like it. So I immediately installed xfce4 again. I was really surprised how much progress it had gone through in the last 3-4 years. But I became increasingly frustrated as my preferred keybindings (which I created while using Trisquel) were not there, so I started using LXDE again with above mentioned xfce4 programs.

From LXDE To Openbox

While above mentioned things were happening, I tried using the vanilla Openbox few times, but as it's so minimalist and I didn't know what additional softwares to use, I exited Openbox within 5 minutes everytime logged into a openbox-session.

Then I found this really great Fedora Magazine article. This helped me a lot to move towards using Openbox. Openbox session became usable to me.

One thing I noticed, standalone LXDE programs were making openbox more complete but few things weren't working out for me in Openbox, for example:

So these things kept bugging me. On one hand, I wanted to go back to LXDE and on the other, I liked the tint2 panel instead of lxpanel, I wanted the right click menu of openbox, nitrogen for setting wallpapers etc.

Using LXDE/Openbox

I decided to go back to LXDE (lxsession) but with a twist.

To use my preferred panel and get back the Openbox's right click menu, I found that these things are being controlled by LXDE's autostart file. This file is located at /home/user/.config/lxsession/LXDE/autostart . Once I got to this file, stripping things were very easy. LXDE's right click and wallpaper is controlled by pcmanfm in desktop mode. I changed it to daemon mode. That way I got back Openbox's right click menu.

I removed the lxpanel and replaced with tint2. This way, I could use tint2 in LXDE instead having to lxpanel.

Conclusion

So, this is the long tale of how I've found the desktop the way I want. Which is the full functionality of Openbox complemented by LXDE programs.

My Desktop

Helping You

If you want to have your desktop just like I have. Do the following: