This is an old revision of the document!
Table of Contents
Linux commands, tools and fixes
This is the place I jot down solutions or nice bash commands and tools.
Good tools
- btop for view resources and killing processes
- tldr for a short tl;dr version of manuals
- mc (midnight commander) for CLI file management
sudo apt install btop tldr mc
or
sudo dnf install btop tldr mc
Disable Hibernate
In case Hibernate causes your computer to crash, disabling it will also remove the option from all menus.
sudo systemctl mask hibernate.target hybrid-sleep.target
Use unmask to reenable and status to see if it's enabled.
KDE Plasma accent border
Changing the border color makes it easier to identify current window. This is convinient if title bars are removed.
- Open ~/.config/kdeglobals with your favorite editor - Scroll down and find [WM] section - Append the followings to the section:
frame=61,174,233: set the border color of active window to RGB(61,174,233)
inactiveFrame=239,240,241: set the border color of inactive window to RGB(239,240,241)
Here's a nice oneliner that'll do it for you:
kwriteconfig5 –file ~/.config/kdeglobals –group WM –key frame 61,174,233 && kwriteconfig5 –file ~/.config/kdeglobals –group WM –key inactiveFrame 239,240,241
You must restart your session to see changes. (i.e. re-login, reboot)
Note: the RGB values presented here are for the default Breeze theme
Note: You might also need to set the border size larger than the theme's default: System Settings > Application Style > Window Decorations: Untick Use theme's default window border size and adjust the size (right from the checkbox).
