Tag Info

New answers tagged


The path /usr/src/linux is the standard path where kernel sources live in a linux system. Depending on your distribution you can install linux kernel sources with your package manager, or you go to http://www.kernel.org and download and extract one. Download a kernel with git One of the most powerful ways is to download a kernel with git as super-user ...


For those who, for whatever reason, don't want to take the hotplug route, it is still possible to not poll within a script using inotifywait: #!/bin/bash SCREEN_LEFT=DP2 SCREEN_RIGHT=eDP1 START_DELAY=5 renice +19 $$ >/dev/null sleep $START_DELAY OLD_DUAL="dummy" while [ 1 ]; do DUAL=$(cat /sys/class/drm/card0-DP-2/status) if [ "$OLD_DUAL" != ...

Top 50 recent answers are included