Tags: mac,debian

Sort by: Date / Title /

  1. 9 months ago by neorom
    Si vous avez des problèmes pour connaitre le code des touches du clavier pour attribuer certaines fonctions, augmenter le son, diminuer le contraste.... le programme "xev" permet de connaitre ces codes.
    1. #activer boutons supplementaires du clavier:
    2. apt-get install pbbuttonsd
    3.  
    4. #soft gestion des boutons (contraste,son...) :
    5. apt-get install powerprefs
  2. 9 months ago by neorom
    Cette table de caratère permet de faire foctionner parfaitement le clavier d'un powerbook, toutes les touches sont fonctionelles.
    1. / Marc.Shapiro@inria.fr 19-sep-1998
    2. // modifications : Etienne Herlent <eherlent@linux-france.org> june 2000
    3. // adapted to the new input layer :
    4. //        Martin Costabel <costabel@wanadoo.fr> 3-jan-2001
    5. //////////////////////////////////////////////////////////////////
    6. // Petites Modification le juillet 2005 par Bin Zhang <bb.zhang@free.fr> :
    7. // 1) La ligne 83 : remplacer les deux "VoidSymbol" par oe et OE
    8. // 2) La ligne 89 : remplacer "VoidSymbol" par "EuroSign"
    9. // ( 1) et 2) fonctionnent sous UTF-8, mais pas sous iso-8859-1. )
    10. // 3) Remplacer la ligne 148 par la ligne 149 pour que la touche Alt_L
    11. // (la touche Apple-Pomme) fonctionne correctement sous Xorg, une idée
    12. // motivée par http://www.linux-france.org/macintosh/clavier_gentoo.html
    13. //////////////////////////////////////////////////////////////////
    14. // This map is an almost-complete mapping of the standard French
    15. // MacIntosh keyboard under Xwindows.  I tried to remain as faithful
    16. // as possible to the Mac meaning of each key.  I did this entirely by
    17. // hand and by intuition, relying on the Clavier (Keyboard?) Desktop
    18. // Accessory for the Mac meaning of keys, and on reading keysymdef.h
    19. // to intuit the corresponding X names.  Lacking proper documentation,
    20. // I may have made some mistakes.
    21.  
    22. // Entries marked CHECK are particularly uncertain
    23.  
    24. // Entries marked MISSING mark Mac characters for which I was unable
    25. // to find a corresponding keysym.  (Some for sure don t: e.g. the
    26. // Apple mark and the oe/OE character; others I may have simply not
    27. // found.)
    28.  
    29. xkb_symbols "extended" {
    30.  
    31.     name[Group1]= "FR-1";
    32.     key <ESC>  {        [ Escape                        ]       };
    33.  
    34.     // Alphanumeric section
    35.     key <TLDE> {        [          at,   numbersign     ],
    36.                         [periodcentered,  Ydiaeresis    ]   };
    37.     key <ENTR> {        [    KP_Enter                   ]       };
    38.     key <AE01> {        [   ampersand,    1              ],
    39.                         [  VoidSymbol,    dead_acute      ]     }; // MISSING: Apple
    40.     key <AE02> {        [      eacute,    2              ],
    41.                         [  ediaeresis,    Eacute  ] };
    42.     key <AE03> {        [    quotedbl,    3              ],
    43.                         [leftdoublequotemark, rightdoublequotemark      ]     };
    44.     key <AE04> {        [  apostrophe,    4              ],
    45.                         [leftsinglequotemark, rightsinglequotemark      ]     };
    46.     key <AE05> {        [   parenleft,    5              ],
    47.                         [   braceleft,    bracketleft     ]    };
    48.     key <AE06> {        [     section,    6              ],
    49.                         [   paragraph,    aring      ]  };
    50.     key <AE07> {        [      egrave,    7              ],
    51.                         [guillemotleft,   guillemotright]        };
    52.     key <AE08> {        [      exclam,    8              ],
    53.                         [  exclamdown,    Ucircumflex     ]    };
    54.     key <AE09> {        [    ccedilla,    9              ],
    55.                         [    Ccedilla,    Aacute  ] };
    56.     key <AE10> {        [      agrave,    0              ],
    57.                         [      oslash,    Oslash  ] };
    58.     key <AE11> {        [  parenright,    degree  ],
    59.                         [  braceright,    bracketright    ]   };
    60.     key <AE12> {        [       minus,   underscore     ],
    61.                         [      emdash,    endash  ] };
    62.     key <BKSP> {        [   BackSpace,    VoidSymbol    ],
    63.                         [      Delete,    VoidSymbol      ]     };
    64.  
    65.     key  <TAB> { [          Tab,  ISO_Left_Tab      ]     };
    66.     key <AD01> {        [           a, A                ],
    67.                         [          ae, AE              ]      };
    68.     key <AD02> {        [           z, Z                ],
    69.                         [ Acircumflex,  Aring          ]    };
    70.     key <AD03> {        [           e, E                ],
    71.                         [ ecircumflex,  Ecircumflex       ]      };
    72.     key <AD04> {        [           r, R                ],
    73.                         [  registered,  currency  ] };
    74.     key <AD05> {        [           t, T                ],
    75.                         [      dagger,  trademark ]        };
    76.     key <AD06> {        [           y, Y                ],
    77.                         [      Uacute,  Ydiaeresis      ]     };
    78.     key <AD07> {        [           u, U                ],
    79.                         [   masculine,  ordfeminine       ]      };
    80.     key <AD08> {        [           i, I                ],
    81.                         [ icircumflex,  idiaeresis        ]       };
    82.     key <AD09> {        [           o, O                ],
    83.                         [          oe,  OE                ]       };
    84.     key <AD10> {        [           p, P                ],
    85.                         [    Greek_pi,  Greek_PI        ]       };
    86.     key <AD11> {        [dead_circumflex,dead_diaeresis ],
    87.                         [ ocircumflex, Ocircumflex      ]     };
    88.     key <AD12> {        [      dollar,  asterisk  ],
    89.                         [    EuroSign,  yen             ] };
    90.     key <CAPS> {        [       Caps_Lock            ]     };
    91.     key <AC01> {        [         q,   Q    ],
    92.                         [doubledagger,  Greek_OMEGA       ]      };
    93.     key <AC02> {        [         s,   S    ],
    94.                         [    Ograve,    Greek_SIGMA ]        };
    95.     key <AC03> {        [         d,    D      ],
    96.                         [Greek_delta,   Greek_DELTA        ]       };
    97.     key <AC04> {        [         f,   F    ],
    98.                         [VoidSymbol,    periodcentered      ]     };
    99.     key <AC05> {        [         g,   G    ],
    100.                         [VoidSymbol,    VoidSymbol  ] }; // MISSING: ligature fi, fl
    101.     key <AC06> {        [         h,   H    ],
    102.                         [    Igrave,    Icircumflex ]        };
    103.     key <AC07> {        [         j,   J    ],
    104.                         [Idiaeresis,    Iacute            ]     };
    105.     key <AC08> {        [         k,   K    ],
    106.                         [   Egrave,     Ediaeresis   ]  };
    107.     key <AC09> {        [         l,   L    ],
    108.                         [   notsign,    bar  ]        };
    109.     key <AC10> {        [         m,   M    ],
    110.                         [        mu, Oacute      ]  };
    111.     key <AC11> {        [    ugrave,    percent          ],
    112.                         [    Ugrave,    0x1002030   ]  };
    113.     key <BKSL> {        [ dead_grave,   sterling   ],
    114.                         [        at,   numbersign ]        };
    115.     key <RTRN> {        [    Return               ]    };
    116.  
    117.     key <LSGT> {        [        less,   greater        ],
    118.                         [lessthanequal, greaterthanequal        ]       };
    119.     key <AB01> {        [         w,   W    ],
    120.                         [guilsinglleft, guilsinglright   ]  }; // MISSING: half-guillemot (single angle bracket)
    121.     key <AB02> {        [         x,   X    ],
    122.                         [VoidSymbol,    VoidSymbol  ] }; // CHECK: similarequal; MISSING: extra-slanted slash
    123.     key <AB03> {        [         c,   C    ],
    124.                         [ copyright,    cent                ]       };
    125.     key <AB04> {        [         v,   V    ],
    126.                         [   diamond,    radical          ]    }; // CHECK diamond
    127.     key <AB05> {        [         b,   B    ],
    128.                         [    ssharp,    integral        ]       };
    129.     key <AB06> {        [         n,   N    ],
    130.                         [dead_tilde,    asciitilde  ] };
    131.     key <AB07> {        [     comma,    question    ],
    132.                         [  infinity,    questiondown        ]       };
    133.     key <AB08> {        [ semicolon,    period            ],
    134.                         [  ellipsis,    periodcentered      ]     };
    135.     key <AB09> {        [     colon,    slash              ],
    136.                         [  division,    backslash   ]  };
    137.     key <AB10> {        [     equal,    plus                ],
    138.                         [  notequal,    plusminus   ]  };
    139.  
    140.     key <SPCE> {        [     space,    space              ],
    141.                         [nobreakspace,  nobreakspace      ]     };
    142.     // End alphanumeric section
    143.  
    144.     // Begin "Function" section
    145.     key <FK01> {        [  F1         ]  };
    146.     key <FK02> {        [  F2         ]  };
    147.     key <FK03> {        [  F3         ]  };
    148.     key <FK04> {        [  F4         ]  };
    149.     key <FK05> {        [  F5         ]  };
    150.     key <FK06> {        [  F6         ]  };
    151.     key <FK07> {        [  F7         ]  };
    152.     key <FK08> {        [  F8         ]  };
    153.     key <FK09> {        [  F9         ]  };
    154.     key <FK10> {        [  F10      ] };
    155.     key <FK11> {        [  F11      ] };
    156.     key <FK12> {        [  F12      ] };
    157.     key <FK13> {        [  F13, Print      ]  };
    158.     key <FK14> {        [  F14, Scroll_Lock     ]    };
    159.     key <FK15> {        [  F15, Pause      ]  };
    160.     // End "Function" section
    161.  
    162.     // Begin "Editing" section
    163.     key  <INS> { [  Insert                ]       };
    164.     key <HOME> {        [  Home   ]        };
    165.     key <PGUP> {        [  Prior                ]       };
    166.     key <DELE> {        [  Delete              ]      };
    167.     key  <END> { [  End         ]  };
    168.     key <PGDN> {        [  Next   ]        };
    169.  
    170.     key   <UP> { [  Up            ]   };
    171.     key <LEFT> {        [  Left   ]        };
    172.     key <DOWN> {        [  Down   ]        };
    173.     key <RGHT> {        [  Right                ]       };
    174.     // End "Editing" section
    175.  
    176.     // Begin "Keypad" section
    177.     key <KPCL> {        [  Clear                ]       };
    178.     key <KPEQ> {        [  KP_Equal          ]    };
    179.     key <KPDV> {        [  KP_Divide        ]   };
    180.     key <KPMU> {        [  KP_Multiply    ] };
    181.  
    182.     key  <KP7> { [  KP_7      ] };
    183.     key  <KP8> { [  KP_8      ] };
    184.     key  <KP9> { [  KP_9      ] };
    185.     key <KPSU> {        [  KP_Subtract    ] };
    186.  
    187.     key  <KP4> { [  KP_4      ] };
    188.     key  <KP5> { [  KP_5      ] };
    189.     key  <KP6> { [  KP_6      ] };
    190.     key <KPAD> {        [  KP_Add              ]      };
    191.  
    192.     key  <KP1> { [  KP_1      ] };
    193.     key  <KP2> { [  KP_2      ] };
    194.     key  <KP3> { [  KP_3      ] };
    195.     key <KPEN> {        [  KP_Enter          ]    };
    196.  
    197.     key  <KP0> { [  KP_0      ] };
    198.     key <KPDL> {        [  comma,KP_Decimal     ]    };
    199.  // End "Keypad" section
    200.  
    201.  
    202.     // Begin modifier mappings
    203.     key <LWIN> {        [  Alt_L,       Meta_L        ]       };
    204. //    key <LMTA> {      [  Meta_L,        ]   };
    205.     key <LFSH> {        [  Shift_L            ]     };
    206.     key <LCTL> {        [  Control_L        ]   };
    207.     //key <LALT> {      [  Mode_switch                ]       };
    208.     key <LALT> {        [  Mode_switch, Mode_switch ]   };
    209.  
    210.     key <RWIN> {        [  Alt_R,       Meta_R ]        };
    211.     key <RMTA> {        [  Meta_R              ]      };
    212.     key <RTSH> {        [  Shift_R            ]     };
    213.     key <RCTL> {        [  Control_R        ]   };
    214.     key <RALT> {        [  Mode_switch, Mode_switch ]   };
    215.     // End modifier mappings
    216.  
    217.     // begin modifier mappings
    218.     modifier_map Shift  { Shift_L,   Shift_R   };
    219.     modifier_map Lock   { Caps_Lock               };
    220.     modifier_map Control{ Control_L, Control_R };
    221.     modifier_map Mod1   { Meta_L, Meta_R       };
    222.     modifier_map Mod2   { Alt_L, Alt_R         };
    223.     modifier_map Mod3   { Mode_switch             };
    224.     // end modifier mappings
    225. };
  3. 9 months ago by neorom
    importance des sections "Monitor" pour la fréquence de l'écran et aussi de "Input Device" pour le touchpad
    1. # /etc/X11/xorg.conf (xorg X Window System server configuration file)
    2. #
    3. # This file was generated by dexconf, the Debian X Configuration tool, using
    4. # values from the debconf database.
    5. #
    6. # Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
    7. # (Type "man /etc/X11/xorg.conf" at the shell prompt.)
    8. #
    9. # This file is automatically updated on xserver-xorg package upgrades *only*
    10. # if it has not been modified since the last upgrade of the xserver-xorg
    11. # package.
    12. #
    13. # If you have edited this file but would like it to be automatically updated
    14. # again, run the following command:
    15. #   sudo dpkg-reconfigure -phigh xserver-xorg
    16.  
    17. Section "Files"
    18.         FontPath        "/usr/share/fonts/X11/misc"
    19.         FontPath        "/usr/X11R6/lib/X11/fonts/misc"
    20.         FontPath        "/usr/share/fonts/X11/cyrillic"
    21.         FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
    22.         FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
    23.         FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    24.         FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
    25.         FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    26.         FontPath        "/usr/share/fonts/X11/Type1"
    27.         FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
    28.         FontPath        "/usr/share/fonts/X11/100dpi"
    29.         FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
    30.         FontPath        "/usr/share/fonts/X11/75dpi"
    31.         FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
    32.         # path to defoma fonts
    33.         FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    34. EndSection
    35.  
    36. Section "Module"
    37.         Load    "bitmap"
    38.         Load    "ddc"
    39.         Load    "extmod"
    40.         Load    "freetype"
    41.         Load    "glx"
    42.         Load    "vbe"
    43. EndSection
    44.  
    45. Section "InputDevice"
    46.         Identifier      "Generic Keyboard"
    47.         Driver    "kbd"
    48.         Option    "CoreKeyboard"
    49.         Option    "XkbRules"        "xorg"
    50.         Option    "XkbModel"        "macintosh"
    51.         Option    "XkbLayout"       "fr"
    52. EndSection
    53.  
    54. Section "InputDevice"
    55.         Identifier      "Configured Mouse"
    56.         Driver    "mouse"
    57.         Option    "CorePointer"
    58.         Option    "Device"    "/dev/input/mice"
    59.         Option    "Protocol"                "ImPS/2"
    60. EndSection
    61.  
    62. #Section "InputDevice"
    63. #       Identifier     "Synaptics Touchpad"
    64. #       Driver  "synaptics"
    65. #       Option  "SendCoreEvents" "true"
    66. #       Option  "Device"  "/dev/psaux"
    67. #       Option  "Protocol"              "auto-dev"
    68. #       Option  "HorizScrollDelta"       "0"
    69. #EndSection
    70.  
    71. Section "InputDevice"
    72.         Identifier      "Synaptics Touchpad"
    73.         Driver          "synaptics"
    74.         Option          "SendCoreEvents"        "true"
    75.         Option          "Device"                "/dev/input/atp"
    76. #        Option          "Protocol"              "event"
    77.         Option    "LeftEdge"                "60"
    78.         Option          "Protocol"              "ExplorerPS/2"
    79.         Option    "LeftEdge"                "60"
    80.         Option    "RightEdge"              "900"
    81.         Option    "TopEdge"  "60"
    82.         Option    "BottomEdge"            "511"
    83.         Option    "MinSpeed"                "0.5"
    84.         Option    "MaxSpeed"                "1"
    85.         Option    "AccelFactor"          "0.07"
    86.         Option    "FingerLow"              "10"
    87.         Option    "FingerHigh"            "15"
    88.         Option    "MaxTapTime"            "150"
    89.         Option    "MaxTapMove"            "100"
    90.         Option    "MaxDoubleTapTime"        "180"
    91.         Option    "HorizScrollDelta"        "0"
    92.         Option    "VertScrollDelta" "30"
    93.         Option    "SHMConfig"              "true"
    94.         Option    "RTCornerButton"  "3"
    95.         Option    "LTCornerButton"  "2"
    96.         Option    "VertTwoFingerScroll"     "true"
    97.         Option    "TapButton2"            "3"
    98.         Option    "TapButton3"            "2"
    99.  
    100. EndSection
    101.  
    102.  
    103. Section "Device"
    104.         Identifier      "nVidia Corporation NV34M [GeForce FX Go5200]"
    105.         Driver    "nv"
    106.         BusID      "PCI:0:16:0"
    107.         VideoRam        65536
    108. EndSection
    109.  
    110. Section "Monitor"
    111.         Identifier      "Generic Monitor"
    112.         Option    "DPMS"
    113.         HorizSync       30-51
    114.         VertRefresh     50-60
    115. EndSection
    116.  
    117. Section "Screen"
    118.         Identifier      "Default Screen"
    119.         Device    "nVidia Corporation NV34M [GeForce FX Go5200]"
    120.         Monitor  "Generic Monitor"
    121.         DefaultDepth    24
    122.         SubSection "Display"
    123.                 Depth      1
    124.                 Modes      "1024x768" "800x600" "640x480"
    125.         EndSubSection
    126.         SubSection "Display"
    127.                 Depth      4
    128.                 Modes      "1024x768" "800x600" "640x480"
    129.         EndSubSection
    130.         SubSection "Display"
    131.                 Depth      8
    132.                 Modes      "1024x768" "800x600" "640x480"
    133.         EndSubSection
    134.         SubSection "Display"
    135.                 Depth      15
    136.                 Modes      "1024x768" "800x600" "640x480"
    137.         EndSubSection
    138.         SubSection "Display"
    139.                 Depth      16
    140.                 Modes      "1024x768" "800x600" "640x480"
    141.         EndSubSection
    142.         SubSection "Display"
    143.                 Depth      24
    144.                 Modes      "1024x768" "800x600" "640x480"
    145.         EndSubSection
    146. EndSection
    147.  
    148. Section "ServerLayout"
    149.         Identifier      "Default Layout"
    150.         Screen    "Default Screen"
    151.         InputDevice     "Generic Keyboard"
    152.         InputDevice     "Configured Mouse"
    153.         InputDevice     "Synaptics Touchpad"
    154. EndSection
    155.  
    156. Section "DRI"
    157.         Mode    0666
    158. EndSection

First / Previous / Next / Last / Page 1 of 1 (3 posteets)