Since I don’t use Steam that much I don’t know when it was added, but it’s nice that Steam is no longer tiny on my UHD monitor.
The biggest issue with breadcrumbs in Nautilus and Nemo is that suddenly you can only reach the full path by pressing the keyboard shortcut Ctrl + L or with too precise clicking somewhere far from where you need to be. Thunar has always shared this problem, but it looks like it was silently fixed in the 1.8.x release. (That is, I couldn’t find anything about it in the
Note how everything to the right of the breadcrumbs is a giant button to activate location entry. Very elegant. Next, let’s have some “Open terminal here” on the breadcrumbs!
I went with a mildly deceptive clickbait title since this is generic, not specific.
The simplest way is to add
synclient TapButton3=2 to your
echo synclient TapButton3=2 >> ~/.bashrc
It’s quite simple to do but surprisingly hard to find. Mixed files and folders confuse me. They seem disorganized.
To resolve the weird “ERROR: Missing required OpenGL extensions,” set the environment variable
An alternative, more permanent solution consists of isntalling
sudo apt install libtxc-dxtn-s2tc
Thanks to the game’s forum.
It’s quite simple. Open Settings → Window Manager → Keyboard. Then find the various “Tile window to the…” options. Finally, pick your desired keys.
You can’t make it function quite as smoothly as in Windows 10, but it certainly helps.
Of course you can also just drag the window against the side of the screen with the mouse. But sometimes the keyboard is faster.
I messed up my automation of backups, meaning that after two years my entire VPS had secretly filled up. This lead to MariaDB being unable to initialize. After taking care of the root cause MariaDB still refused to start.
$ sudo tail -3 /var/log/mysql/error.log 2018-02-20 12:07:45 140649776292416 [Note] Recovering after a crash using tc.log 2018-02-20 12:07:45 140649776292416 [ERROR] Can't init tc log 2018-02-20 12:07:45 140649776292416 [ERROR] Aborting
Stupidly, just removing the zero byte `/var/lib/mysql/tc.log` file took care of the problem.
Wait, what? You heard me. On Windows you can set sample rates per sound card. It looks like this.
In PulseAudio you’re limited to a primary and secondary sample rate. I’ve actually been using
pasuspender more, also because its AC3 passthrough never seemed to work.
Thunar is one of the best graphical file managers I’ve used, and I say that even while I own a Directory Opus license for Windows. I have some minor quibbles like very sparsely populated default actions on files and folders, but the biggest flaw is doubtless that the breadcrumb navigation doesn’t feature all of the regular folder interactions. In any case, in this blog post I intend to show how I improve on both Thunar and GNOME Search in one fell swoop.
I’ll start with a screenshot of the desired end result. You right click on a folder, and you’re presented with the option to search for files in it.
In order to add this custom action, you’ll have to configure custom actions.
Then you click + to add a new one, or you can edit an existing action.
You can type the name that will show up in the context menu, a little description for yourself, choose a fancy icon, and under appearance conditions you can choose whether this custom action applies to a specific type of files or folders. Unfortunately this dialog can’t be resized, but since you can copy and paste it’s not too bad.
gnome-search-tool --path=%f --contains=
Finally, here is the result. Note that since I started gnome-search-tool with
--contains=, the option to search for files containing specific text will show by default.
You can perform similar tricks with any of these other options.
$ gnome-search-tool --help Usage: gnome-search-tool [OPTION...] - the GNOME Search Tool Help Options: -h, --help Show help options --help-all Show all help options --help-gtk Show GTK+ Options --help-sm-client Show session management options Application Options: --version Show version of the application --named=STRING Set the text of "Name contains" search option --path=PATH Set the tet of "Look in folder" search option --sortby=VALUE Sort files by one of the following: name, folder, size, type, or date --descending Set sort order to descending, the default is ascending --start Automatically start a search --contains=STRING Select and set the "Contains the text" search option --mtimeless=DAYS Select and set the "Date modified less than" search option --mtimemore=DAYS Select and set the "Date modified more than" search option --sizemore=KILOBYTES Select and set the "Size at least" search option --sizeless=KILOBYTES Select and set the "Size at most" search option --empty Select the "File is empty" search option --user=USER Select and set the "Owned by user" search option --group=GROUP Select and set the "Owned by group" search option --nouser Select the "Owner is unrecognized" search option --notnamed=STRING Select and set the "Name does not contain" search option --regex=PATTERN Select and set the "Name matches regular expression" search option --hidden Select the "Show hidden and backup files" search option --follow Select the "Follow symbolic links" search option --mounts Select the "Exclude other filesystems" search option --display=DISPLAY X display to use
Also see Finding Files on the Ubuntu wiki.
As another addendum to my notes on image optimization, here is how to cut a piece of audio or video as losslessly as possible with just ffmpeg on the commandline.
In this example we want the piece of audio from
fmpeg -ss "1:30" -i audio-full.m4a -c copy -t "2:00" audio-cut.m4a