hardinfo Has Been Rebooted As hardinfo2

If you’ve used hardinfo in the past, it may interest you to know that hardinfo has been rebooted as hardinfo2. This is just a quick ‘news’ article and won’t take up much of your time. It’s worth reading, however!

So, I wrote this some time ago:

Graphically Examine Hardware Info With HardInfo

I assume that’s how user ‘hwspeedy’ found this site and they sent me an email letting me know that hardinfo (no caps, I guess) has been rebooted as hardinfo2. That piqued my interest.

hardinfo2:

I looked and the project appears to have a dozen or so people behind it. That many people is a good start, which made me optimistic You can view the hardinfo2 project page here at the following link:

hardinfo Home Page

The original, hardinfo, hadn’t had any recent updates. These folks rebooted it. Their goal is to get hardinfo2 into all the distros and they’re 60% of the way there. I’m impressed enough to go ahead and write about it here.

The two major changes are the theme aspect, which I found silly and it made the text impossible to read on this system. Fortunately, you can turn it off. The second major change is the ability to upload your benchmarks. You can see how your system compares to others.

They have releases for pretty much every major version of Linux. See here:

Get hardinfo For Your System

I had hardinfo installed and hardinfo2 didn’t want to install. So, I purged hardinfo from my system with the following command:

I was then able to install hardinfo2. I did so with gdebi.

With the new version installed, I was quickly able to click on View > Themes > Disable Theme. That made it so that I could make out what was going on. Otherwise, it looked like this on a Linux Mint system:

Themes don't work well here...
None of the other themes fared better than this one did. You can disable them entirely.

This is just my refurbished PC that runs Linux Mint, so it’s nothing special. Even if it was, you wouldn’t know until you disabled themes.

Here it is with the themes disabled:

It's easy to disable themes in hardinfo2.
That’s much easier for these old eyes to make out. I’m pretty sure the themes don’t work well.

I went through the list and even did the benchmark thing. Things mostly seem to work. Some of the benchmarks didn’t show my level in the results, but that’s possibly just a teething issue.

This is useful if you need support – just click on Generate Report. You can generate a report to share with the forums when asking for support.

This is also useful for bragging rights – just click on Synchronize. You can see how you rank, and share it, against other users. As they’re now modern results, you probably won’t be dominating all the benchmarks as you did with the older hardinfo.

I have high hopes for these new developers. After I saw their email, I figured I’d share that information with you. I ignore most of that stuff but this is an application that I’ve used time and time again. It’s also an application that I’ve recommended. Seeing some people pick up and run with the task makes me happy. I wish them the best of luck.

I will point out that the sync button uploads a bunch of information. You can pick and choose what you upload; nothing nefarious is going on there. It’s simply a system-gathering (and benchmarking) tool and nothing more.

Closure:

Well, there’s not much more to cover. It still does the basic tasks as listed in the first article, it’s just now got some new features and is now being actively developed. It’s good to see some of the old tools being used and it’s good to see people acting when they see a lapse in the system. Without them, we’d not have much of an operating system.

So, 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 site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.

Count The Number Of Running Processes Per User

This won’t be as complicated as it seems because we’re just going to cover how to count the number of running processes per user. This is a fairly basic task that requires fairly basic tools. If you want to count the number of running processes per user, read on! It’s quite simple…

Your Linux system requires many running processes. A running process is an application, though some applications can have multiple running processes. The Linux kernel manages processes and a full desktop system will require hundreds of processes to be complete.

Processes are on a per-user basis. As explained before, Linux is a true multi-user operating system. Each user will have their processes and all processes will be owned by a user. It’s a pretty basic concept once you get your head around it.

You won’t need to install anything for this article. We will use some basic tools to show you how to count the number of running processes per user. This isn’t an advanced operation and you’ll almost certainly have the correct tools installed.

What tools will you need for this article?

ps:

The first tool you’re going to use is the ‘ps’ application. Don’t worry, the application is installed by default. You can confirm this with this command:

Additionally, you can check the man page with this command:

If you do that, you’ll see that this is the correct tool for listing the running processes in your Linux system. It’s described like so:

ps – report a snapshot of the current processes.

See? That’d be the correct tool for listing the currently running processes.

We’ll also use…

wc:

This too will not require any additional software. It’s a near-certainty that the wc command is included in your Linux operating system by default. You can confirm that wc exists with this command:

When it comes to counting things, the wc command is the go-to command. You can tell this by checking the man page with this command:

As you’ll see, the wc command is described like so:

wc – print newline, word, and byte counts for each file

So, wc is the correct tool. We’ll use the -l flag (count lines) to go along with the wc command, meaning this should be something you can figure out already without me needing to write the rest of the article! Linux isn’t all that difficult to work with and the terminal doesn’t have to be a complicated affair.

Count The Number Of Running Processes Per User:

Both the ps and wc commands are terminal-based commands. That means you’ll need an open terminal to count the number of running processes per user. You can usually open a terminal by pressing CTRL + ALT + T. If that doesn’t work, open one from the application menu.

With your terminal open, you can show the number of running processes with the following command:

That’s the first part of this exercise. 

Next, we’ll use a pipe. We’ll pipe the output from that command to the wc command and tell the wc command to count the lines. That’s done like this:

That will give you a count of all the running processes which is nice but not the goal of this article. This article is meant to show you how to count the number of running processes per user.

So then, let’s show you how to show the processes owned by a user…

For example, I’d find processes owned by me with this command:

Now, to count the number of running processes per user you just go ahead and pipe it to the wc command used above, like so:

Again, an example:

That command should show you all the running processes that are owned by root. It’s a pretty easy set of commands to figure out and I’m sure you can figure it out from here…

Closure:

Well, we set out to learn how to count the number of running processes per user. I’d like to think we accomplished that goal. You never know when you’ll want to see the processes owned by a user, but it could be useful when debugging things – like finding out what’s eating up your resources.

This is one of those commands that are pretty obvious once you know about it. They’re two simple commands that combine to create a pretty good result. Linux is like that. You don’t always need to know some esoteric commands. You can often combine some basic commands to get the output you’re after. You can achieve much with just a few basic commands and it’s good to get more comfortable doing so.

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 site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.

Monitor System Resources With “Resources”

Today is one of those days when I’d like to introduce you to new software as we learn to monitor system resources with “Resources”. That may not make much sense, but it will! The Resources application is a great option if you want a great way to monitor system resources.

I may do a few articles about monitoring system resources. That’ll be fun.

It’s probably important to mention that many of you will not have this in your default repositories. For those who do, it won’t be in the typical repositories but will exist because your distro ships with Flatpaks enabled.

That’s right. To use this article, you should read a previous article:

Installing Flatpaks In Linux

Once you get Flatpak installed and the FlatHub repository added, you can use a great application known as Resources.

Of course, your desktop distro shipped with a GUI resource monitor and it’s usually fit for purpose. However, this Resources application has a bunch of great features and it is easy to live with. 

Another great thing is that this shouldn’t be a very long article…

Monitor System Resources:

Once Flatpak is installed, you might want to keep your terminal open. Yes, Flatpaks are large – but they have great features, including running in isolation and shipping with all their dependencies.

Most of you can open a terminal by pressing CTRL + ALT + T. If that doesn’t work for you, you’ll have a terminal option in your application menu. It might be under the Administration sub-section.

With your terminal open, you can install Resources quite easily:

That should add Resources to your application menu. It will fall under the Administration sub-section. I’ve seen some distros not show newly added Flatpaks in the menu until after a reboot. If that’s the case, you can manually run Resources with this command:

Once you open the application, all will be revealed. Here’s an image:

Resources default screen.
This should be self-explanatory if you’ve monitored resources before.

One of the great things is that you can monitor applications that might have multiple processes – such as Google Chrome. You can also monitor processes individually, including closing those applications and processes.

Additionally, you can monitor CPU use, memory use, GPU use, and your various storage devices – including optical media. If you want to know read and write speeds on the fly, that information is available in an easily understood graphical tool.

That’s right… I’m covering a graphical tool today! Let it be said that a GUI is sometimes a good tool for the job and that the Resources application is one of those tools.

If you click on the hamburger menu near the top, you can also adjust your preferences. You can choose to display more information than the default and adjust how you’d like to read things like temperature values. It’s a pretty handy application.

Yes, you already have a GUI tool to monitor system resources but you can opt to use this one instead. It’s a pretty large file (or multiple files) but that’s to be expected with Flatpaks. So, get a coffee going while you wait for the application to install.

Closure:

So, there’s a GUI tool you can use to monitor system resources. It’s worth investigating. Some of you may like it well enough to switch to it entirely. Others may find they reach for it when they need more information than they usually have available on one screen. Either way, it’s a handy application and one worth knowing about.

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 site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.

Installing Flatpaks In Linux

Today we’re going to have a pretty easy article where you’ll learn about installing Flatpaks in Linux. I’m writing this article because I want to write another article. Once I write this article, I can write that article!

I did write a previous article about installing Flatpaks in Lubuntu. I want this to cover more distros than that, so that’s one of the reasons for this article.

So, I asked AI to tell us about Flatpaks… Let’s see how it did.

“ChatGPT, explain Flatpaks in Linux please.”

Flatpak is a modern packaging format for Linux that aims to simplify the distribution and installation of software applications across different Linux distributions. Here’s a breakdown of Flatpaks in under 600 words:

What is Flatpak?

Flatpak is a technology developed for Linux-based operating systems that allows developers to package applications and their dependencies into a single, portable format. These packages, called Flatpaks, are designed to run on any Linux distribution, regardless of its specific package management system.

How does it work?

Flatpak packages contain everything an application needs to run, including libraries, dependencies, and runtime environments. This eliminates compatibility issues with different distributions and ensures that applications run consistently across different Linux systems.

Key Components:

  • Flatpak Runtime: A standardized environment that provides essential libraries and services needed for applications to run. Runtimes are shared among multiple applications, reducing duplication and ensuring consistency.

  • Flatpak Builder: A set of tools that developers use to create Flatpak packages. Builder automates the process of bundling applications and their dependencies, making it easier to package and distribute software.

  • Flatpak Repository: A centralized location where Flatpak packages are hosted and made available for download. Users can add repositories to their system to access a wide range of Flatpak applications.

Benefits:

  1. Cross-Distribution Compatibility: Flatpaks are designed to work on any Linux distribution, simplifying software distribution and installation for developers and users alike.

  2. Isolation: Each Flatpak application runs in its isolated environment, with its own set of dependencies. This improves security and stability by preventing conflicts between different applications and system libraries.

  3. Sandboxing: Flatpak applications can be sandboxed using various security mechanisms, such as containerization and permission controls. This reduces the risk of malicious software compromising the system.

  4. Upstream Compatibility: Flatpak packages are often built directly from upstream sources, ensuring that users get the latest versions of software with minimal delay.

How to use Flatpak:

  1. Installation: Most Linux distributions provide tools for installing Flatpak support. Once installed, users can add Flatpak repositories to their system to access a wide range of applications.

  2. Searching and Installing Apps: Users can search for Flatpak applications using the command-line interface or graphical software centers. Installing a Flatpak is as simple as running a single command or clicking a button in the software center.

  3. Running Flatpak Apps: Once installed, Flatpak applications appear alongside native applications in the system menu. Users can launch them like any other application, and they will run within their isolated environment.

Drawbacks:

  1. Storage Overhead: Flatpak applications include their dependencies, which can lead to increased storage usage compared to traditional package management systems.

  2. Performance Overhead: Running applications in a sandboxed environment can introduce some performance overhead compared to native installations, although this is usually minimal.

Final AI Thoughts:

Flatpak is a promising technology that addresses many of the challenges associated with distributing and installing software on Linux. Its cross-distribution compatibility, isolation, and security features make it an attractive option for both developers and users looking for a more streamlined and secure software ecosystem on Linux.

So, that explains Flatpaks according to ChatGPT. I think it did a great job in this role, but that’s all I wanted ChatGPT to do for me.

Installing Flatpaks In Linux:

This is going to require a terminal. Some distros will have Flatpak installed and be able to install Flatpaks from the GUI. So, open up a terminal before proceeding. You can usually open a terminal by pressing CTRL + ALT + T but some of you will have to open a terminal via your application manager.

Some distros will come with Flatpaks already enabled. If you have Flatpaks already enabled, you can skip this article. To find out if you have Flatpaks already enabled, run this command:

If that returns a version number, you already have Flatpaks installed.

By the way, if you have Flatpaks enabled but not the centralized repository (FlatHub) then you may still need to run the following command:

Anyhow, now on to the installation instructions:

Debian/Ubuntu:

Linux Mint:

Already Installed.

Fedora/CentOS:

Already Installed.

RHEL:

Rocky Linux:

SUSE/OpenSUSE:

Arch:

Manjaro: 

Already Installed.

There you go. Those are the distros I usually cover. One of those commands is going to work for most of you. If those commands do not cover you, you can likely install Flatpak from your repositories. It should be fairly easy.

As you can see, more and more distros are starting to ship with Flatpaks enabled by default. I’ve seen more of this since Ubuntu started shipping Snaps by default, so maybe those distros are trying to provide something similar while not relying on Ubuntu.

Anyhow, once you’ve done this, you can visit FlatHub to start installing software:

FlatHub

Then, I shared the command earlier, if you find the repo isn’t working properly, you can run the following command to try to fix it:

That should do it. You can now use Flatpaks and I can write that future article!

Closure:

If you’ve ever needed to know about installing Flatpaks in Linux, this is a start. This is the preparation and, once done, you should be able to install software from the repositories easily enough. There are a ton of great applications that you can use after installing Flatpaks in Linux, or at least enabling Flatpaks in Linux.

Also, this seemed like a bit ‘over-the-top’ as far as ChatGPT responses go. It was more verbose than it usually is. I did decide to include all of the output as it does make for a more interesting article. That’s far more than I’d have written about the subject. 

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 site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.

How To: Install Wine In Lubuntu

Today’s article isn’t going to be complicated or long as we are going to cover how you install Wine in Lubuntu. This should be straightforward and work with any modern version of Lubuntu.

I suppose we should start with the basics…

Lubuntu is a distro in the Ubuntu family. This is my favorite distro and I’ve covered Lubuntu-specifics in the past. However, these directions are going to work just fine on Ubuntu or even Linux Mint. They should also work just fine for Debian and any other distro that uses ‘apt‘ and some standard repositories. 

Wine is software used to run Windows software on Linux. It once stood for “Wine Is Not an Emulator” and it is indeed not an emulator. Wine is a compatibility layer that lets you run some Windows software on Linux. Not all Windows applications will run, and things like Windows drivers don’t work, but it can be a handy application for those who still rely on Windows software.

I’ll only cover the basics. There’s a lot to Wine (not WINE, at least according to the project page) and this is only going to cover how to install Wine in Lubuntu. Of course, other distros can use these same few steps, but I only tested in Lubuntu. (It’s a giant amount of software to download and my bandwidth isn’t the greatest.)

If you’ve tested this in other distros, let us know!

And, yes, I did test this in Lubuntu and Wine appears to be installed.

Install Wine In Lubuntu:

You can likely do this with the GUI software installation tools but we’ll do this in the terminal. As you’re using Lubuntu, you can open a terminal by simply pressing CTRL + ALT + T on your keyboard.

Because you’re using Lubuntu, I can surmise that you’re using 64-bit. If you’re not, you’re using a very old version of Lubuntu. You should upgrade to a supported release immediately, or move to a distro that’s still supporting 32-bit hardware.

If you’re not using Lubuntu, you should read this:

Is My System Capable of 32 or 64-Bit Linux?

You’ll need to use a 64-bit CPU and operating system if you want to follow these directions with any hope of success.

The first thing we will do is enable 32-bit software from the repositories. This is just a simple command:

I don’t always remember to suggest you update your device, but it’s a good idea if you update now. You can update with this command:

With all of that done, you only need to install Wine in Lubuntu. That’s easily done:

That’s all there is to it, at least at the basic level. As I don’t use Wine, because I don’t use Windows software, I’m going entirely from my notes and a time when I did try to retain some Windows software. (Crimson Editor, I’m looking at you.)

Closure:

There’s a lot more to this, but that’s the gist of it. If you want to install Wine in Lubuntu, it’s not all that difficult. You may then want to do things like install Plays On Linux or whatnot, but I don’t think that’s technically required. So, this is just an intro to Wine. There’s much more to it.

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 site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.

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.