00000000 00000018 00000030 00000048 00000060 00000078 00000090 000000A8 000000C0 000000D8 000000F0 00000108 00000120 00000138 00000150 00000168 00000180 00000198 000001B0 000001C8 000001E0 000001F8 00000210 00000228 00000240 00000258 00000270 00000288 000002A0 000002B8 000002D0 000002E8 00000300 00000318 00000330 00000348 00000360 00000378 00000390 000003A8 000003C0 000003D8 000003F0 00000408 00000420 00000438 00000450 00000468
| 23 21 20 2F 62 69 6E 2F 62 61 73 68 0A 23 20 78 69 6D 20 2D 20 78 69 6E 70 75 74 20 73 63 72 69 70 74 20 74 6F 20 63 68 6F 6F 73 65 20 74 68 65 20 62 65 74 74 65 72 20 58 49 4D 20 73 65 72 76 65 72 20 61 67 61 69 6E 73 74 20 63 75 72 72 65 6E 74 20 6C 6F 63 61 6C 65 2E 0A 23 0A 23 20 43 6F 70 79 72 69 67 68 74 20 28 43 29 20 32 30 30 36 20 52 65 64 20 48 61 74 2C 20 49 6E 63 2E 20 41 6C 6C 20 72 69 67 68 74 73 20 72 65 73 65 72 76 65 64 2E 0A 23 0A 23 20 54 68 69 73 20 73 63 72 69 70 74 20 69 73 20 66 72 65 65 20 73 6F 66 74 77 61 72 65 3B 20 79 6F 75 20 63 61 6E 20 72 65 64 69 73 74 72 69 62 75 74 65 20 69 74 20 61 6E 64 2F 6F 72 20 6D 6F 64 69 66 79 0A 23 20 69 74 20 75 6E 64 65 72 20 74 68 65 20 74 65 72 6D 73 20 6F 66 20 74 68 65 20 47 4E 55 20 47 65 6E 65 72 61 6C 20 50 75 62 6C 69 63 20 4C 69 63 65 6E 73 65 20 61 73 20 70 75 62 6C 69 73 68 65 64 20 62 79 0A 23 20 74 68 65 20 46 72 65 65 20 53 6F 66 74 77 61 72 65 20 46 6F 75 6E 64 61 74 69 6F 6E 3B 20 65 69 74 68 65 72 20 76 65 72 73 69 6F 6E 20 32 20 6F 66 20 74 68 65 20 4C 69 63 65 6E 73 65 2C 20 6F 72 0A 23 20 28 61 74 20 79 6F 75 72 20 6F 70 74 69 6F 6E 29 20 61 6E 79 20 6C 61 74 65 72 20 76 65 72 73 69 6F 6E 2E 0A 23 0A 23 20 54 68 69 73 20 73 63 72 69 70 74 20 69 73 20 64 69 73 74 72 69 62 75 74 65 64 20 69 6E 20 74 68 65 20 68 6F 70 65 20 74 68 61 74 20 69 74 20 77 69 6C 6C 20 62 65 20 75 73 65 66 75 6C 2C 0A 23 20 62 75 74 20 57 49 54 48 4F 55 54 20 41 4E 59 20 57 41 52 52 41 4E 54 59 3B 20 77 69 74 68 6F 75 74 20 65 76 65 6E 20 74 68 65 20 69 6D 70 6C 69 65 64 20 77 61 72 72 61 6E 74 79 20 6F 66 0A 23 20 4D 45 52 43 48 41 4E 54 41 42 49 4C 49 54 59 20 6F 72 20 46 49 54 4E 45 53 53 20 46 4F 52 20 41 20 50 41 52 54 49 43 55 4C 41 52 20 50 55 52 50 4F 53 45 2E 20 20 53 65 65 20 74 68 65 0A 23 20 47 4E 55 20 47 65 6E 65 72 61 6C 20 50 75 62 6C 69 63 20 4C 69 63 65 6E 73 65 20 66 6F 72 20 6D 6F 72 65 20 64 65 74 61 69 6C 73 2E 0A 23 0A 23 20 59 6F 75 20 73 68 6F 75 6C 64 20 68 61 76 65 20 72 65 63 65 69 76 65 64 20 61 20 63 6F 70 79 20 6F 66 20 74 68 65 20 47 4E 55 20 47 65 6E 65 72 61 6C 20 50 75 62 6C 69 63 20 4C 69 63 65 6E 73 65 0A 23 20 61 6C 6F 6E 67 20 77 69 74 68 20 74 68 69 73 20 70 72 6F 67 72 61 6D 3B 20 69 66 20 6E 6F 74 2C 20 77 72 69 74 65 20 74 6F 20 74 68 65 20 46 72 65 65 20 53 6F 66 74 77 61 72 65 0A 23 20 46 6F 75 6E 64 61 74 69 6F 6E 2C 20 49 6E 63 2E 2C 20 35 39 20 54 65 6D 70 6C 65 20 50 6C 61 63 65 20 2D 20 53 75 69 74 65 20 33 33 30 2C 0A 23 20 42 6F 73 74 6F 6E 2C 20 4D 41 20 30 32 31 31 31 2D 31 33 30 37 2C 20 55 53 41 2E 0A 0A 78 69 6D 5F 74 6D 70 6C 61 6E 67 3D 24 7B 4C 43 5F 43 54 59 50 45 3A 2D 24 7B 4C 41 4E 47 3A 2D 22 65 6E 5F 55 53 2E 55 54 46 2D 38 22 7D 7D 0A 78 69 6D 5F 6C 61 6E 67 5F 72 65 67 69 6F 6E 3D 24 28 65 63 68 6F 20 24 78 69 6D 5F 74 6D 70 6C 61 6E 67 20 7C 20 73 65 64 20 2D 65 20 27 73 2F 5C 2E 2E 2A 2F 2F 27 29 0A 5B 20 2D 72 20 2F 65 74 63 2F 58 31 31 2F 78 69 6E 69 74 2F 78 69 6E 70 75 74 2E 64 2F 2F 24 7B 78 69 6D 5F 6C 61 6E 67 5F 72 65 67 69 6F 6E 7D 20 5D 20 26 26 20 73 6F 75 72 63 65 20 2F 65 74 63 2F 58 31 31 2F 78 69 6E 69 74 2F 78 69 6E 70 75 74 2E 64 2F 2F 24 7B 78 69 6D 5F 6C 61 6E 67 5F 72 65 67 69 6F 6E 7D 20 7C 7C 20 73 6F 75 72 63 65 20 2F 65 74 63 2F 58 31 31 2F 78 69 6E 69 74 2F 78 69 6E 70 75 74 2E 64 2F 2F 6E 6F 6E 65 2E 63 6F 6E 66 0A 0A 75 6E 73 65 74 20 78 69 6D 5F 74 6D 70 6C 61 6E 67 20 78 69 6D 5F 6C 61 6E 67 5F 72 65 67 69 6F 6E 0A | #! /bin/bash # xim - xin put script to choose the better XIM server again st current locale. # # C opyright (C) 2006 Red Ha t, Inc. All rights reser ved. # # This script is free software; you can r edistribute it and/or mo dify # it under the term s of the GNU General Pub lic License as published by # the Free Software Foundation; either versi on 2 of the License, or # (at your option) any l ater version. # # This s cript is distributed in the hope that it will be useful, # but WITHOUT A NY WARRANTY; without eve n the implied warranty o f # MERCHANTABILITY or F ITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License f or more details. # # You should have received a copy of the GNU General Public License # along w ith this program; if not , write to the Free Soft ware # Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111 -1307, USA. xim_tmplang =${LC_CTYPE:-${LANG:-"en _US.UTF-8"}} xim_lang_re gion=$(echo $xim_tmplang | sed -e 's/\..*//') [ -r /etc/X11/xinit/xinput .d//${xim_lang_region} ] && source /etc/X11/xini t/xinput.d//${xim_lang_r egion} || source /etc/X1 1/xinit/xinput.d//none.c onf unset xim_tmplang x im_lang_region |