Intanto grazie mille per il software che mi hai consigliato.
Sei però sicuro che i codici presenti nella pagina che mi hai linkati siano utilizzabili dentro Karabiner?
Ad esempio quello che mi interessa sul wi-fi on/off è:
<vkopenurldef>
<name>KeyCode::VK_OPEN_URL_SHELL_toggle_wifi</name> <url type="shell"> <![CDATA[ CURRENT_DEVICE=`/usr/sbin/networksetup -listallhardwareports | /usr/bin/awk '$3=="Wi-Fi" {getline; print $2}'`; if [ -z "$CURRENT_DEVICE" ]; then /usr/bin/osascript -e 'display notification "No Wi-Fi device" with title "Karabiner"'; else if /usr/sbin/networksetup -getairportpower $CURRENT_DEVICE | /usr/bin/grep ': On'; then /usr/sbin/networksetup -setairportpower $CURRENT_DEVICE off /usr/bin/osascript -e 'display notification "Wi-Fi Off" with title "Karabiner"'; else /usr/sbin/networksetup -setairportpower $CURRENT_DEVICE on /usr/bin/osascript -e 'display notification "Wi-Fi On" with title "Karabiner"'; fi fi ]]> </url>
</vkopenurldef>
... ... ... Ma dentro il file private.xml (che mi pare essere l'unico modificabile per personalizzare le settings di Karabiner) le stringhe sono di diverso tipo, <item> dunque non credo che infilandoci lì in mezzo lo script di cui sopra, esso funzionerebbe...
<item>
<name>Swap Space and Tab</name>
<identifier>private.swap_space_and_tab</identifier>
<autogen>__KeyToKey__ KeyCode::SPACE, KeyCode::TAB</autogen>
<autogen>__KeyToKey__ KeyCode::TAB, KeyCode::SPACE</autogen>
</item>