
Itch output load on the CPU and memory. I wanted to detail, so to speak. Looking at pie charts noticed that most of the time they are 10-15%. And the most interesting things happen in a very small scale and the indistinguishable. Realizing that the need to cut off the picture is not informative part and zoom in, proceeded to ... first adapted, and then to a complete rewrite of lua scripts conky.
I often work in Total Commander, despite the fact that I was sitting in Ubuntu:) Got up the need to quick open, for example, html to Kate, and edit by UEStudio (left from my era of Windows) is not handy. At the first, we need to somehow associate file types out of a wine with the file types of native OS. That is, that formed such scheme: TotalCMD -> wine -> ... -> Kdm (or that handles the associations in ubuntu) -> Target program. And out there!
## # Manual browsing # Konqueror can show you man pages as well html # @author Andrey Zakharov /aka Vaulter/ # @author ramok man() { [ -n "$DISPLAY" ] && konqueror "man:/$*" 2>/dev/null & || man $* }
## # Perform google search from command line # <usage>g well linux c%2b%2b engineer</usage> # @TODO url decode g() { if [ -n "$DISPLAY" ] && env x-www-browser "http://www.google.com/search?hl=${LANG%%_*}&q=$*" & || env www-browser "http://www.google.com/search?hl=${LANG%%_*}&q=$*" }
Ковыряясь в утилитке apt-cache, обнаружил интересную операцию dotty. Оказалось, операция генерирует на основе имен пакетов в конце команды, скрипт для другой програмки dotty, которая является графической программкой отображения этих скриптов. Вообщем, просто выполняя команду, например:
apt-cache dotty libxml2 | dotty -