#!/bin/sh # This script fixes the F Lock problem on Microsoft Natural keyboards setkeycodes bb 59 # Help -> F1 setkeycodes 88 60 # Undo -> F2 setkeycodes 87 61 # Redo -> F3 setkeycodes be 62 # New -> F4 setkeycodes bf 63 # Open -> F5 setkeycodes c0 64 # Close -> F6 setkeycodes c1 65 # Reply -> F7 setkeycodes c2 66 # Fwd -> F8 setkeycodes c3 67 # Send -> F9 setkeycodes a3 68 # Spell -> F10 setkeycodes d7 69 # Save -> F11 setkeycodes d8 70 # Print -> F12 ################################################### # Copyright © 2004 Trey Hunner # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program (see the COPYING file); if not, write to the # Free Software Foundation, Inc., # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA