User Tools

Site Tools


linuxcommands

This is an old revision of the document!


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.

  1. Open ~/.config/kdeglobals with your favorite editor
  2. Scroll down and find [WM] section
  3. Append the followings to the section:
  4. frame=61,174,233: set the border color of active window to RGB(61,174,233)
  5. 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. Large borders are nice.

linuxcommands.1764966247.txt.gz · Last modified: by mathog

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki