For my own use, I’ve just started collecting various Ubuntu commands and tips on this page – saves me searching every time. I’ll add to it as I go. I hope you may find it useful too. After each command I will link to more information. Please view the links before executing potentially dangerous commands like ntfsfix. I’ll prefix the title of such commands with a (WARN).
(WARN) Mounting an NTFS parition which didn’t shutdown cleanly.
My laptop shutdown suddenly and refused to boot anymore. The SSD couldn’t mount from an external drive because the NTFS partition wasn’t shutdown cleanly. The solution:
For more information, see here.
Increasing or decreasing the volume of a video using FFMPEG
Mounting a USB Device in Virtual Box
After installing VirtualBox I was unable to connect to any USB Devices from within my virtual machine. The solution was to add my user to the vboxusers group:
You’ll need to log out and back in to effect the change. See here for more information.
Finding a Missing Shared Library
I like to use Clipgrab on KDE Neon, but when I try to run it, I get the following error:
error while loading shared libraries: libQtWebKit.so.4
The solution is to use apt-file to identify the package which provides this shared library, and then install it:
See here for more information.
Wierd mouse in KDE
Change the “System setting -> Display and Monitor -> Compositor -> Rendering Backend” from openGL 2.0 to XRender.