Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • Persistent Live USB vs. Full Linux install on a USB drive | FOSS Linux

    Live USB is a fascinating way of testing out any Linux distro without modifying or making changes to your computer. Unknown to many, there is data persistency mode in the Live session. So you can make some changes and save the file to your Universal Serial Bus (USB) drive. The data will remain still even after powering off the live session.

    You can run a test drive on installing the distro to your USB drive after testing out the live session instead of the internal hard drive. Accordingly, there are two more test-driving a Linux distro – Persistent Live USB drive and Full distro install USB drive.

    The two methods will still allow you to boot Linux from a USB drive and save your data. Some may be thinking about the differences between the two methods and which one you should opt for.

  • How To Install Franz Messaging on Ubuntu 20.04 LTS - idroot

    In this tutorial, we will show you how to install Franz Messaging on Ubuntu 20.04 LTS. For those of you who didn’t know, Franz is a third-party powerful application that allows users to access various social media accounts. This app supports 14 messaging apps such as WhatsApp, Slack, Facebook Messenger, WeChat, Telegram, Google Hangouts, Skype, Discord, and Skype are currently supported with more to follow soon. Franz is available for Linux, macOS, and Windows.

    This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of Franz Messaging on Ubuntu 20.04 (Focal Fossa). You can follow the same instructions for Ubuntu 18.04, 16.04, and any other Debian-based distribution like Linux Mint.

  • How to chat in Twitch streams on the Linux desktop with Chatterino

    Before we can go over how to use Chatterino to chat with your favorite Twitch streamers on the Linux desktop, you’ll need to install it on your computer. To start the installation, open up a terminal window on the Linux desktop.

    You can open up a terminal window on the Linux desktop by pressing Ctrl + Alt + T on the keyboard. Or, search for “Terminal” in the app menu. When the terminal window is open and ready to use, follow the installation instructions below that corresponds with the Linux OS you use to get Chatterino up and running.

  • How to Transfer Files Between Linux, Android, and iOS Using qrcp

    File-sharing apps make it easier to transfer files between mobile devices and computers. But while these apps generally work well, they tend to cause compatibility issues with certain platforms owing to their limitations.

    This is where qrcp comes in. Qrcp is a file transfer utility that works via the terminal and relies on Wi-Fi to carry out file transfer. As a result, you can use it to share files between any computer and mobile phone, irrespective of their operating systems.

    Here's a guide detailing qrcp and the steps to use it for transferring files between your Linux computer and a mobile device.

  • How to Set Date and Time on Rocky Linux 8 Desktop and Server

    Here are the two ways to set a date and time on Rocky Linux 8 or AlmaLinux using the command terminal and graphical user interface.

    There are many processes on the Linux operating system that requires the correct system date and time. Also, to update the system properly and other processes like cronjobs we must need the up-to-date time & date. However, Linux or any other OS automatically syncs the system time from the server, in case not or you want to change the timezone manually then let’s explore how to do that.

  • How to install Devuan - Unixcop

    Let’s see how to install Devuan, a Debian GNU/Linux fork free of systemd as is main feature. This is the first article of a series of two on installing Devuan

  • Configure Gitlab to use Gmail SMTP for Outbound Mails - kifarunix.com

    This tutorial will describe how to configure Gitlab to use Gmail SMTP for Outbound mails. In our previous tutorials, we learnt how to install and setup Gitlab CE.

  • Deploying and Running BCC in Your Kubernetes Cluster

    In 2021, extended Berkeley Packet Filter (eBPF) is becoming an increasingly popular tool for DevOps professionals and backend engineers alike—and rightly so. Using eBPF you can deliver features and experiences instantaneously by instrumenting directly from the kernel. And fortunately, kernel versions are at a great place making it easier for engineers to deliver these solutions to the masses.

More in Tux Machines

today's leftovers

  • Why Do Windows Users Think Linux Users Are Weird - Invidious

    Linux is such a radically different operating system than the proprietary operating systems like Microsoft Windows. Because of this, Linux tends to attract a different kind of user than Windows.

  • How to install Sublime Text on Elementary OS 6.0 - Invidious

    In this video, we are looking at how to install Sublime Text on Elementary OS 6.0.

  • SGX Deprecation Prevents PC Playback of 4K Blu-ray Discs

    This week Techspot reported that DRM-laden Ultra HD Blu-ray Discs won’t play anymore on computers using the latest Intel Core processors. You may have skimmed right past it, but the table on page 51 of the latest 12th Generation Intel Core Processor data sheet (184 page PDF) informs us that the Intel Software Guard Extensions (SGX) have been deprecated. These extensions are required for DRM processing on these discs, hence the problem. The SGX extensions were introduced with the sixth generation of Intel Core Skylake processors in 2015, the same year as Ultra HD Blu-ray, aka 4K Blu-ray. But there have been numerous vulnerabilities discovered in the intervening years. Not only Intel, but AMD has had similar issues as we wrote about in October.

  • PostgreSQL: pgDay Paris 2022 — Schedule published

    The next edition of the popular PostgreSQL conference pgDay Paris, a PostgreSQL.Org Recognized Community Conference, will be held on March 24, 2022 in the French capital. All of the talks will be in English. Registration is open, and the EARLYBIRD discount is going fast so make sure you grab that while you can!

  • WordPress 5.9 RC3

    The third Release Candidate (RC3) for WordPress 5.9 is here! Thank you to everyone who has contributed thus far toward testing and filing bugs to help make WordPress 5.9 a great release. WordPress 5.9 is slated to land in just one week—on January 25, 2022. You still have time to help! Since RC2 arrived last week, testers have found and fixed two bugs, 14 fixes from Gutenberg. There has been one additional Gutenberg fix today.

Proprietary Traps: AD, AV1 Patent Pools, More Outsourcing to Microsoft

  • Overcoming A Common Admin Black Hole: Linux Management [Ed: Shilling Microsoft's proprietary junk (AD) and then alleging Linux has a "black hole"]

    I’ll admit that we never “got there” from a governance standpoint with those Linux devices; a silo was predestined because we were built around Active Directory domain controllers that shunned Linux devices.

  • Firefox Gets AV1 VA-API Acceleration Sorted Out

    Thanks to Red Hat developer Martin Stránský, he has managed to get the Video Acceleration API (VA-API) working for AV1 content within the Firefox web browser. After working on it the past month, the necessary bits have come together for supporting AV1 VA-API playback within Firefox on Linux. See the Mozilla.org BugZilla for tracking the progress on the effort. The latest AV1 activity in general for Mozilla can be tracked via hg.mozilla.org.

  • Hacks.Mozilla.Org: Contributing to MDN: Meet the Contributors [Ed: Mozilla outsourced again to Microsoft and its proprietary software; Mozilla became worthless; it'll be history in a few years due to bad leadership]

    If you’ve ever built anything with web technologies, you’re probably familiar with MDN Web Docs. With about 13,000 pages documenting how to use programming languages such as HTML, CSS and JavaScript, the site has about 8,000 people using it at any given moment. MDN relies on contributors to help maintain its ever-expanding and up to date documentation. Supported by companies such as Open Web Docs, Google, w3c, Microsoft, Samsung and Igalia (to name a few), contributions also come from community members. These contributions take many different forms, from fixing issues to contributing code to helping newcomers and localizing content. We reached out to 4 long-time community contributors to talk about how and why they started contributing, why they kept going, and ask what advice they have for new contributors. [...] Since the end of 2020, the translation of MDN articles happen on the new GitHub based platform. [...] Our seasoned contributors suggest starting with reporting issues and trying to fix them, follow the issue trackers and getting familiarized with GitHub.

Hardware: EInk Phone, Arduino, and More

  • Bryan Quigley: Small EInk Phone

    To be shipped with one of the main Linux phone OSes (Manjaro with KDE Plasma, etc).

  • A DIY CAD Mouse You Can Actually Build

    When you spend a lot of time on the computer doing certain more specialised tasks (no, we’re not talking about browsing cat memes on twitter) you start to think that your basic trackpad or mouse is, let’s say, lacking a certain something. We think that something may be called ‘usability’ or maybe ease-of-use? Any which way, lots of heavy CAD users gush over their favourite mouse stand-ins, and one particularly interesting class of input devices is the Space Mouse, which is essentially patented up-to-the-hilt and available only from 3DConnexion. But what about open source alternatives you can build yourselves? Enter stage left, the Orbion created by [FaqT0tum.] This simple little build combines an analog joystick with a rotary knob, with a rear button and OLED display on the front completing the user interface.

  • KiCAD 6.0: What Made It And What Didn’t | Hackaday

    I’ve been following the development of KiCAD for a number of years now, and using it as my main electronics CAD package daily for a the last six years or thereabouts, so the release of KiCAD 6.0 is quite exciting to an electronics nerd like me. The release date had been pushed out a bit, as this is such a huge update, and has taken a little longer than anticipated. But, it was finally tagged and pushed out to distribution on Christmas day, with some much deserved fanfare in the usual places. So now is a good time to look at which features are new in KiCAD 6.0 — actually 6.0.1 is the current release at time of writing due to some bugfixes — and which features originally planned for 6.0 are now being postponed to the 7.0 roadmap and beyond.

Programming Leftovers

  • C: sigprocmask Function Usage

    You may have heard about socket programming in C. One of the socket functions is the “sigprocmask” function. This function has been usually utilized in the code to inspect or alter the signal mask of the calling function. The signal mask is a term used for a group of signals that are presently blocked and cannot be conveyed for the calling function. Such kind of signal is known as “Blocked Signals.” You can say that a process can still receive the blocked signals, but it will not be used until they are unblocked and released, i.e., raised. Until then, it will be pending. Therefore, within today’s guide, we will be discussing the use of the sigprocmask function in C programming. Let’s have a start. After the Ubuntu 20.04 successful login, you need to launch the shell of the Ubuntu 20.04 system first after the login. So, try out the “Ctrl+Alt+T” shortcut simply on the desktop screen. It will launch the terminal shell for you in some seconds. Make sure to update your system using the apt package of your system. After that, you have to execute the “touch” instruction along with the file name you want to generate, i.e., to create the C file via the shell. This newly created file can be found in the “home” folder of your system’s file explorer. You can try opening it with the “text” editor to create code in it. Another way to open it in the shell is using the “GNU Nano” editor using the “nano” keyword with a file name as demonstrated beneath.

  • C: sigaction function usage

    A sigaction() is a function that allows to call/observe or examine a specific action associated with a particular signal. It is thought to consider a signal and sigaction function on the same page. But in reality, it has not occurred. The signal() function does not block other signals when the current handler’s execution is under process. At the same time, the sigaction function can block other signals until the current handler has returned.

  • delegation of authority from the systems programming perspective – Ariadne's Space

    As I have been griping on Twitter lately, about how I dislike the design of modern UNIX operating systems, an interesting conversation about object capabilities came up with the author of musl-libc. This conversation caused me to realize that systems programmers don’t really have a understanding of object capabilities, and how they can be used to achieve environments that are aligned with the principle of least authority. In general, I think this is largely because we’ve failed to effectively disseminate the research output in this area to the software engineering community at large — for various reasons, people complete their distributed systems degrees and go to work in decentralized finance, as unfortunately, Coinbase pays better. An unfortunate reality is that the security properties guaranteed by Web3 platforms are built around object capabilities, by necessity – the output of a transaction, which then gets consumed for another transaction, is a form of object capability. And while Web3 is largely a planet-incinerating Ponzi scheme run by grifters, object capabilities are a useful concept for building practical security into real-world systems. Most literature on this topic try to describe these concepts in the framing of, say, driving a car: by default, nobody has permission to drive a given car, so it is compliant with the principle of least authority, meanwhile the car’s key can interface with the ignition, and allow the car to be driven. In this example, the car’s key is an object capability: it is an opaque object, that can be used to acquire the right to drive the car. Afterwards, they usually go on to describe the various aspects of their system without actually discussing why anybody would want this.

  • Pip Install: Install and Remove Python Packages
  • A dog-cat-horse-turtle problem

    Sometimes the text-processing problems posted on Stack Exchange have so many solutions, it's hard to decide which is best. A problem like that was posted in the "Unix & Linux" section in December 2021...