HP c8000 manual Examples, Printing a key map

Page 87

X Windows configuration details

making an x*.hosts file

examples

Suppose you frequently press the Caps key at the most inopportune moments. You could remove the Caps lock key from the lock modifier, swap it for the f1 key, then map the f1 key to the lock modifier. Do this by creating a little swapper file that contains the following lines:

!This file swaps the [Caps] key with the [F1] key.

remove Lock = Caps_Lock keysym Caps_Lock = F1 keysym F1 = Caps_Lock add Lock = Caps_Lock

Note the use of the ! in the file to start a comment line. To put your "swapper" file into effect, enter the following on the command line:

xmodmap swapper

If you use such a swapper file, you should probably have an unswapper file. The following file enables you to swap back to the original keyboard mapping without having to exit X11:

!This file unswaps the [F1] key with the [Caps] key.

remove Lock = Caps_Lock keycode 88 = F1 keycode 55 = Caps_Lock add Lock = Caps_Lock

Note the use of the hexadecimal values to reinitialize the keycodes to the proper key symbols. You put your “unswapper” file into effect by entering the following command line:

xmodmap unswapper

On a larger scale, you can change your current keyboard to a Dvorak keyboard by creating a file with the appropriate keyboard mappings.

xmodmap .keymap

printing a key map

The -pk option prints a list of the key mappings for the current keyboard.

xmodmap -pk

The list contains the keycode and up to four 2-part columns. The first column contains unmodified key values, the second column contains shifted key values, the third column contains meta (Extend Char/Alt) key

84

Chapter 4

Image 87
Contents Manufacturing Part Number B2355-IE003 Edition E0206 Graphics administration guideLegal notice Contents Contents Windows configuration details Examples printing a key map Preface Product Dis Obsoleted On Name Number PrefaceDocument conventions Document conventions Chapter Configuring X Windows on HP-UX Graphics cards, see in this document Configuring X Windows on HP-UX HP Visualize graphics cardsServer configuration X*screens file format Description of the X*screens configuration fileScreens file Syntax guidelinesServer options Screen /dev/crtDefaultVisual Screen entriesTransparent MinimumMonitorPowerSaveLevel value ScreenOptionsSample X*screens files Two physical displays, two separate screens Screen /dev/crt DefaultVisual Transparent Four physical displays, single logical screen Two physical displays, single logical screenDev/crt0 Dev/crt1 Dev/crt2 Dev/crt3 Host0.0 Miscellaneous topics Double buffer extensionsPerforming buffer swaps on vertical blank Display power management signaling Dpms Determining swap performanceSupported devices Shared memory extension Mitshm Power saving states defined by VesaSupported X configurations Multi-display supportMulti-Display Multi-Screen Device #2Single logical screen Single logical screen SLS Multi-screen supportHp CDE and single logical screen 3D acceleration and single logical screenServer configuration Supported visuals Hp Visualize- FXE, FX5 and FX10 device-dependent informationOverlay visuals and overlay transparency Hp VISUALIZE-FXE/5/10 configuration hintsSupported screen options Disabling the GLX visualsChanging the monitor type Hp VISUALIZE-FXE/5/10 colormapsOther graphics cards Configuring X Windows on HP-UX other graphics cards Using SAM to configure X Windows Using SAM to configure X Windows Using setmon to configure the monitor XF86Config file format XF86Config fileServerLayout section Absolute RightOf LeftOf Above Below Relative XF86Config file Option Value Default Description Files section Usr/lib/X11/Xserver/modules/xf86 Opt/graphics/common/lib Module section Option Value Description InputDevice sectionScreen section XF86Config file Entry Description Position Display subsectionXF86Config file Monitor section Device section XF86Config file Sample XF86Config file Sample XF86Config file Sample XF86Config file Extensions Double buffer extension DBEDetermining swap performance Display power management signaling Dpms Dpms Dynamic library loading Features Cursor scalingGlx visual suppression Visuals suppression Technical print service TPS Virtual frame buffer XvfbSecurity DefaultVisual option Starting the X Server from the command lineClass NoServerLogging Minimum monitor power save level optionDisableGlxVisuals DepthHideDuplicateGlxVisuals Input devices KeyboardsPointers Supported device options Output devicesHp Fire GL-UX device-dependent information Supported visualsOption Overlay True Option TransparentIndex0 Supported monitor configurationsATI FireGL X1/T2/X3 device-dependent information TrueColor optional Overlay Image FSAAScale Supported monitor configurations Overlay visuals and overlay transparency Hp Fire GL-UX configuration hintsNumLongs/sizeofOverlayVisualPropertyRec HP Fire GL-UX Colormaps Hints X1/X3/T2-128 System requirementsHardware compatibility table ATI FireGLFonts MiscellaneousFile Description FilesATI FireGL X1/T2/X3 configuration hints Gamma correction Windows configuration details Making an x*.hosts file Using an /etc/hosts fileCustomizing the mouse and keyboard Stopping the X Window systemChanging mouse button actions Modifying modifier key bindings with xmodmap To do this Use this expression Specifying key remapping expressionsPrinting a key map ExamplesMaking an x*.hosts file Making an x*.hosts file Chapter
Related manuals
Manual 27 pages 63.95 Kb Manual 8 pages 32.71 Kb Manual 62 pages 533 b