Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • XTerm: It's Better Than You Thought

    A couple months back I switched my terminal from xfce4-terminal to the venerable xterm. For some reason I always put xterm in the same bucket as xclock, xmessage, or any other prehistoric command starting with X that comes pre-installed on any graphical Linux distribution.

    It was surprising to learn that xterm is still very much actively developed. Even more surprisingly, it turns out xterm has incredibly low input latency compared to modern terminals. This is easy to test at home, try typing in xterm compared to any other terminal and feel how much snappier it is.

    The lower latency alone is worth the price of admission in my opinion, so I went about configuring xterm as my default terminal. The configuration goes in ~/.Xresources and you need to run xrdb ~/.Xresources after every change, or make vim do it.

  • How to install ClassiCube on a Chromebook

    Today we are looking at how to install ClassiCube on a Chromebook. It is a sandbox block game inspired by Minecraft Classic. Please follow the video/audio guide as a tutorial where we explain the process step by step and use the commands below.

    This tutorial will only work on Chromebooks with an Intel or AMD CPU (with Linux Apps Support) and not those with an ARM64 architecture CPU.

  • How to install Kodi 18.8 on Linux Mint 20.1 - YouTube

    In this video, we are looking at how to install Kodi 18.8 on Linux Mint 20.1.

  • How to download webcomics from the command line on Linux

    Would you like to back up all the strips of your favorite website? Hopefully, the open source community has the solution: a command line program to download all your favorite webcomics from your terminal.

  • How to Safely Uninstall Ubuntu in a Windows Dual-boot PC | FOSS Linux

    Previously, We covered a post on How to dual-boot Windows and Ubuntu on the same PC. We also went further and looked at How to dual-boot two Linux distributions like Fedora and Ubuntu. This post will look at something around the same line but a little different.

  • How to mount Google Drive on Linux

    In the past, close to 30K people signed up for a online petition, desperately wanting to have an official native Linux client for Google Drive, and yet their voice is still being ignored by Google. Perhaps when it comes to boosting their bottom line, Linux desktop market is not a priority for Google.

    They can ignore Linux desktop market all they want, but they cannot ignore the power of FOSS. Faced with the frustration, the open-source community respondded, producing unofficial Google Drive clients such as Grive or SyncDrive. These clients are file synchronization tools which sync files and folders between local file system and remote Google Drive. As such, you cannot mount Google Drive using these tools.

  • How To Customize Your WordPress Login Page - Anto Online

    Let’s face it! The default WordPress login page is quite bland. If you have some impressive stuff on your site, then showing the WordPress form is a bad first impression. The login form should at least reflect the greatness that the users are about to experience. Let us take a look at how you can customize the WordPress login page!

    Besides, using the default WordPress login page shows that you are lazy or ordinary. This is a bad sign, especially when you want people to trust you. The good news is that customizing the login page is easy since it can be done with plugins’ help.

  • Fedora 33 : Install wordpress on Fedora distro.

    For those who are celebrating the winter holidays with the Linux operating system, I have created this little tutorial...
    The first step - update and upgrade the Fedora 33 Linux distro.

  • Efficiently Manage Remote SSH Connections With These Linux Commands
  • How To Install A New Desktop Environment Using Raspberry PI OS

    The default desktop environment for the Raspberry PI OS is a good place to start when you first get your Raspberry PI but there are lots of other choices available.

    A desktop environment encompasses every visual aspect of your computer from the backgrounds, to the way windows appear and are managed, the panels, icons and in many cases a set of default applications.

    Thus far unless you have followed my guide for customising the Raspberry PI desktop your desktop experience will consist of a panel at the top, a single wastebasket icon on the desktop and a menu that pulls down from the top left and a series of system tray icons in the top right.

    There are many different desktop environments available and with Raspberry PI OS there is a fairly straight forward way to install the most popular ones.

  • Pi4 slow USB drive fixed

    I have posted about extreme sluggishness of EasyOS on the Raspberry Pi4, and fixes:
    https://bkhome.org/news/202101/easyos-64-bit-running-faster-in-pi4.html
    Unfortunately, that is not the end of the story. Bootup is slow, the desktop drive icons are very slow to load, and other drive-related operations are very slow. A bit of online research on Pi forums revealed the cause -- "USB attached SCSI" (CONFIG_UAS) is enabled in the kernel.
    UAS makes UAS-enabled SSDs go faster, however, it seems to be broken, even on some supposedly UAS-enabled SSDs. I do recall this issue, and EasyOS kernels for x86_64 PCs have CONFIG_UAS disabled.

More in Tux Machines

today's howtos

  • How to Install IonCube Loader on Ubuntu - Cloudbooklet

    How to Install IonCube Loader on Ubuntu. IonCube Loader is a PHP extension used when you are using a PHP script that is encrypted using ionCube. IonCube needs to be installed in your webserver and made accessible to your PHP to use it. In this guide you are going to learn how to install ionCube loader on Ubuntu or Debian and configure your PHP or PHP-FPM and PHP-CLI to use it.

  • How to Setup CentOS Stream from AWS Marketplace

    In the current trend of IT Infrastructure, Cloud Computing occupies a tremendous role. Most of the top companies are looking for Cloud Providers to have their Infrastructure. As per our requirement, we can provision our servers at any time. According to the server configuration, we will be charged per usage. Amazon Marketplace is the place where you can find software from qualified third-party vendors. It is like an online software store where you can buy software and use it as per your need. In this article, we will see the detailed steps to launch CentOS-Stream from AWS Marketplace.

  • Create a MAN page for your own program or script with Pandoc - PragmaticLinux

    A MAN page is documentation for a software program or script, created in the groff typesetting system. Ever tried writing a MAN page? I bet you thought to yourself: “Yeez, there’s got to be an easier way to do this”. Luckily, there is. In this tutorial, I’ll show you how to write a MAN page comfortably in Markdown. Then we’ll use Pandoc to create the actual MAN page for your program or script, properly formatted in the groff typesetting system.

  • Looking into Linux user logins with lslogins

    One convenient way to list details about user logins on a Linux system is to use the lslogins command. You'll get a very useful and nicely formatted display that includes quite a few important details. On my system and likely most others, user accounts will start with UID 1000. To list just these accounts rather than include all of the service accounts like daemon, mail and syslog, add the -u option as shown in the example below.

Programming Leftovers

  • Coming in glibc 2.33: Reloadable nsswitch.conf

    In my previous article about nsswitch.conf I talked about how simple, perhaps too simple, this config file is to use. What I didn’t cover then was how simplistic its internal implementation is. Specifically, an application only loads this file once—the first time it’s needed. So, what do you do when nsswitch.conf needs to change? How do you update all of the running applications? You don’t! The only way to force a reload is to stop the application and restart it. That is not always an option, especially for critical applications that might take a long time to restart. Recent work behind the scenes in the GNU C library will change all of this. As of glibc version 2.33, this config file now reloads and reparses each time it changes, and only the configuration is reloaded. If the configuration calls for an external shared library to be loaded, that object is only ever loaded once. It may be called in a different sequence, or not called at all, but it is never unloaded. This behavior avoids a whole class of problems related to unloading shared objects that might still be in use.

  • SEGGER's Complete J-Link Software Now Available for Linux on ARM

    SEGGER’s entire portfolio of J-Link software is now available for Linux on ARM, for both 32-bit and 64-bit platforms. This includes both the command-line programs and GUI tools such as J-Flash, J-Flash SPI, J-Scope, the J-Link Configurator, and the GUI version of the GDB Server. “J-Link can now be used on Raspberry Pi and other ARM-based machines, without any limitations,” says Alex Grüner, CTO at SEGGER. “Small single-board ARM computers now offer the same functionality as x86 powered machines. The inexpensive Raspberry Pi and similar boards are now viable options, especially in test farms and production environments.”

  • Bootstrappable builds

    The idea of Reproducible Builds—being able to recreate bit-for-bit identical binaries using the same source code—has gained momentum over the last few years. Reproducible builds provide some safeguards against bad actors in the software supply chain. But building software depends on the tools used to construct the binary, including compilers and build-automation tools, many of which depend on pre-existing binaries. Minimizing the reliance on opaque binaries for building our software ecosystem is the goal of the Bootstrappable Builds project. For example, GCC is written in C and C++, which means that it requires compilers for those two languages in order to be built from source. In practice, that generally means a distribution would use its existing binary executables of those tools to build a new GCC version, which would then be released to users. One of the concerns with that approach is described in Unix inventor Ken Thompson's Turing Award lecture "Reflections on Trusting Trust" [PDF]. In a nutshell, Thompson said that trusting the output of a binary compiler is an act of faith that someone has not tampered with the creation of that binary—even if the source code is available. The Bootstrappable Builds project was started as an offshoot of the Reproducible Builds project during the latter's 2016 summit in Berlin. A bootstrappable build takes the idea of reproducibility one step further, in some sense. The build of a target binary can be reproduced alongside the build of the tools required to do so. It is, conceptually, almost like building a house from a large collection of atoms of different elements.

  • Parasoft Accelerates CI/CD Pipeline Through Partnership With IAR Systems

    IAR Build Tools for Linux uses the leading build tools from IAR Embedded Workbench and empowers software developers who build safety-critical applications to work directly on the Linux host environment, eliminating toolchain version management.

  • Josef Strzibny: Working with decimals in Elixir

    Integers are not enough, and floats are flawed? Decimals to the rescue! A short guide of what’s important when working with decimals in Elixir. This post is about the Decimal 2.0 module from decimal Hex package. As with every module in Elixir, running h Module and Module.module_info in IEx is a good place to start.

  • Swift Deploys: Dealing with Anti-Patterns and Unresolved Issues

    In a long end-of-the-year blog post, Charity Majors, co-founder and CTO of honeycomb.io, discussed lead time to deploy, or “the interval encompassing the time from when the code gets written and when it’s been deployed to production.”

  • Perl weekly challenge 95

    You are given a number $N. Write a script to figure out if the given number is Palindrome. Print 1 if true otherwise 0.

  • Perl Weekly Challenge 95: Palindrome Numbers and Demo Stack
  • Learn awk by coding a "guess the number" game | Opensource.com

    Once you understand these concepts, you can start figuring the rest out. For example, most languages have a "way of doing things" supported by their design, and those ways can be quite different from one program to another. These ways include modularity (grouping related functionality together), declarative vs. imperative, object-orientation, low- vs. high-level syntactic features, and so on. An example familiar to many programmers is "ceremony," that is, the amount of work required to set the scene before tackling the problem. The Java programming language is said to have a significant ceremony requirement, stemming from its design, which requires all code to be defined within a class.

  • The terminal, the console and the shell - what are they?

    The other day, as I was going through some of my old notes, I stumbled upon something I had written about the console, the terminal and the shell on Unix-like operating systems. I have decided to rewrite these notes in order to share them here on my website. So without further ado we will now stroll down memory lane and take a quick look at the origins of the Unix terminal and shell. And I will also give my advice to new users on Linux or BSD regarding the choice of terminal emulator and shell.

Raspberry Pi: EasyOS, YARH.IO, Proprietary Blobs and Inkplate

     
  • Current status of EasyOS on the Pi4

    The videos seem to play OK though. Regarding the hanging, SM seems to be waiting on a response from youtube.com, so I don't know if that is a problem with youtube.com or the network interface. Regarding point-3, sometimes just replugging the USB-stick is sufficient to get it recognized. But sometimes replugging multiple times still does not work.

  •   
  • Stripped-down Raspberry Pi 3B+ SBC powers YARH.IO Micro 2 DIY handheld PC

    We’ve already seen a few DIY Raspberry Pi-based handheld computers in the past with the likes of Zero Terminal V3 or hgTerm powered by a Raspberry Pi Zero and a stripped-down Raspberry Pi 3 board respectively. So why not another? YARH.IO Micro 2 DIY handheld PC is based on a Raspberry Pi 3B+ SBC stripped from its Ethernet port, whose double stack USB connectors have been replaced with single stack USB connectors. The DIY computer also adds off-the-shelf parts with a 4″ touch screen display and a Bluetooth keyboard without touchpad, and gets its power from a 3,500 mAh battery.

  • Get VMware on Raspberry Pi
             
  • 2.5-inch "Industrial Pi" Pico-ITX SBC offers PoE , mini DP++ port

    Inkplate 10 also supports Peripheral Mode which allows you to control the display from another board such as Raspberry Pi or Arduino via commands sent over a UART or USB connection.

Xfce 4.16 Desktop Lands in openSUSE Tumbleweed, Download Now

If you’ve been waiting for Xfce 4.16 to land in openSUSE Tumbleweed, I have some good news today as the wait is over and you can install the desktop environment right now from distribution’s software repositories and upgrade from Xfce 4.14. Xfce 4.16 brings many goodies for fans of the lightweight desktop environment, including fractional scaling, dark mode for the Panel, CSD (Client-side decorations) support for all the Settings dialogs, a revamped About Xfce dialog with info about CPU, GPU and RAM, as well as a refreshed look with new icons and color palette. Read more