Search
I was told that an IPv6 link-local address — typically starting with fe80:: — is derived from the interface's MAC address. Here are some instruction on how to do the conversion. But the conversion...
What is the simplest shell idiom for stripping leading and trailing whitespace from a file or program output? Ideally I am looking for the equivalent of trim or strip methods in some languages. Th...
I want to have a local DNS server on my home LAN, say at 192.168.1.123. All of my machines will use 192.168.1.123 as their only DNS server when connected to my home network. By default, my DNS ser...
My goal is to use a french AZERTY keyboard layout with Arch linux and Gnome desktop environment but use US English as "OS language". Note that I am also open to a "working" solution on any other d...
I somehow managed to unknowingly change the default app for opening directories on my laptop. E.g. when I use the option open containing folder in a program like Evince, my editor (vscode) opens u...
I was looking into unlocking my login after too many incorrect password attempts. I found this post about it. Doing faillock -user $(whoami) --reset did indeed unlock the login. However, what exac...
A good explanation is given on the RedHat Customer Portal. TL/DR: The Valid field indicates whether a record counts toward the lockout threshold (V) or not (I). The key seems to be the meaning of ...
Perl 5's /x modifier ignores whitespace in the regex, but it doesn't seem to ignore whitespace in the replacement (and I don't know enough perl to fix this). However, if you want to match whitespac...
The special Fn keys typically trigger ACPI events, for which the ACPI daemon can trigger actions. Install ACPI daemon (apt install acpid) and make sure it is started and enabled. If it isn't, sy...
I am running Debian stretch on a Lenovo laptop with only a window manager (i.e. no desktop). Out of the box, this configuration of Debian ignores the keys with special Fn functions, such as volum...
Each file descriptor can only point to a single file. File descriptors can be duplicated such that both point to a single file, but a file descriptor cannot point to two files. Hence, you have ...
If I want to yank my last command I can UP yy, but this does not copy to the system clipboard. How do I configure my terminal to copy to the system clipboard so I can paste into other programs? ...
I have upgraded Xubuntu from 20.04 to 22.04 and my compose key, which defaulted to Shift + AltGr, was disabled. It is no longer available in the keyboard settings GUI either. How can I set the com...
unzstd yourfilename.zst works fine sudo apt-get install zstd or similar is likely to be needed
I just want to "zoom in/out" in the text console, is there a straightforward command to do that? I have found various sources (1, 2, 3) that either suggest permanent changes (e.g. modifying config...
To double the font size: setfont -d. To revert to the default font: setfont. From the manual page: -d Doubles the size of the font, by replicating all of its pixels vertically and ho...
I have some old X11 applications complain that they cannot find a ISO8859-2 font. So I executed grep -r 8859-2 /usr/share/fonts/ and, to my surprise, found many matches, for example ==> /us...
Brew's deps command might help: brew deps --installed will list out top-level packages and their installed dependencies. Note that some of the top-level packages might be dependencies for other t...
I executed emerge --deselect xournalpp , which means "I don't need the xournalpp package anymore", so it can be removed by a future --depclean action in case Portage figures xournalpp is not a ...
How can I manually set default audio device? I connected docking station and Lubuntu is somehow convinced that it can play audio. I want to continue using laptop speakers. Detaching docking stati...
Two things: First, if you create a second keyring, one not named login.keyring, it will not be automatically unlocked on login. Second, GNOME has a policy that they don't let users configure thin...
While this is about grub loader, this is likely to be a question of OS related. If it doesn't belong to this site than I will remove it. I had installed Bliss in sda2. Device Boot Start...
I was looking through the unpacked file that I find in /proc/config.gz on the host system. There was: # CONFIG_USB_NET_DRIVERS is not set What I also found is that, the host side counterpart to t...
..$ rails s => Booting Puma => Rails 5.2.6 application starting in development => Run `rails server -h` for more startup options A server is already running. Check /home/istiak/ruby/q...
I got 2 small computers running Linux. One acts as ethernet gadget, connected via USB to the other, the host. I set up a bridge, like so: ip link add name br0 type bridge ip link set dev br0 up...