|
|
Quellcode |
1 |
gksu gedit /etc/init.d/cymotionkeys |
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
#!/bin/sh
# Original zu finden auf http://de.gentoo-wiki.com/Cherry_CyMotion_Master_Linux#.C3.84nderungen_in_Dateien_vornehmen
### BEGIN INIT INFO
# Provides: cymotionkeys
# Required-Start: $syslog
# Required-Stop: $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Run cymotionkeys at boot time
# Description: Enable special keys of the Cherry cymotion keyboard.
### END INIT INFO
case "$1" in
start)
echo "Sondertasten werden dem System vorgestellt"
setkeycodes e065 136 e070 161 e032 172 e05f 143 e063 145 e06d 171 e00b 177 e012 178 e017 137 e00a 135 e018 133 e071 148 e02c 149 e072 202 e007 129 e008 131 e05b 200
;;
stop)
echo "Tastatur wird auf Standardbelegung zurueckgestellt"
setkeycodes e065 217 e070 000 e032 150 e05f 142 e063 143 e06d 226 e00b 000 e012 000 e017 000 e00a 000 e018 000 e071 000 e02c 000 e072 000 e007 000 e008 000 e05b 125
;;
esac
|
|
|
Quellcode |
1 |
sudo chmod 755 /etc/init.d/cymotionkeys |
|
|
Quellcode |
1 |
sudo update-rc.d cymotionkeys defaults |

|
|
Quellcode |
1 |
sudo /etc/init.d/cymotionkeys start |
|
|
Quellcode |
1 |
/etc/X11/xkb/symbols/inet |
|
|
Quellcode |
1 |
/usr/share/X11/xkb/symbols/inet |
|
|
Quellcode |
1 |
gksu gedit /usr/share/X11/xkb/compat/cymotion |
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
// $XFree86$
// XFree86 special keysyms
default partial xkb_compatibility "basic" {
interpret.repeat= True;
// Ctrl+C for Copy
interpret XF86Copy {
action = Redirect(Key=<AB03>, modifiers=Control);
};
// Ctrl+V for Paste
interpret XF86Paste {
action = Redirect(Key=<AB04>, modifiers=Control);
};
// Ctrl+X for Cut
interpret XF86Cut {
action = Redirect(Key=<AB02>, modifiers=Control);
};
// Ctrl+Pos1 for ScrollUp
interpret XF86ScrollUp {
action = Redirect(Key=<HOME>, modifiers=Control);
};
// Ctrl+End for ScrollDown
interpret XF86ScrollDown {
action = Redirect(Key=<END>, modifiers=Control);
};
// Ctrl+Shift+Z for Redo
interpret Redo {
action = Redirect(Key=<AD06>, modifiers=Shift+Control);
};
// Ctrl+Z for Undo
interpret Undo {
action = Redirect(Key=<AD06>, modifiers=Control);
};
// Backspace for Back (Firefox)
interpret XF86Back {
action = Redirect(Key=<LEFT>, modifiers=Mod1);
};
// Shift+Backspace for Forward (Firefox)
interpret XF86Forward {
action = Redirect(Key=<RGHT>, modifiers=Mod1);
};
// ESC for Stop (Firefox)
interpret Cancel {
action = Redirect(Key=<ESC>);
};
// Ctrl+R for Reload (Firefox)
interpret XF86Reload {
action = Redirect(Key=<AD04>, modifiers=Control);
};
// Ctrl+F for Search Page (Firefox and most other applications)
interpret Find {
action = Redirect(Key=<AC04>, modifiers=Control);
};
};
|
|
|
Quellcode |
1 |
gksu gedit /usr/share/X11/xkb/compat/complete |
|
|
Quellcode |
1 |
augment "cymotion" |

Burning Board, entwickelt von WoltLab GmbH.
UbuntuFreunde von Easyy-S und basslord seit 06.12.06
Ubuntufreunde.de runs on ubuntu 10.04





