Thinkpad in Dock: Stuttering USB input after resume
One of my machines is a Lenovo Thinkpad T420s running Sabayon Linux. For a long time I experienced issues with my USB mouse and keyboard after resuming from standby, while the notebook and the input devices were plugged into the dock. Both devices stuttered occasionally, i.e. the first key …
Watch output of a running cronjob process
Sometimes you might want to hook into the output (stdout or stderr) of a running process, eg. of some periodically triggered script.
-
Find out the process id:
ps ax | grep ‘processname’
-
Watch the I/O stream (replace
PROCID
with the process id from (1) andNUM
with the desired I …
Sabayon: syslog-ng 3.6.1 causes high CPU load
After the last weekly update of my Sabayon Notebook I encountered a high CPU load of one core caused by syslog-ng
. The process was literally flooding /var/log/messages
and within a couple of minutes tens of Megabyte accumulated. logrotate
did not help. The messages were months old, it appeared …
Sabayon 14.11: nvidia-drivers 340.46 broke my multi-monitor setup
One of my machines is a Lenovo T420s running on Sabayon Linux in a dual monitor setup with discrete graphics set up in the BIOS. The latest sabayon-weekly
update (installed on 22.10.2014) shipped the nvidia-drivers-340.46
, afterwards the graphics setup was messed up: The second monitor was not …
Sabayon Linux NetworkManager: Fix broken wlan0 after resume by executing dhclient
Since a couple of updates my Sabayon machine had a broken wlan0
interface after resuming from standby. The NetworkManager connected to the WIFI as expected and even received a correct IP from the DHCP server but something was broken with the routing as far as I know. The route
command …
Sabayon Linux: High CPU-load after updating Nvidia drivers
Today I ran a regular update of my Linux machine and after the next reboot I saw a continuous high CPU load caused by gnome-shell
. Beside a couple of other updates, Entropy had updated Gnome and the Nvidia drivers. I checked the settings for OpenGL and found a strange setting …
Sabayon Linux: Set the default web browser for Gnome (eg. for Python Apps)
In my particular use case I wanted links in Gwibber to open in Chromium instead of Firefox. Gwibber is a Twitter client written in Python. Unfortunately all the proposed solutions from above didn’t work. Fortunately I found a solution. There are lots of articles in the web dealing with …
SuSE-Endgegner
Dieses Linux-Spiel ist ganz nett, aber der Endgegner, “Colonel” oder “Körnel” oder wie der heißt, ist kaum zu “knacken”.
[Link via Jabber]
Magic SysRQ-Key unter Linux
Geniale Sache und gleichzeitig eine Frage der Sicherheit – vor allem in Produktionsumgebungen. Vielleicht sollte dort je nach Einsatzgebiet lieber auf die Option "žMagic SysRQ key„ beim Kernel kompilieren verzichtet werden. ;)
Ansonsten kann man als root beispielsweise mit
$ sysctl -w kernel.sysrq=0
die SysRQ-Taste deaktivieren.
Alternativ kann ebenso die Datei …