blob: e8c5cb39841dca09ea98bc8ae4897f2d58ef0ee6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
# Save current AUX Key mapping
SAVE_KEY="$(xmodmap -pke | grep 'keycode 8')"
# Map AUX Key to F5
xmodmap -e "keycode 8 = F5"
# Turn LCD feft
xrandr -o left
# Start the scummvm in fullscreen mode
scummvm --fullscreen --themepath=/usr/share/scummvm/
# Turn LCD normal
xrandr -o normal
# Restore the AUX Key mapping
xmodmap -e "$SAVE_KEY"
|