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)
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. Large borders are nice.
But honestly, better to use a good pre made Window Decoration:
- Bart
- Ned
Better ls
- Download lf from GitHub
usudo tar xf ~/Downloads/lf-linux-386.tar.gz –directory /usr/local/binnano ~/.bashrc- Add
alias lsf=“cd \”$(lf -print-last-dir)\“”
