To avoid the high memory usage of Ubuntu's Unity desktop environment, I installed Ubuntu's LXDE desktop environment (called Lubuntu). I had a gist that Unity was a bit of a memory hog compared to other desktop environments. I also spotted this Reddit post that compares some lightweight distros in terms of RAM consumption and Lubuntu did well.
To install Lubuntu, I ran
sudo apt-get install lubuntu-desktop (I learned this from a helpful user in the Ubuntu Riot.im channel). The size of the installation was about 340 mb.
After installing the Lubuntu desktop environment, you want to run the software updater (you can also update software in the Terminal by running
sudo apt update && sudo apt upgrade). Then restart the computer (that seems to have been pretty important), and at the login screen choose Lubuntu (or LXDE... that's another option and I'm not sure what the difference is).
You can check how much RAM you have available by running
free -m in the terminal. Thanks to this site, I knew to look for the value under "available" to get an accurate estimate of how many megabytes of my memory were "free". With my terminal and Firefox running on Lubuntu, I have about 1187 MB RAM of my 2 GB available, as opposed to Ubuntu, which generally only left about 700 or 800 MB available when I was running a couple of programs (not a very scientific test, I know).
Plus I can always switch back to regular Ubuntu via the login screen.
Lubuntu is pretty snappy! I did want to make a few simple changes right off the bat. Here's how I went about some of them.
I wanted to disable my touchpad from clicking, which I did by doing this:
~/.config/lxsession/LXDE/autostart(not sure which)
- To disable tap touchpad to click, add
You can find other settings to set here, like enabling two-finger horizontal scroll (
On macOS I make frequent use of Alfred as an application launcher. Ubuntu's Unity desktop environment sort of had something like that, which you can initiate by pressing the command key on its own at any time. But I couldn't find something similar in LXDE-- the application menu (similar to the Start menu in Windows) was just not fast enough for me coming from macOS + Alfred).
So I found this askubuntu answer that recommends installing an application called Synapse by running
sudo apt-get install synapse. By default the launcher is invoked by hitting
ctrl + space, but I changed it to
alt+Enter by launching Synapse and clicking on the not-super-obvious round button on the right side of the pop-up display and clicking "Preferences". Works great!
The default Terminal in Lubuntu (think it's called LXTerminal) didn't support true color in Vim, so I looked for other options. I had gotten used to the terminal in regular Ubuntu (which I'm pretty sure is the Gnome Terminal), so I figured I could switch that in on Lubuntu. Oddly it's not in the main menu of applications though.
First, I figured out a way to set it as the "default" terminal:
- menu > Preferences > Default applications LXSession
- Launching applications > Terminal manager > More > write in "gnome-terminal" for "Manual setting"
This seems to have worked? Notably, Gnome Terminal launches when I enter the standard launch-terminal shortcut of
option + control + t.
While here, I also changed default application for spreadsheets to LibreOffice Calc
To get an icon from Gnome Terminal to appear in the desktop menu, I loosely followed this forum answer and created a new file in the directory
gnome-terminal.desktop and entered the following text into that new file:
[Desktop Entry] Name=GNOME Terminal TryExec=gnome-terminal Exec=gnome-terminal Icon=gnome-terminal Type=Application Categories=System;TerminalEmulator; Keywords=console;command line;execute;
Upon saving that file, I got a new icon in menu > System Tools called "GNOME Terminal" that launches my now-beloved Gnome Terminal. Woohoo! (If
Icon=gnome-terminal hadn't worked I would have used
See separate entry for more on using Vim in Lubuntu.
- can't figure out how to set custom openbox keybindings
- Want to disable scrolling in Gnome terminal