Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • What are masked services in Linux, and how do you manage them? [Ed: Jack Wallen is conflating Microsoft systemd with Linux]

    Have you ever gone to start or stop a service in Linux using the systemctl command only to see a warning such as:

    Failed to start postgresql.service: Unit postgresql.service is masked
    

    You know you installed the Postgresql database server and it was working properly, yet somehow you no longer have control over the service. You can’t manage it in any way. What happened?

    First of all, masks are a different way of disabling a service. Here’s the difference: When you disable a service with sudo systemctl disable, all symlinks for the service are removed. When masking a service, the symlinks are moved and then point to /dev/null. When you simply disable a service, it can still be started manually. When you mask a service, it cannot be started manually. In other words, masking a service renders the service permanently unusable until it’s unmasked.

  • How to install KDE neon 20220714 - Invidious

    In this video, I am going to show how to install KDE neon 20220714.

  • How to Install Joomla! on Ubuntu 22.04 - RoseHosting

    Joomla! is a popular open-source CMS written in PHP. It is built on a model–view–controller web application framework, and it offers many features such as blogs, page caching, support for language internationalization, etc.

    A number of modules are also available for discussion forums, photo galleries, social media, etc. Joomla! makes it easy to create a personal blog and other personal or community online presences. Installing Joomla! is fairly easy, we will show you how to install Joomla! on Ubuntu 22.04.

  • How to repair and clone disk with ddrescue

    ddrescue is a tool that can be used to repair and clone disks on a Linux system. This includes hard drives, partitions, DVD discs, flash drives, or really any storage device. It performs data recovery by copying data as blocks.

    If ddrescue encounters errors from the data it’s trying to copy, it can discard them and keep only the good data. This makes it an ideal tool when trying to recover data from a corrupted disk. In this tutorial, you will learn how to install ddrescue and use it to clone a full disk or partition, and write that data to an empty storage space.

  • How to Install LAMP Stack on Fedora 36 (Simple Guide)

    The step-by-step guide on this page will show you how to install LAMP stack on Fedora 36.

  • Ansible Vault Tutorial

    In previous tutorials we discussed Ansible, a great tool we can use for automation and provisioning. We talked about basic Ansible concepts, we saw some of the most used Ansible modules, how to manage variables and how to perform basic loops in playbooks; now it’s time to see how to protect sensitive information which sometimes may be needed to accomplish some tasks. In order to protect sensitive information when using Ansible, we encrypt them with Ansible Vault.

    In this article we discuss the basics of Ansible Vault, and we see how we can use it to encrypt variables or entire playbooks.

  • How to run commands periodically with anacron on Linux

    When we need to schedule a task on a Linux system we can use utilities like cron or systemd-timers. Various implementations of cron exist, but they have in common the fact that they run as a system service, and are designed to be used on systems which are always up and running, like servers. When we need to schedule a task on a desktop or a notebook, which are turned off more often, we can use anacron instead.

    In this article we learn what is anacron, what are the differences between anacron and cron, and how to use anacron to schedule commands on Linux.

  • How to change LibreOffice language

    The purpose of this tutorial is to show how to change the language in LibreOffice on a Linux system. Setting the language in LibreOffice will not only reflect changes in the menus of the application, but will also allow you to get auto correct recommendations in the target language, but these settings can be configured independently of each other. Follow the steps below to get started.

  • How to enable language spell check in LibreOffice

    The purpose of this tutorial is to show how to enable the language spell check feature in LibreOffice on a Linux system. This will allow you to get spell check and auto correct suggestions in the language of your choosing. Follow the steps below to get started.

  • How to create desktop shortcuts in Linux

    Many people find it useful to organize some of their most frequented applications as shortcuts on their desktop. This allows for quick launching of programs or custom shortcuts. Although most Linux systems rely on a sidebar app launcher or start menu, desktop shortcut launchers can allow you to open applications or websites super fast, since they live right on your desktop and make the targets only a click away.

    In this tutorial, you will see how to create desktop shortcuts on a variety of desktop environments, including GNOME, KDE Plasma, Xfce, Cinnamon, MATE, and LXQt. This will include setting a custom icon and name for your desktop shortcut, in order to make them easily identifiable and tailored to your tastes.

More in Tux Machines

today's howtos

  • How to Change Comment Color in Vim – Fix Unreadable Blue Color

    Are you annoyed about the comment color in vim? The dark blue color of the comment is often hard to read. In this tutorial, we learn how to change the comment color in Vim. There are few methods we can use to look vim comment very readable.

  • How to Add Repository to Debian

    APT checks the health of all the packages, and dependencies of the package before installing it. APT fetches packages from one or more repositories. A repository (package source) is basically a network server. The term "package" refers to an individual file with a .deb extension that contains either all or part of an application. The normal installation comes with default repositories configured, but these contain only a few packages out of an ocean of free software available. In this tutorial, we learn how to add the package repository to Debian.

  • Making a Video of a Single Window

    I recently wanted to send someone a video of a program doing some interesting things in a single X11 window. Recording the whole desktop is easy (some readers may remember my post on Aeschylus which does just that) but it will include irrelevant (and possibly unwanted) parts of the screen, leading to unnecessarily large files. I couldn't immediately find a tool which did what I wanted on OpenBSD [1] but through a combination of xwininfo, FFmpeg, and hk I was able to put together exactly what I needed in short order. Even better, I was able to easily post-process the video to shrink its file size, speed it up, and contort it to the dimension requirements of various platforms. Here's a video straight out of the little script I put together: [...]

  • Things You Can And Can’t Do

    And it got me thinking about what you can and can’t do — what you do and don’t have control over.

  • allow-new-zones in BIND 9.16 on CentOS 8 Stream under SELinux

    We run these training systems with SELinux enabled (I wouldn’t, but my colleague likes it :-), and that’s the reason I aborted the lab: I couldn’t tell students how to solve the cause other than by disabling SELinux entirely, but there wasn’t enough time for that.

  • Will the IndieWeb Ever Become Mainstream?

    This is an interesting question, thanks for asking it, Jeremy. I do have some history with the IndieWeb, and some opinions, so let’s dive in.

    The short answer to the question is a resounding no, and it all boils down to the fact that the IndieWeb is really complicated to implement, so it will only ever appeal to developers.

  • How to Install CUPS Print Server on Ubuntu 22.04

    If your business has multiple personal computers in the network which need to print, then we need a device called a print server. Print server act intermediate between PC and printers which accept print jobs from PC and send them to respective printers. CUPS is the primary mechanism in the Unix-like operating system for printing and print services. It can allow a computer to act as a Print server. In this tutorial, we learn how to set up CUPS print server on Ubuntu 22.04.

Open Hardware: XON/XOFF and Raspberry Pi Pico

  • From XON/XOFF to Forward Incremental Search

    In the olden days of computing, software flow control with control codes XON and XOFF was a necessary feature that dumb terminals needed to support. When a terminal received more data than it could display, there needed to be a way for the terminal to tell the remote host to pause sending more data. The control code 19 was chosen for this. The control code 17 was chosen to tell the remote host to resume transmission of data.

  • Raspberry Pi Pico Used in Plug and Play System Monitor | Tom's Hardware

    Dmytro Panin is at it again, creating a teeny system monitor for his MacBook from scratch with help from our favorite microcontroller, the Raspberry Pi Pico. This plug-and-play system monitor (opens in new tab) lets him keep a close eye on resource usage without having to close any windows or launch any third-party programs. The device is Pico-powered and plugs right into the MacBook to function. It has a display screen that showcases a custom GUI featuring four bar graphs that update in real-time to show the performance of different components, including the CPU, GPU, memory, and SSD usage. It makes it possible to see how hard your PC is running at a glance.

Security Leftovers

How to Apply Accent Colour in Ubuntu Desktop

A step-by-step tutorial on how to apply accent colour in Ubuntu desktop (GNOME) with tips for Kubuntu and others. Read more