People become accustomed to seeing certain information displayed in their panels, and one of those is always a clock of some kind.
I like to configure that to my preference in whichever GUI I’m using in Linux, be it Fluxbox, Cinnamon, Xfce, or whatever.
A lot of times the default options available don’t have what I prefer, but nearly all Linux-friendly window managers and desktop environments offer the opportunity to enter a “custom” string for how time and date are displayed, and that’s the subject of this little writeup.
I’ve been using the Xfce desktop environment again lately, for the first time in years, because I was curious to see how it has changed over time.
As an overall, I’ve been enjoying this experiment; I was never very satisfied with it before for a variety of reasons, but its flexibility and stability are still attractive to me, and I’ve discovered that it’s better this time around than when I last gave it a shot.
That said, I’ve encountered an annoyance or two, and in figuring out the solution to one of the biggest ones, I thought I’d do a which howto and share it for reference.
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.
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!
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!
In the past few weeks, I’ve found myself installing and configuring Pianobar a lot. It’s an open source command line client for the popular Internet music streaming service, Pandora. In rebuilding a couple of machines recently, I have found myself installing and configuring it a few times, and I keep stumbling over it, because it’s broken in the Ubuntu and Debian repositories, so in order to get this really great application to work, it takes a few more steps than a quick
apt-get install command.
This little writeup is at least in part for my own benefit, since I’m sick of the stumbling and trying to remember, wait, what did I do to get this to work again? So if it helps any of my readers out, even better!
So I keep ranting about Firefox here, and for good reason: the Mozilla team is going above and beyond the call of duty when it comes to driving users to other browsers.
However, try as I might, I simply encounter too many dealbreakers in Chromium.
When I think about it, the last version of Firefox that didn’t drive me crazy with crashing, incompatible add-ons, and stupid UI changes and features removed, it would have to be Firefox 3.6.
I keep forgetting how to do this, so I’m posting this here as much for my own reference as for anyone else’s. This is how to downgrade newer versions of Firefox to 3.6 and keep it that way, at least until things settle down a little, or until another browser comes along that can actually be a viable replacement for it — unlike newer versions of Firefox, sadly. This works with Mint 11, which means it will also work with Ubuntu 11.04.