Search
It is true that Fn combinations are usually implemented in hardware, but in X11 (not Wayland of course!) you can circumvent this issue for most or all your keys.[1] For example, my F3 -> F3 and...
How to list tags of a container in container registry using CLI tools? Kinda like you would browse them visually in dockerhub.
I use Kubuntu 24.04.1 LTS. Firefox is running: System Monitor see Firefox as a process: But not as an application: Why doesn't System Monitor see Firefox as an application, unlike Chrome? ...
The b\+ part of the regex is already greedy. In sed, all repetitions are greedy. Your problem is that the initial .* is also greedy, and so that's gobbling up both the a and as many bs as it can. F...
By default modern Ubuntu versions run the service systemd-timesyncd in the background. It fetches the time at regular intervals and should automatically set your system time when an NTP server is r...
Suppose I write a Bash function at the command line: $ hello-world() { echo "Hello, world!"; } and I revise (perhaps hitting up-arrow to retrieve it from command history and edit it) and test a...
From the Desktop Entry Specification: A command line may contain at most one %f, %u, %F or %U field code. Try storing %F in a local variable and reusing the variable. Also, take care: %F wil...
Perhaps unsurprisingly, this turned out to be a Nvidia driver issue. Switching from the "X.Org X server - Nouveau display driver from xserver-xorg-video-nouveau" driver to the "NVIDIA driver (open ...
I think I finally found a topic the Arch wiki doesn't cover :) I have a Zigbee USB dongle and some Zigbee-capable wireless devices. The dongle is supposed to create a network to which the devices ...
How to reset time in Ubuntu after replacing CMOS battery?
TL;DR BIOS Setup, not Operating System In most systems there is a user-accessible setup page that is part of the BIOS. This is accessed before starting Linux, Windows or any other operating system...
Docker stores data under directories like /var/lib/docker/overlay2/xyz123. These sometimes grow very large, and Docker does not provide good instructions for how to easily manage the space used by ...
After running software updates on Ubuntu 22.04.05, my Firefox (137.0) window is suddenly behaving strangely; after I lock and unlock my computer, the window for some reason appears behind my applic...
Of course, being a swiss army knife ffmpeg already has this capability builtin: ffmpeg -i Example.mp4 -vf "select=not(mod(n\,20)),scale=200:-1,tile=5x4:padding=2:color=white" -vsync 0 -frames:v 1 ...
If you want to go with command-line tools, the first step might be to run a du -h --max-depth=1 | sort -h -k 1 -r in your root directory. This will give you a list of the sub-directories sorted...
My goal is to create a clickable link in the terminal that opens an executable. I'm trying to do this using thefile: URI. For example, I want to open Blender whose executable is /usr/bin/blender. I...
Since you are using GNOME, these links are probably handled by gio (as opposed to xdg-open or exo-open). GIO and xdg-open use ~/.config/mimeapps.list to figure out how to open a certain link. The f...
Suppose the machine is short on memory and the OOM Killer has selected a target process to shut down (in order to reclaim memory). How does the OOM killer actually kill the process? Is it done usi...
You've just run df -h and are shocked how little disk space you got left. You'd like to find where all the space has gone. How to find big(est) files and directories on your system? (So that you c...
The basis of the Unix philosophy is to decompose complex tasks into simple sub-tasks, so that one can easily choose a combination of simple Unix tools to solve the problem in an intuitive way. Oft...
I saw @dsr's user card. As you can see his sum of received votes is 1. But, if you visit his profile than it will show you that he has a question and answer, both of which have 1+1=2 upvotes. He...
MWE touch d less d # jump to editing d without leaving less Question Is there a way to edit a file from viewing it in less? Jumping straight into Vim would be preferred, but an answer for e...
It takes a long time to build even the source package for a PPA of a huge project, and while the build isn't finished my computer is under heavy load so I can barely navigate a browser. The frustra...
I'd like to use the answers in this post while using zsh: compgen -c # will list all the commands you could run. compgen -a # will list all the aliases you could run. compgen -b # will list a...
I don't know if this is universal or specific to my setup (zsh, GNOME Terminal, Xorg), but using "+yy (double quote, plus, Y, Y) instead of just yy works for me. Note this is the same command used...