How To: Use Wayland in a Live Ubuntu Instance

This article is based on an AskUbuntu question I answered a while back. The user wanted to know how to use Wayland in a live instance of Ubuntu. They wanted to test some Wayland stuff and this was how they wanted to do it.

I personally would have gone a different route, but that’s fine. There are likely other people who have this same question, so it seems prudent to put the answer up here, as others will likely want to use Wayland in a live environment.

It actually turned out to be pretty easy, so this isn’t going to be a very long article. If you follow the directions carefully, you should be able to use Wayland while running Ubuntu live.

Use Wayland in Ubuntu Live:

The first thing you need to do is boot into the live instance of Ubuntu, and then you change the way you login. You don’t want to automatically login for this exercise.

Click in the bottom right and ‘Show Applications.’ Once there, you can enter the word ‘users’, click on the settings app offered, and then disable automatic login.

Next, you have change the password. You’re forced to deal with Ubuntu’s need for a complex password. The password you pick must be at least 12 characters long, not a dictionary word, and have a mix of numbers and letters. 

Next, you want to edit “/etc/gdm3/custom.conf” and comment out the line that disables Wayland. To do this, we’ll open a terminal by pressing CTRL + ALT + T. That opens the terminal where you’ll enter:

Find the line:

Change it to (comment it out):

Make sure to save it. Just press CTRL + X, then Y, and then ENTER and nano will save it.

Restart gdm3 with:

If that doesn’t automatically log you out, log out manually.

Now start the process to log back in, but after you click the user, there’s an icon in the lower right. It’s a gear icon. Click that gear icon and choose  “Ubuntu on Wayland”. Then enter your password and press ENTER.

If everything worked, you’re now logged in with Wayland.

Now, if you want to verify that you’re using Wayland…

Press CTRL + ALT + T
to open the terminal and enter:

If you have done everything correctly, it looks like this:

live ubuntu running wayland
See? That’s how you use Wayland in a live Ubuntu instance. And now you know…

So, there you have it for those that want it. If you want to use Wayland then you can. You can do that in a live environment if you want. It’s Linux. You can do most anything, if you put enough work in.

Closure:

And there you have it. Another article is in the books. This one helps you use Wayland and helps you use it in a live Ubuntu instance. I suspect you could use this as a basis for other distros, but I’ve never actually tested that theory out. If you have tried it, let me know in a comment. Thanks!

Thanks for reading! If you want to help, or if the site has helped you, you can donate, register to help, write an article, or buy inexpensive hosting to start your own site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.

What You Need To Know About Linux’s Magic SysRq Key

The magic SysRq key can help you deal with a frozen and unresponsive system. It avoids doing a hard reboot along with, hopefully, avoiding potential loss of data. The SysRq key is actually a handy bit of knowledge to keep handy.

NOTE: The information in this article is for those who use the QWERTY keyboard. If you use Dvorak, AZERTY, etc., be sure to click the link in the opening paragraph because it will be different for you.

There are times when your system appears frozen but it actually isn’t. You can test this situation with the Shift Lock key. If the light (assuming you have one) comes on, the system isn’t technically frozen – it’s probably just not accepting inputs. But, if it’s so far gone that the light doesn’t change then it’s possible that this will not work.

There are all sorts of reasons why your system may appear to have halted. This article has nothing to do with that, nor is it about preventing a frozen session. It’s about using the magic SysRq key to get out of a situation where your system has stopped responding. 

The purpose, at least as far as this article is concerned, is to reboot without corrupting your data. This gives you a tidier reboot that reduces the risk of data loss. It’s quick and easy to learn and memorize.

The SysRq Key:

Look at your keyboard. Look carefully. The key we’re looking for is the ‘SysRq‘ key. You may not know why it is there, and may think it has no purpose, but it’s there and there for a reason.

The key is often doubled with the PrtScr (print screen) and doesn’t get used often. It’s used in combination with the Alt. If you’re using a keyboard with an Fn, you don’t normally need to use it to perform this keyboard function. Look around your keyboard and you should find the SysRq key. It’s bound to be there somewhere!

What you’re going to learn and is ‘REISUB’. This is easy to remember, because it’s ‘BUSIER’ backwards. When your computer is no longer responding, press (and hold) Alt, while holding SysRq, and then press R E I S U B in order shut everything down properly and reboot without (or with less chance of) data loss.

You can try it right now. However, you’re going to reboot if you do so. Leave about a second between each keypress.

You don’t actually need to use all the letters. If you give zero poops about data loss, you can go straight to Alt + SysRq +​ B​. But, that’s not giving the system the chance to perform all the shutdown processes.

If you want to (hopefully) not lose data, use REISUB. This is what those letters do:

R puts keyboard in raw mode.
E sends SIGTERM (except init).
I sends SIGKILL (except init).
S syncs mounted filesystems.
U (read-only) remount of mounted filesystems.
B reboots the system immediately.

Those should reboot the system for you, after sending all the other commands. Again, it’s easily remembered as being ‘BUSIER’ backwards and you should press them immediately after one another, allowing a second between each.

Closure:

This makes yet another article in the books, and now you know how to reboot your system when it is frozen. The magic SysRq key works well enough, even though there are some situations where it won’t work. A computer can be so frozen that it’s no longer accepting any input at all. It works well up until you’ve reached that point.

Thanks for reading! If you want to help, or if the site has helped you, you can donate, register to help, write an article, or buy inexpensive hosting to start your own site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.

Finally, an Answer to What is The Best Linux Distro?

Finally, an attempt to answer to the age old question: Which Linux distro is the best?

This question has been asked time and time again and debated from the moment more than one distro existed – so, pretty much since day one. It has been so hotly debated that it has caused true animosity and people rage-quitting entire sites. Some people have high conviction that their distro of choice is the best distro!

Hint: It’s not.

I’ve been using Linux exclusively for more than a decade.
Many years ago, I used Unix extensively.
I have dozens of virtual machines of current distros.
My Linux ISO folder is 250 GB in size.
If you can name it, I’ve probably installed it and used it.

I think that makes me pretty darned qualified to finally put this question to bed.

So, what is the best Linux distro?

There isn’t one.

There is No Best Linux Distro:

The best Linux distro is the one that is best one for you. It’s the distro (perhaps even plural, ‘distros’) that suits your individual needs best. The best Linux distro the one where you’re most able to get your work done, because that’s what an operating system is for. An operating system is a tool to help you accomplish a computational goal.

The best distro the one that’s suited to your personal workflow. It’s the one that makes you the most happy, and the one that best lets you use the applications you need to use. Basically, it’s the one that works for you.

You can look up Linux distro benchmarks.
And can check their popularity.
Or you can test them out virtually online.

You can download the images and use VirtualBox to test them for longer periods. You can download the various .iso images and test them on bare metal by using them live – without making any changes to your currently installed operating system.

But, at the end of the day, nothing beats experience.

It May Take a While:

The reality is, it may take you some time to find the right distro for you. Maybe you’ll start with something easy to install and maintain, and maybe your final destination ends with Gentoo. Who knows? Only you. Only you know.

When someone attempts to tell you the best Linux distro, what they really mean is what is best for them. That may not be the best for you. It could very well be, but you won’t know until you try. You still might not know until you’ve tried many distros.

There are many things to consider. Do you want a stable release? Maybe you want a rolling release with the most up-to-date software? Or, perhaps you want to use Aptitude or Zypper, or maybe no package manager at all? Which desktop environment do you want? What default software do you want? Which window manager is right for you? Do you want a fancy desktop or just the bare minimum? How about something in between?

TIP: You can do some really refined searches at DistroSea.

Do you want a distro that comes with just the basics so that you can add your own software? How about a distro that comes with the software you’re most likely to use? Maybe you want a specialist distro that comes with the tools you need, like Springdale Linux? Do you want to work with multimedia as a creator with Ubuntu Studio?

Then, what computer architecture are you using? Are you trying to keep your old 32 bit computer running? You can do that!

Do you want to use your SBC (Single-Board Computer) as your HTPC (Home Theater PC)? You can do that!

Do you want to set up your own router and firewall? You can do that!

Do you want to set up your own NAS (Network-Attached Storage)? You can do that!

There are unique Linux distros to do all of those things!

So Many Choices:

There are many, many choices. Odds are great that there’s a distro that’s just right for you. And, if you can’t find one that’s just right, you can make your own. On top of that, you can make pretty much any distro do the same thing that another distro does. So, you can start with one distro and turn it into whatever you want.

The choices are so many and so broad that you have practically limitless choices. That’s one of the things that makes Linux so great. You have a say in what your operating system does (and what it doesn’t) do. It’s your computer, you get to decide.

And that, that’s the answer to this age-old question. There is no right distro, there’s only the right distro for you.

Me? I’m old. I want stability and an environment that gets out of my way to let me get my work done with the smoothest possible workflow. The distro that does that is the distro that’s right for me. You do you and you decide what the best distro is for you.

Most of all, enjoy the wondrous journey of discovery, as  you too find the right Linux distro for you.  

Closure:

This article has been pulled over from the old site. It may look familiar to some of my readers. I cleaned it up and moved it, formatting it to match the current site. 

Thanks for reading! If you want to help, or if the site has helped you, you can donate, register to help, write an article, or buy inexpensive hosting to start your own site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.

NOTE: This article was updated on 06/19/2021.
NOTE: This article was updated on 05/13/2022.

Review: The SpaceFM File Manager For Linux

Let’s try something new! Let’s take a look at a different file manager for a change. Specifically, let’s look at SpaceFM, a multi-panel file manager for Linux. It’s worth looking at and has a ton of useful features.

I figured that it’d be fun to sometimes review stuff and added the category when I was building the site. I haven’t used it until now, mostly because I had more pressing things to write. Alas, I’ve committed to write articles every other day for a year (or as close to it as I can get), so I might as well try out this review thing.

On with the article!

Wikipedia has an article about file managers, because of course they do. Simply put, it’s an application that lets you more easily manage files and directories. It’s usually a graphical application these days, but that wasn’t always true. If you’re coming from a Windows background, the Windows Explorer application was a file manager.

File managers often add other features, as does SpaceFM. Not only does it have multi-panels, it also has tabs, and more! So, let’s see how this ‘review’ thing is actually going to work. It’ll probably be a little rough, as this is the first one I’ve written for the site.

Getting SpaceFM:

SpaceFM is actually the default file manager in a few (seven, it seems) distros. It’s also almost certainly possible to find SpaceFM in your default repositories. It’s literally packaged for pretty much everything. Literally! Click the link and you’ll see that your distro is probably supported and it’s already available in your package management tools. Unless you’re using a pretty obscure distro, it’s readily available.

Given that it’s so readily available, I’m surprised that so few people use it. It’s so well documented, that I really don’t need to tell you how to install it. But, for example, you’d install it like this with Ubuntu:

It’s as simple as that! Well, it should be. Just adjust that command for your distro’s package management tools and be sure to use ‘spacefm’ – and it’ll likely be there and installed without a hitch. If you don’t have it available in your default repositories, you can actually use a ‘net installer’ found here. It’s truly one of the most accessible programs I’ve ever seen. 

One of the great things about installing SpaceFM is that you’ll also get a nice GUI SpaceFM File Search application. It’s pretty self-explanatory and it looks like this:

SpaceFM Find Files
See? You can find files with it, as well! Alas, it doesn’t search *in* files.

I use that with some regularity, as I have a whole lot of files and am not the greatest at organizing them. I find it processes the search pretty quickly, though I am not sure how well it will perform on older hardware.

Why SpaceFM:

I think a picture is worth 1000 words, or that it can be. So, let me just share a picture with you and we’ll see where we are after that. Be sure to click on the picture, as it will expand to a larger image that’ll let you see more clearly.

SpaceFM in all its glory!
I realize that’s a pretty busy picture and that there’s much to digest.

As you can see, I have three different panels open. It’s possible to have up to four panels. In each of those panels, you can also have tabs. If you’re looking to manage your files in a complex fashion, this is definitely one of the best tools to do it.

Helpfully, SpaceFM describes itself as this:

SpaceFM is a multi-panel tabbed file and desktop manager for Linux with built-in VFS, udev- or HAL-based device manager, customisable menu system, and bash-GTK integration. SpaceFM aims to provide a stable, capable file manager with significant customisation capabilities.

The above reasons are all pretty good reasons to at least try SpaceFM, but there’s more! See, there are also a bunch of plugins for those people that want to extend SpaceFM even further. There are plugins for GPG, bulk-renaming, auto-mount, image tools, and more! Take a look, there are quite a few!

So, what you end up with is a complete package. I realize that many folks will prefer to keep some of those things separate (the ‘Unix philosophy’), but it really does make for a light, responsive, intuitive, and effective file management package. I’m really surprised that so few people take advantage of this.

Closure:

There’s not much more to say. It’s there. Give it a try. As this is a review, I’ll rate it a solid 9 out of 10, with one point being taken off for not having an easier way to install plugins. I’ve used it extensively and never had so much as a crash and the plugins have always worked as advertised.

As mentioned above, this is my first review for the site. I made the category at the start, without really putting any thought into what it’d look like when I wrote stuff to fit that category. I’m not terribly pleased with how this one came out, but I know that I’ll try a few more things in future reviews and they’ll improve over time.

I’ve said before that the goal is an article every other day for a year, which means I’ve got plenty of time to get better! Please leave any feedback below, as I’d like to make this a regular feature. It’d be great to expose people to some alternatives – and to learn of some alternatives along the way. There’s some great software out there that’s still relatively unknown.

As always, thanks for reading. If you want to help, you know how to do so! I’ve told you this before! You can donate, register, write an article, buy hosting, rate the article, share the article on social media, leave a comment, or sign up for the newsletter! Bandwidth is again creeping up, but it’s below my new level. Again, thanks!

Repair Your Linux Boot Process With ‘Boot-Repair’

META: Over the past few days, the site has kinda blown up. The bandwidth allotment was shattered for the month of May – in just the last few days of the month, meaning I had to upgrade my hosting account. 

Whichever of you visitors it is that has been sharing this site’s articles on Facebook and Twitter, I do appreciate it and I hope you continue doing so. The additional traffic is pretty awesome. Worst case scenario is that I’ll just keep buying more bandwidth. We’re doing okay with regards to disk space usage, but we go through bandwidth like a fat kid goes through cake! 

Now on to your regularly scheduled article!

Linux Boot:

There are any number of reasons why Linux will refuse to boot property. In most instances, you can easily fix your boot with ‘boot-repair‘. The boot-repair application is a handy, mostly automated, method to get your Linux boot-up process squared away.

It may be that you installed Linux improperly, or an update has somehow broken your boot. You could have a complicated boot process that has multiple operating systems configured and that has broken. There could be all sorts of reasons why your Linux system isn’t booting properly.

It’s for this reason that ‘boot-repair’ was created. Not only does it have an automated repair process, it has an advanced process that will let you create a diagnostics report to share with your favorite support forum, where you can get help with manually repairing your system.

Because of the many variations that are involved in the manual repair process, this article is only going to cover the automated boot-repair process. There are simply too many variables and brevity is important.

With that in mind, please continue reading…

Getting ‘boot-repair’:

The first thing you’re going to need is a Linux USB or DVD. There are a couple of ways to do this, but you probably still have the media from which you installed Linux in the first place. If you do still have that, you can just boot to the live instance.

As boot-repair isn’t necessarily installed by default, you’ll need to install it. That’s going to vary and depend on your distro, but it’s easy if you have Ubuntu or an Ubuntu derivative. Just use your keyboard to open a terminal by pressing CTRL + ALT + T.

Once you’ve done that, you’ll need to add the ‘yannubuntu/boot-repair’ repository, like so:

If you’re using a modern version of Ubuntu, it will add the repository and then automatically update the database of available software. If you’re not, or if you want to be extra careful, you can simply update it yourself with:

Next, you’ll install ‘boot-repair’. Seeing as you’re already there in the terminal, let’s go ahead and do it there:

Now that you have it installed, you can go ahead and open it from the menu.

Or Use the ‘Boot-Repair-Disk’:

If you don’t have any live Linux media kicking around, you can actually download a special distro that will get you sorted out. There’s a basic ‘boot-repair’ image that you can download from Sourceforge and you can use that instead.

If you’d like to download the ‘boot-repair-disk’, you can do so at this link. It’s a small distro that’s based on Lubuntu and has the tool you need for this. It also contains ‘OS-uninstaller‘ which, while interesting and handy, is beyond the scope of this article.

Once you’ve downloaded it and written it to USB or DVD (it’s just a whisker too large to fit on a CD as of the time of this writing), you can just boot to it and proceed from there. If you’re curious, it will look a little like this once you’ve booted and opened the ‘boot-repair’ application:

boot-repair-disk
That’s boot-repair-disk in action. You can use this instead of your regular distro.

Repairing Your Boot:

At this point, you have booted into a live instance of Linux and you’re ready to repair your broken boot. You can just open ‘Boot Repair’ from the application menu.

Once you do that, it will take a moment to collect information about your system. This is important, as it will use that information to repair your boot. As I mentioned up above, there’s too many variables to cover with the advanced options and there’s already a solution in place for that.

So, the simple thing you now do is use the automatic boot-repair and hope that it works. It usually does the trick and it’s pretty obvious how you do it. Still, have an image, just in case.

boot-repair in action
Just click the button! It should do the trick – most of the time.

All you need to do is push the button. Once you’ve done that, just go ahead and reboot. When you’re prompted, remove the installation media and let the reboot finish. The very next boot should be fine, as boot-repair will have done its job.

If it is not fixed, then you have a bigger problem than can be resolved automatically. In that case, click the bottom-most button and share the resulting report with your favorite support forum. Many Linux support forums have people who are used to seeing the output of boot-repair and they’ll get you sorted. If not, anyone at your favorite forum may still be able to read the information and help you get your Linux boot repaired properly.

Closure:

That’s it, really. This article only covers the automated repair. If it’s more complicated than that, it’s more complicated than a blog post and you’ll need assistance from someone who is familiar with how Linux boots.

As always, thanks for reading. Your readership and feedback make this task all the more enjoyable. If you feel like you can help, or that you want to help, just let me know and I’ll be able to find something for you to do.

Like normal, you can donate, sign up for the newsletter below, share the article on social media, leave a comment, register to help, or even write your own article. It’d also be pretty great if you unblocked the ads so that the site has a chance of making some revenue! If you have any questions, just contact me.

Subscribe To Our Newsletter
Get notified when new articles are published! It's free and I won't send you any spam.
Linux Tips
Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.