{{tag> buttonbar}} ====== Beispielscript für die ButtonBar ====== Script wird durch die -> [[anwenderwiki:linuxclient:buttonbar|ButtonBar]] aufgerufen. #! /bin/bash # # Enviroment-Variablen sind hier nicht belegt! # host_name=`cat /etc/hostname` case "$host_name" in "r100-pc01") xrandr --output VGA1 --mode 1280x960 ;; "r200-pc01") xrandr --output HDMI1 --mode 1024x768 ;; "r300-pc01") xrandr --output DVI-0 --mode 1600x900 ;; esac