Managing the wastebasket in GNOME

This is more a personal note than anything else, but I’m putting it here on the off chance that someone else might find it useful.

I noticed that the wastebasket on my PC desktop had become rather full. This is both inevitable and unsurprising given that, by default, deleting files sends them to the wastebasket and then leaves them there. Forever.

I want to be able to clear out these deleted files, but not all of them because I sometimes need to go back and recover what I have deleted. Fortunately, a solution exists in the form of trash-cli, a command line interface that allows you to manage the FreeDesktop trash folder.

The package provides several commands, the most useful of which for me is the trash-empty command, which not only allows me to permanently delete trashed files, but also to specify how many days to keep. I played around with it a bit and it does exactly what it promises to do.

Being lazy, I have also scheduled this to run every Monday so that I can start the week with nothing more than a month old in my wastebasket. This should ensure that things remain a bit more manageable in future.

FD Computers and the Joy of Linux

With William and Alexandre going up a school in September, we found ourselves in the market for two new laptops. They have both been using Ubuntu for quite some time and, given how stable and reliable it has proven to be, I was keen to keep them on the same OS. I was also quite keen on the idea of having everything pre-installed for them, mainly because I’m lazy.

When we were looking for a new laptop for Macsen, Dell were selling Inspirons with Ubuntu pre-installed. They appear to have stopped doing this now, for Belgium anyway. You can still buy Ubuntu laptops from Dell, but only if you want to shell out for a very powerful and incredibly expensive Data Science Workstation. So that was off the table.

Looking around, however, I discovered that there’s a shop in Belgium, FD Computers, who not only sells laptops with the Linux distro of your choice pre-installed, but also has a webshop. After a short phone call to availability and delivery times, we placed an order.

The laptops turned up exactly when promised and we are very happy with them.

The laptops themselves are light but have quite a robust feel to them and they certainly look like they will handle being lugged around by a pair of teenagers. And having Ubuntu pre-installed, along with all of the applications they are likely to need, is a definite bonus.

I would certainly FD Computers and, possibly more tellingly, would quite happily go back to them when we are in the market for more hardware.

Having used several desktop operating systems over the years (DOS, Windows, OS/2, AmigaOS), I have to say that the Linux desktop really is the best of the best.

People like to say that Linux is difficult to use, but it really isn’t. Granted, some distributions are aimed at a more technical crowd, but you don’t have to make things difficult for yourself. Go with Ubuntu or something similarly user friendly and the experience is, if anything, better than using Windows.

You don’t even need to install it yourself these days. Plenty of retailers will do this for you, even if you don’t live in Belgium.

Compared to Windows and MacOS, Linux is much more secure, and a lot easier to manage. Installing applications, and even upgrading the OS, can all be done with a couple of clicks of a mouse. And the software is all free (gratis), and centrally managed — you don’t need to deal with ads or endless pop-ups telling you to upgrade to the paid version, just install the application and off you go.

Ultimately, with a Linux laptop, I can leave an eleven-year old in charge of his own computer without having to constantly be watching what he’s doing. This is not something I can say about Windows.

Mageia

Back in the mists of time we acquired a second-hand laptop and I installed DouDouLinux on it.This is a Linux distribution aimed at young children and it does achieve its aim of enabling young children to find their way around a PC without needing constant parental supervision. But time moves on and the boys are older, all have their own laptops now and the old laptop hasn’t been looked at for a couple of years.

So, over the holiday period, I started looking around for a distribution that still supported 32 bit architectures and discovered that Mageia still has a 32 bit edition which I immediately downloaded. It’s rather nice.

As with many — probably most — Linux distributions these days, the installer is graphical and takes you through the installation process quite painlessly. The only choice I really had to make was for the desktop environment, which was easy for me because I always go for Gnome. Once everything is installed, you are led through a configuration process which involves setting a root password and a main user profile, and then clicking through and accepting all of the defaults.

The installer is a little different to ones I am more used to, but it all proved to be a very painless process and one that worked well.

Many distributions now are providing a welcome screen when you boot your PC and Mageia is no exception. In this case, it’s reasonably nicely done and provides an easy way to quickly find your way around the operating system. Of course, once you have finished looking around this screen, it’s easy to disable by simply unchecking a box.

Mageia comes with a wide selection of applications that cover all of the obvious uses, and then some. While I can see that having everything available as soon as you start is useful, I have picked up my own preferences which I keep falling back to. So, helpful as all this software is, I know that I will end up replacing it with the applications I’m already used to.

And then there’s the Mageia Control Centre. This handily brings all of your administration tools together into a single application and is something about which I am still a bit ambivalent. One one hand, I can see that having everything managed by a single application is convenient. On the other hand, I have gotten used to doing things differently and, for me, the control centre feels a bit like reinventing the wheel. This is all down to personal preference, though, and I strongly suspect that, if Mageia had been the first distribution I had used, I would think it’s wonderful.

In fact, the only real gripe I have is that I had to tell the control centre not to look for CDs when doing updates. And this took all of one click.

Overall, Mageia strikes me as a solid, if unspectacular, operating system with several helpful touches. More importantly, it has helped me to revive a very old laptop.

Now all I need to do is figure out what I want to do with it.

Emergency Upgrades

Macsen informed me yesterday that there was something wrong with his laptop so I went to take a quick look. Issues with kids and laptops are generally easy to resolve and I assumed that this would be another five minute job.

It wasn’t.

This time all he had was a screen informing him that something had gone seriously wrong and he should contact the system administrator. The system administrator in this house, as ever, is me.

It turns out that he had attempted to upgrade his laptop and something had happened and now it doesn’t work, which is a surprisingly complete explanation for a 13 year old.

All credit to him for noticing that an upgrade was available and realising that it should be done, and I can’t really blame him for what happened next, because I still don’t know what was the something that happened. That said, it looks like he’d started a distribution upgrade without realising.

Of course, turning the thing off and on again didn’t help. Something has gone seriously wrong and re-installing is the only way out of this. But first, the data.

Actually, the first step was to download and create and Ubuntu Live USB and, once I’d remembered to change the boot options on the laptop, I was able to boot from the USB and find the home folder on the laptop. This, I could then copy to a portable disk drive.

Once this was done, and after the kids were home from karate, Macsen and I sat down together to verify that all of the documents had been backed up correctly. I may be exaggerating slightly here, but the file he was most concerned about was his desktop background.

The installation went as smoothly as you would expect from Ubuntu, so I was able to start the restore of the data just in time for dinner.

After dinner, we completed the updates and initial configuration so that everything that needs to work today, is now working.

Other software (games mainly), we have agreed to sort out at the weekend and then we had a bit of a conversation about why we always do upgrades at the weekend.

I have to say that Macsen was remarkably calm at the prospect of being unable to boot or use his laptop for the foreseeable future. I have, in the past, seen people go completely to pieces for much more minor issues.

So now Macsen has the latest and greatest version of Ubuntu. I’ve only managed a very brief look at it so far, but it is remarkably pretty.

The joy of upgrades

I upgraded my PC at the weekend.

Being a Manjaro user, operating system upgrades are frequent, simple and speedy. Most of the time.

Because I never learn, I keep on buying HP computers.

In general, I like HP devices. They tend to be solidly constructed and nicely reliable. But the company does have a habit of using components — like network cards — that are not as well supported as they could be.

There was quite a lot to upgrade on Sunday, including a new Linux kernel. Upgrades tend to be simple and speedy these days, so I launched the upgrade, twiddled my thumbs for a couple of minutes and rebooted the PC.

No Wi-Fi Adapter Found

Yep. I managed to break my internet connection, much to the amusement of the rest of the family.

This hasn’t happened after an upgrade before but I did remember, from when I first set the thing up, that the problem is the Realtek wireless card. I just need, therefore, to identify the card, hop onto the Arch Wiki to determine which package and I need to install, and install it and the problem will be fixed.

Identifying the card is easy enough, but I will note it here for future reference: $ lspci -k | grep 'Wireless Network'

Getting to the wiki, and installing the package, is more problematic because I need an internet connection for this.

No Wi-Fi Adapter Found

Did I ever mention that the PC I have is a mini-tower with a massive monitor? It’s also in a different room to the modem and, as I discovered, I no longer have (or could find) a cable capable of reaching from one device to the other.

This is why I ended up spending a sizable chunk of my Sunday disassembling the PC, lugging it from one room to the other, and then putting it all back together again. This would have been annoying enough but, since we use Wi-Fi everywhere, the modem is neatly tucked away behind the TV. So I had disconnect all the devices attached to it in order to pull it out of it’s alcove and put it on the floor while not tripping over the cat.

Reinstalling the driver took less than five minutes and, after a quick reboot to confirm that all was okay, it was time to put everything back together.

This is the point at which the real crisis began. My partner realised that I’d managed to unplug (and lose the cable to) the set-top box.

We found it in the end and, for my next task, I need to relocate the stupidly long Ethernet cable that I used to keep around for situations such as this one.

The family IT support is in

One of the pros — or cons, depending on how you look at it — of everyone being at home is that when any of the kids has a computer problem, I am unavoidably available. Today we had problems aplenty.

We got the boys some cheap Dell laptops some time ago, installed Ubuntu on them and set them going. The point has now been reached when, for all three boys, these laptops are being used primarily for school work (or school related activities). So running out of disk space is a serious problem.

Today, one of the laptops ran out of disk space.

My first reaction was to ask how many webcam videos and screen recordings they had been making, but it turns out that the problem was deeper than that — too many old packages clogging up the disk drive. I found the commands necessary to clean up these packages easily enough and set about some vastly overdue laptop maintenance.

This is when the fun began. When I tried to use apt-get autoremove to free up some disk space, it told me that it couldn’t do that because I had some broken dependencies. When I tried to fix these, it told me it couldn’t do that because I didn’t have enough disk space.

And it all started looking a bit painful and the boys quickly learned that IT support largely involves copying and pasting error messages into your search engine of choice and then doing the same back into the terminal.

Everything is now resolved and I have promised to keep a closer eye on the boys’ technology. On the plus side, I now know how to manually remove old kernels in Ubuntu.

It’s Alive!

Many years ago,I found myself in possession of a Nokia N810 internet tablet. With it’s smaller screen and pull-out keyboard, this is what tablets looked like before tablets were a thing, and I spent many a happy (or frustrating) hour trying to connect to a WiFi hotspot long enough to send a email.

Of course, everyone uses Android now and, after Nokia crashed and burned back in 2011, my phone could increasingly do everything the N810 could do, and then some, and I found myself using it less and less. Eventually, the battery started dying on me and the device ended up in a drawer.

More recently, I discovered Battery Champion, a site that sells batteries. Batteries for everything, including the N810, so I thought I would see if I could revive the device.

I now have the tablet up and running and, in many ways, it feels like looking back at a future that never was. Nokia devices have always been well engineered and they were certainly well placed to dominate the emerging smartphone and tablet spaces. It was only through management incompetence that they managed to lose their lead.

The world has moved on, of course, and it is probably inevitable that a device built in 2008 will feel a bit clunky now. The keyboard certainly proved to be a big surprise. It’s a physical keyboard that slides out which sounded like a great idea back in the day, but I found myself really struggling to use it. The keys are too small and painfully unresponsive. In fact I was intending to write this post on the N810 but after two paragraphs, the keyboard got the better of me.

It’s slow, too, compared to modern devices. This, I think, is more a reflection on the way in which websites have become so much more bloated over the years rather than on the device itself. Indeed, watching any page load is a revelation in terms of just how many calls to external sites and services are made.

The battery life, on the other hand, is still impressive. It can go up to ten days between charges which, combined with the fact that it is compact enough to fit into a pocket, gives the N810 a level of portability that the manufacturers of more modern tablets can only dream of.

Of course, all of the software on the tablet is about a decade out of date. And, with this device being no longer supported, many of the repositories are no longer available so upgrading it — if possible at all — will be something of a challenge.

And if I do manage to find some reasonably current software, I will then need to figure out a use for it.

Manjaro: First Impressions

After last week’s minor crisis, I ended up switching from openSUSE to Manjaro on my PC and so far I am really liking it.

The first thing that struck me was just how nice it it makes my desktop to look at. It may sound like a trivial thing, but if you are going to sit in front of a screen for a couple of hours, then having something easy on the eye to look at does make a significant difference. A lot of attention has clearly been paid to the look of this operating system, not just in terms of the artwork but also the theming and the design — so much so that I am using smaller fonts now than I was, which frees up even more space on my desktop.

Manjaro comes in several desktop editions and, being a long-term Gnome user, I stuck with what I know. There are a couple of extensions installed by default and, having become very used to the vanilla Gnome experience, I immediately switched off the Arc menu.

I am a little more ambivalent about the Dash to Dock extension, which moves the dashboard out of the overview screen and displays it as a permanent dock. It’s not annoying me, but I’m not entirely convinced it’s adding any benefit either. I have kept it switched on for now, but may deactivate it later.

And so to the applications and I am reminded, once again, just how easy it is to add email accounts to Evolution. Enter an email address and password, and you’re done. As with everything else, the fonts and icons have been selected for maximum readability, making it almost enjoyable to answer angry emails.

I’m not so impressed with Lollypop, the default music player, as it’s not much fun to navigate. So this has gone to be replaced with Exaile, my music player of choice. As for as this type of application goes, I have not seen anything that comes close to Exaile. It has the slickest user interface I have seen and this comes with the killer feature (for me) of dynamic playlists. I start it, seed it with a couple of songs and it will continue to select similar songs until I press stop.

Exaile isn’t available in the standard Manjaro repositories, but it is available in the AUR because, with Arch Linux (on which Manjaro is based) everything is available in the AUR. Using this repository comes with a warning, but the Pamac package manager makes it frighteningly easy to do so.

Overall, I am very happy with Manjaro and can see myself using it for quite some time to come.

The Grub menu, which caused me all my trouble in the first place, is still a bit of a mess but I’ve learned my lesson and will never touch this again. Well, not until after Christmas, anyway.

A little knowledge is a dangerous thing

And I have very little knowledge.

At the start of this year, I laid my hands on a new PC and ended up installing openSUSE Tumbleweed on it. As Linux distributions go, it’s a pleasure to use although I haven’t had much time to tinker with it. Until yesterday.

One, incredibly trivial, issue I have had with openSUSE is that the boot menu is really bland — just a list of available operating systems on a plain black background. So I started playing around with GRUB themes, because who doesn’t want a nice picture for the couple of seconds it takes me to hit Enter.

There is a reason why I usually avoid tinkering with stuff like this on weekdays and, inevitably enough, I broke my boot partition. This, in plain English, means that my PC is now unable to start and I have what amounts to a large brick sitting on my desk.

All is not lost, though, as I happened to have been looking at Manjaro over the weekend and, therefore, had a bootable USB stick. With this I was able get into the PC and take a backup of my Home folder. So all of my data is safe. Unless the cat gets at it, of course.

So tonight I shall be mainly trying to get Boot Repair to clean up my mess for me. And if all else fails, I will install Manjaro.

I am tempted to switch to Manjaro anyway. Doing so would let me get at the Arch AUR, which I do find myself missing on occasion. Additionally, Manjaro is really pretty.

Five things #5

“T. K. hates a lot of things, but at the moment, it’s how she becomes the #1 target during dodgeball at gym. Everything changes, however, when she discovers that she has the ace ability to direct spherical objects — and she makes her classmates pay! But her powers are made for more than petty revenge, as she soon discovers while on a family vacation.” How to Move Spheres and Influence People is a short story set in the Wild Cards universe.

In Arctic Siberia, Russian scientists are trying to stave off catastrophic climate change by resurrecting an Ice Age biome complete with lab-grown woolly mammoths. Welcome to Pleistocene Park.

“The space between fiction and reality is where economic bubbles take shape.” Brent Goldfarb and David A Kirsch explore The economics of bubbles.

Going back a few months, Salman Rushdie discusses what Kurt Vonnegut’s Slaughterhouse-Five tells us now.

And finally, Antergos Linux is dead, long live EndeavourOS. Antergos was my main operating system for several years — I keep meaning to take a look at how well EndeavourOS has picked up the baton of being a newcomer friendly introduction to the occasionally painful world of Arch-based distributions.