linux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tool:software:linux [2019/10/06 16:22] – Memory/OOM Killer stuff rjt | linux [2024/04/30 19:58] (current) – Setting default programs rjt | ||
---|---|---|---|
Line 2: | Line 2: | ||
===== Fixes ===== | ===== Fixes ===== | ||
+ | |||
+ | ==== Copying ==== | ||
+ | The progress bar when copying files from, for example, your hard disk to a USB drive, will usually fill up, then be stuck at 100% for a while. This isn't really a bug, //per se//: the bar fills when the data has been completely copied to the cache, then goes away when the data has finished moving to the disk. It's annoying! | ||
+ | |||
+ | You can work round this by using [[rsync]] for larger files— | ||
+ | |||
+ | < | ||
+ | |||
+ | —or be more adventurous and mess with some system setup: | ||
+ | |||
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ | ==== Default Programs ==== | ||
+ | You can set the default programs used to open files by: | ||
+ | |||
+ | - Finding the name of the program' | ||
+ | * It should be in ''/ | ||
+ | - Use '' | ||
+ | |||
+ | You can confirm with '' | ||
+ | |||
+ | There are also GUI tools to do this, and if you use a //desktop environment// | ||
+ | |||
==== Memory ==== | ==== Memory ==== | ||
Not having a great time with the kernal' | Not having a great time with the kernal' | ||
There are three userspace solutions I've read about: | There are three userspace solutions I've read about: | ||
- | * **[[The Early OOM Daemon]]** | [[git> | + | * **The early oom daemon** | [[github> |
- | * **[[nohang]]** | [[git> | + | * **nohang** | [[github> |
- | * **[[oomd]]** | [[git> | + | * **oomd** | [[github> |
- | The main memory hog is me having a lot of tabs open in [[Firefox]], | + | The main memory hog is me having a lot of tabs open in [[Firefox]], |
=== See Also === | === See Also === | ||
Line 22: | Line 47: | ||
I forget how to do shit a lot. | I forget how to do shit a lot. | ||
- | ==== Renaming Multiple Files ==== | + | ==== Pausing Terminal |
- | For me, **mmv** has the easiest syntax to remember. | + | You can pause activity in the [[terminal]] with '' |
- | '' | + | If you think of it beforehand you can pipe output to [[less]] or [[more]] or send it to a file, but I never remember. |
- | You use '' | + | ==== Renaming Multiple Files ==== |
- | + | For me, **[[mmv]]** has the easiest syntax to remember. | |
- | === Examples === | + | |
- | Rename all files ''Treme SxxExx.mp4'' | + | Otherwise, [[GPRename]] is a graphical tool for batch renaming, and most [[file_manager|file managers]] should have some kind of batch file renaming built-in ([[Thunar]] does, [[pcmanfm]] doesn't). |
- | '' | + | |
===== See Also ===== | ===== See Also ===== | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
* Distros: [[arch linux]] | [[arch_linux# | * Distros: [[arch linux]] | [[arch_linux# | ||
- | {{tag> | + | {{tag>guide open-source |
linux.txt · Last modified: 2024/04/30 19:58 by rjt