macbook-tools/macbook-set-input

12 lines
416 B
Bash
Executable File

#!/bin/sh
#
# Start commands for keyboard mapping and commands inside an X session
# Copyright (c) 2007-2008 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Released under the terms of the GNU GPL License version 3
#
# Check for an Apple chassis or exit
[[ `hal-get-property --udi /org/freedesktop/Hal/devices/computer --key system.chassis.manufacturer 2>/dev/null | grep Apple 2>/dev/null` ]] && {
xkbset m
}