Change screen brightness in LXDE

I decided to play around with LXDE on a cheap laptop I bought in an employee auction recently (on which I’m running Linux Mint Debian Edition). Everything works great – I forgot how fast and comfortable LXDE is to me, since it’s been quite a while since I used it regularly.

However, the keybindings don’t work for adjusting the screen brightness, and I had to struggle for a bit to figure out how to get them properly mapped to this functionality. Here’s how I did it.

Continue reading

A quick way to change default browser in LMDE

Just a quick note here, in part for myself (because inevitably I’ll end up needing to do this again, and that was some of the reason I started this blog to begin with), but also for the benefit of anyone else who finds this handy.

I’ve been using the beta version of Google Chrome on my Linux Mint Debian Edition machines lately. It works well, but I had trouble getting it set as my default browser utilizing the graphical options in the settings in Cinnamon.

So, I explored some command line options. This is what I got to work, after some experimentation.

xdg-mime default google-chrome-beta.desktop x-scheme-handler/http
xdg-mime default google-chrome-beta.desktop x-scheme-handler/https

Didn’t even have to sudo it or anything!

Anyway, hope that helps someone else out as well!

– Trent

How to change the boot splash in Linux Mint Debian Edition (LMDE)

This is more of a note to myself than anything else, but as always such things can come in handy for anyone trying to figure something out.

With the last Update Pack for LMDE I managed to screw something up and the boot splash (the slick little Linux Mint logo that displays on boot) stopped displaying on boot.

This isn’t a big deal… it’s not like it affects the functionality of the machine. But it was an annoyance, particularly since it was a visible indicator of how I screwed something up, every single time I powered on this laptop. :)

Nothing I did seemed to make any difference — GRUB looked fine, everything was set correctly, but something had obviously broken in the update process.

Here is how I fixed it. I installed the Plymouth boot splash application, the Plymouth Direct Rendering Manager (Plymouth DRM) and the Mint theme pack for it. Then I used the command to set the theme I wanted and updated the initramfs, like so:

sudo apt-get install startupmanager plymouth plymouth-drm plymouth-themes-mint

sudo /usr/sbin/plymouth-set-default-theme mint-logo

sudo update-initramfs -u

Then, after a quick reboot, the Linux Mint boot splash appears!

Resurrecting an old laptop

Just so you know, this isn’t a review. It’s just a discussion on what I did to make some old hardware useful again.

I’ve made mention from time to time the Toshiba Satellite A75 that I have that has been a backup machine for me for years now.

Well, with my 3+ year old System76 laptop on its last legs and suddenly developing a short in its screen connection, I decided to blow the dust off that trusty old Toshiba again and use it as a stopgap until I get something newer.

The problem is, this Toshiba Satellite is from 2005, has a single core 32-bit Pentium 4 processor, 1.5 GB of RAM, and a 60 GB hard drive. Needless to say, it’s a bit out of place in today’s world, so I had to put some thought into how to best optimize this machine’s return to productivity or it’d be pretty painful to use.

Continue reading