urn:uuid:ec81d1e2-6017-59c2-9835-df4da308b003 Topic: Linux – Ctrl blog Daniel Aleksandersen https://www.daniel.priv.no/ Copyright © 2021 Daniel Aleksandersen. https://www.ctrl.blog/assets/favicon/favicon.svg 2021-05-20T11:03:00Z weekly 10 urn:uuid:d0e71f20-7279-4e44-a2eb-93aa6c2511bf 2021-05-20T11:03:00Z 2021-05-20T11:03:00Z How to change keyboard layout on the GNOME and Plasma login screens Neither GNOME nor Plasma’s settings app has an option to change the keyboard layout on the login screen. Here’s how you make the change through the terminal. <p>I’ve had an annoying issue with the login screen on my Linux computer: it’s using the wrong keyboard layout. I can’t log in without first doing some mental mapping of where the keys are on the wrong keyboard layout. Here’s how you change the keyboard on the LUKS password screen, and graphical login screens.</p> <p><a href="https://www.ctrl.blog/entry/how-to-linux-login-keyboard-layout.html">Read more …</a></p> urn:uuid:65ac1d6f-f3e1-43fb-b317-b8a1c42dfddc 2021-04-23T07:58:00Z 2021-04-23T07:58:00Z WSLg simplifies running Linux desktop apps on Windows <abbr title="Windows Subsystem for Linux GUI apps">WSLg</abbr> simplifies running Linux desktop apps on Windows Microsoft has added support for running Linux desktop programs through WSL and Wayland on Windows 10 through the new Windows Subsystem for Linux GUI apps (WSLg.) <p>The latest Windows 10 Insider build (21354.1) introduced support for Windows Subsystem for Linux GUI Apps (WSLg.) Microsoft Windows can now run Linux desktop apps natively. Let that sink in for a bit.</p> <p><a href="https://www.ctrl.blog/entry/wslg-desktop-apps.html">Read more …</a></p> urn:uuid:7138a7fa-7087-4144-a077-5da2b7902c4a 2021-04-03T15:07:00Z 2021-04-09T23:49:00Z GNU Parallel can do anything, but scripting may be the better option GNU Parallel is a powerful Linux parallelization tool for local and remote jobs. Its unique command syntax and complex requirements makes it difficult to use. <p>GNU Parallel is a utility that lets you run command jobs in parallel; on local and on remote hosts over the network. It’s incredibly powerful when you need something more flexible than <code>xargs</code>, and it’s especially useful with small computer clusters.</p> <p><a href="https://www.ctrl.blog/entry/not-gnu-parallel.html">Read more …</a></p> urn:uuid:bbf047a2-7c3a-49af-b794-db70a04d186e 2021-02-12T20:02:00Z 2021-02-12T20:02:00Z systemd application firewalls by example <code translate="no">systemd</code> application firewalls by example How to restrict Linux services’ network traffic with per-service systemd firewall rules. Enhance security by only allowing required network access. <p>An application firewall, unlike a gateway (router) or system level firewall, is meant to limit the networking of a single application. It can be used to prevent a compromised service from seeing into the local network, prevent programs from calling home, plug metadata leaks, or more tightly control a program’s network access.</p> <p><a href="https://www.ctrl.blog/entry/systemd-application-firewall.html">Read more …</a></p> urn:uuid:16597654-c539-4070-9e0e-4492d3665cfd 2021-01-23T14:10:00Z 2021-01-23T14:10:00Z What’s with cp --reflink: failed to clone: Invalid argument? What’s with <samp translate="no">cp --reflink: failed to clone: Invalid argument</samp>? What would case a file-cloning attempt using the copy command to return “invalid argument”? It can be hard to identify the underlying issue. <p>Most modern copy-on-write file systems, such as Btrfs and XFS, support file cloning. (OpenZFS being the notable exception.) However, the tools that support this space-saving innovation can be difficult to use. Here’s an example situation detailing how the simple copy (<code>cp</code>) command on Linux can make it hard to understand what’s going on.</p> <p><a href="https://www.ctrl.blog/entry/cp-reflink-einval.html">Read more …</a></p>