X Power Tools
暫譯: X 力量工具

Chris Tyler

  • 出版商: O'Reilly
  • 出版日期: 2008-01-29
  • 定價: $1,398
  • 售價: 9.5$1,328
  • 語言: 英文
  • 頁數: 272
  • 裝訂: Paperback
  • ISBN: 0596101953
  • ISBN-13: 9780596101954
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Description 

This book puts you in charge of the most flexible and adaptable graphical interface in the computer industry. The X Window System underlies graphical desktops on Linux and Unix systems, and supports advanced features of modern graphics cards. More people use the X Window System than ever before, but there are few books about X in print. X Power Tools fills that hole with the most practical and up-to-date information available.

Written in O'Reilly's popular Power Tools format, X Power Tools offers dozens of standalone articles, thoroughly cross-referenced, on useful tools and techniques for using X. This unique inside look at X gives Unix/Linux system administrators, owners of self-administered systems, and power users a lot of useful ways to harness the power of this system effectively. This book:



  • Offers a thorough grounding in X configuration and how the system works
  • Provides the complete ins and outs of changing a desktop's behavior, such as fonts, keyboard settings, and remote security
  • Includes articles on how to take advantage of X's "network transparency" -- its ability to display graphical applications on a remote machine
  • Explores intriguing areas such as using multiple monitors, building kiosks, and accessibility
  • Features discussions on X Window innovations and the future of the system

X Power Tools covers configuration and use of X, focusing on Linux but also including notes on other operating systems such as Solaris and FreeBSD. Each article in the book gives you insight into X; the entire book gives you a real grasp on this system and what you can do with it.
 



 

Table of Contents

Preface

Part I. The X Server

1. Introduction to the X Window System

      1.1 The X Window System

      1.2 The History of X

      1.3 The Renaissance: New X Versus Old X

      1.4 X by Any Other Name

      1.5 Seven Layers of an X-based GUI

      1.6 Where Is the Server?

      1.7 Why Windows Look and Act Differently
      1.8 Toolkits and Desktop Environments

      1.9 The Role of Freedesktop.org

      1.10 Display Hardware

      1.11 Displays, Screens, and Xinerama

      1.12 Display Specifications

      1.13 TCP/IP Ports

      1.14 Local Connection Mechanisms

      1.15 Server Extensions

      1.16 Where to Draw the Line: Kernel Versus User-Space Drivers

2. Starting a Local X Server

      2.1 One Size Doesn't Fit All

      2.2 Virtual Terminals

      2.3 Starting a Raw X Server Manually

      2.4 Using a Display Manager to Start the X Server

      2.5 Enabling or Disabling the Display Manager at Boot Time

      2.6 What Started the Display Manager?

      2.7 Starting Multiple X Servers Using a Display Manager

      2.8 Starting Additional X Servers on Demand Using   a Display Manager

      2.9 Starting an X Server with Clients Only When Needed

      2.10 Switching VTs from the Shell Prompt

      2.11 Starting X Within X

      2.12 No Mouse!

      2.13 Bailing Out: Zapping X

      2.14 Terminating X Automatically

3. Basic X.org Configuration

      3.1 What Is There to Configure?

      3.2 Why Only root Can Configure the X Server

      3.3 Places Your Configuration Could Hide

      3.4 Let the X Server Configure Itself

      3.5 The xorg.conf Configuration File

      3.6 Optional Sections in the xorg.conf Configuration File

      3.7 Configuring the Pointer Device

      3.8 Configuring a Two-Button Mouse

      3.9 Configuring a Mouse with a Scrollwheel

      3.10 Configuring a Synaptics TouchPad

      3.11 Enabling DPMS

      3.12 Configuring Video Card Driver Options

      3.13 LightSteelBlue and Other Color Names

      3.14 Configuring a Monitor's Scan Rates

      3.15 Reading Server Log Files

      3.16 Configuring the Default Depth of a Screen

      3.17 Configuring the Resolution of a Screen

4. Advanced X.org Configuration

      4.1 Multi-Screen Configuration

      4.2 Xinerama Configuration

      4.3 Differences Between Multi-Screen and Xinerama Modes

      4.4 Positioning Screens

      4.5 Overlapping Xinerama

      4.6 Scrolling Virtual Screens and Xinerama

      4.7 Using Multiple Outputs from One Video Card

      4.8 Parallel Pointing Devices

      4.9 Parallel Keyboards

      4.10 Using X with GPM or MOUSED

5. Using the X Server

      5.1 Interacting with the X Server

      5.2 Changing Resolution On-the-Fly

      5.3 Changing the Resolution and the Screen Size Dynamically

      5.4 Using the Middle Mouse Button

      5.5 Using the Clipboard

      5.6 Keyboard Focus

      5.7 Keyboard and Mouse Grabs

Part II. X Clients

6. X Utility Programs

      6.1 The Unused Toolbox

      6.2 Determine the Display Configuration

      6.3 Getting Window Information

      6.4 Viewing Server Settings

      6.5 Control That Bell!

      6.6 Adjusting the Keyboard Repeat Rate

      6.7 Adjusting the Mouse Acceleration

      6.8 Playing with the Lights

      6.9 Killing a Rogue Client

      6.10 Examining Part of the Display in Detail

      6.11 Script a Screen Dump

      6.12 Preventing the Screen from Blanking During Presentations

      6.13 Eye Candy: xscreensaver

      6.14 Redrawing the Screen

7. Running X Clients

      7.1 Running X Clients

      7.2 Background Operation

      7.3 Geometry

      7.4 Split Personality: Running Nongraphical Applications

8. Session Managers, Desktop Environments,            and Window Managers

      8.1 X and Desktop Environments

      8.2 Session Managers

      8.3 Virtual Desktops

      8.4 Starting GNOME

      8.5 Starting KDE

      8.6 Starting Xfce

      8.7 Using a Window Manager Alone

Part III. Colors, Fonts, and Keyboards

9. Color

      9.1 RGB and Other Color Systems

      9.2 Visuals

      9.3 Gamma

      9.4 Color Management Systems

10. Core Fonts: Fonts the Old Way

      10.1 Old Fonts Versus New Fonts

      10.2 Configuring the Font Path

      10.3 Using a Font Server

      10.4 Font Names

      10.5 Installing and Removing Fonts

11. Pango, Xft, Fontconfig, and Render: Fonts            the New Way

      11.1 Client-Side Fonts

      11.2 Adding and Removing Fonts Manually

      11.3 Adding and Removing Fonts Using GNOME

      11.4 Adding and Removing Fonts Using KDE

      11.5 Fontconfig Font Names

      11.6 Fontconfig Utilities

      11.7 Installing the Microsoft Fonts

      11.8 Rendering Options

12. Keyboard Configuration

      12.1 Keyboards and XKB

      12.2 The Location of XKB Files

      12.3 XKB Components

      12.4 Selecting an XKB Keymap Using Rules

      12.5 Using Keyboard Groups

      12.6 Setting the Keymap in the xorg.conf File

      12.7 Setting the Keymap from the Command Line

      12.8 Setting the Keymap Using a Keyboard Configuration File

      12.9 Compiling Keyboard Maps

      12.10 Viewing or Printing a Keyboard Layout

Part IV. Using X Remotely

13. Remote Access

      13.1 Network Transparency

      13.2 Displaying on a Remote Server

      13.3 Enabling Remote Sessions

      13.4 Accessing a Remote Session on a Specific Host

      13.5 Accessing a Remote Session on Any Available Host

      13.6 Accessing a Remote Session from a List of Available Sessions

      13.7 The Three Challenges of Remote Access

      13.8 Host-Based Access Control

      13.9 xauth and Magic Cookies

      13.10 The X Security Extension

      13.11 Low-Bandwidth X (LBX)

      13.12 X Tunneling with SSH

      13.13 Using Public Keys with SSH

      13.14 Using Passphrase Protection of SSH Keys

      13.15 OpenSSH and the SECURITY Extension

14. Using VNC

      14.1 The VNC System

      14.2 So Many VNC Versions!

      14.3 Xvnc Basics

      14.4 The vncserver Script

      14.5 Using the VNC Viewers

      14.6 Using Standing VNC Servers

      14.7 Configuring the Xvnc Web Server

      14.8 Customizing the VNC Java Applet Web Page

      14.9 Starting VNC On Demand Using xinetd

      14.10 Starting VNC On Demand Using inetd

      14.11 Using the Java Applet with On-Demand VNC Servers

      14.12 Accessing VNC Securely Using SSH

      14.13 Embedding an X Application in a Web Page

      14.14 Using KDE and Gnome Remote DesktopAccess Tools

      14.15 Using the VNC Extension to the X.Org Server

      14.16 Using VNC to Share a Presentation

      14.17 Bypassing a Firewall

Part V. Special Configurations

15. Building a Kiosk

      15.1 What Is a Kiosk, and Why Do I Want One?

      15.2 Selecting Kiosk Hardware

      15.3 Configure X for a Kiosk

      15.4 Controlling the Keyboard

      15.5 Controlling the Mouse

      15.6 Starting a Single Fullscreen Application

      15.7 Network Status Monitoring

      15.8 Using xscreensaver to Reset a Kiosk

      15.9 Refining the Kiosk Appearance

      15.10 Putting It All Together: Scripting a Kiosk

      15.11 Booting a Kiosk

      15.12 Creating a Video Wall

Index

商品描述(中文翻譯)

描述
這本書讓你掌控計算機行業中最靈活和可適應的圖形介面。X Window System 是 Linux 和 Unix 系統上圖形桌面的基礎,並支持現代顯示卡的先進功能。使用 X Window System 的人數比以往任何時候都要多,但市面上關於 X 的書籍卻寥寥無幾。《X Power Tools》填補了這一空白,提供了最實用和最新的信息。

本書採用 O'Reilly 受歡迎的 Power Tools 格式,提供了數十篇獨立的文章,並進行了全面的交叉引用,介紹了使用 X 的有用工具和技術。這本書獨特地深入探討了 X,為 Unix/Linux 系統管理員、自我管理系統的擁有者和高級用戶提供了許多有效利用該系統的方式。本書的內容包括:

- 提供 X 配置及系統運作的全面基礎
- 詳細說明如何改變桌面的行為,例如字型、鍵盤設置和遠端安全性
- 包含如何利用 X 的「網路透明性」的文章——其在遠端機器上顯示圖形應用程序的能力
- 探索多顯示器、建立自助服務機和無障礙設計等有趣領域
- 討論 X Window 的創新及系統的未來

《X Power Tools》涵蓋了 X 的配置和使用,重點在於 Linux,但也包括對其他操作系統如 Solaris 和 FreeBSD 的說明。本書中的每篇文章都能讓你深入了解 X;整本書則讓你真正掌握這個系統及其應用。

目錄
前言
第一部分:X 伺服器
1. X Window System 簡介
1.1 X Window System
1.2 X 的歷史
1.3 文藝復興:新 X 與舊 X
1.4 其他名稱的 X
1.5 基於 X 的 GUI 的七層
1.6 伺服器在哪裡?
1.7 為什麼視窗看起來和行為不同
1.8 工具包和桌面環境
1.9 Freedesktop.org 的角色
1.10 顯示硬體
1.11 顯示器、螢幕和 Xinerama
1.12 顯示規格
1.13 TCP/IP 端口
1.14 本地連接機制
1.15 伺服器擴展
1.16 劃定界限:核心與用戶空間驅動程式
2. 啟動本地 X 伺服器
2.1 一種尺寸不適合所有
2.2 虛擬終端
2.3 手動啟動原始 X 伺服器
2.4 使用顯示管理器啟動 X 伺服器
2.5 在啟動時啟用或禁用顯示管理器
2.6 是什麼啟動了顯示管理器?
2.7 使用顯示管理器啟動多個 X 伺服器
2.8 根據需求啟動額外的 X 伺服器
2.9 只在需要時啟動帶有客戶端的 X 伺服器
2.10 從 Shell 提示切換虛擬終端
2.11 在 X 中啟動 X
2.12 沒有滑鼠!
2.13 退出:關閉 X
2.14 自動終止 X
3. 基本 X.org 配置
3.1 有什麼可以配置的?
3.2 為什麼只有 root 可以配置 X 伺服器
3.3 配置可能隱藏的地方
3.4 讓 X 伺服器自我配置
3.5 xorg.conf 配置文件
3.6 xorg.conf 配置文件中的可選部分
3.7 配置指針設備
3.8 配置雙按鈕滑鼠
3.9 配置帶滾輪的滑鼠
3.10 配置 Synaptics 觸控板
3.11 啟用 DPMS
3.12 配置顯示卡驅動選項
3.13 LightSteelBlue 和其他顏色名稱
3.14 配置顯示器的掃描率
3.15 閱讀伺服器日誌文件
3.16 配置螢幕的默認深度
3.17 配置螢幕的解析度
4. 高級 X.org 配置
4.1 多螢幕配置
4.2 Xinerama 配置
4.3 多螢幕和 Xinerama 模式之間的差異
4.4 螢幕定位
4.5 重疊的 Xinerama
4.6 滾動虛擬螢幕和 Xinerama
4.7 使用一個顯示卡的多個輸出
4.8 並行指向設備
4.9 並行鍵盤
4.10 使用 GPM 或 MOUSED 的 X
5. 使用 X 伺服器
5.1 與 X 伺服器互動
5.2 動態改變解析度
5.3 動態改變解析度和螢幕大小
5.4 使用中鍵滑鼠
5.5 使用剪貼簿
5.6 鍵盤焦點
5.7 鍵盤和滑鼠抓取
第二部分:X 客戶端
6. X 實用程序
6.1 未使用的工具箱
6.2 確定顯示配置
6.3 獲取視窗信息
6.4 查看伺服器設置
6.5 控制那個鈴聲!
6.6 調整鍵盤重複率
6.7 調整滑鼠加速度
6.8 玩弄燈光
6.9 終止一個流氓客戶端
6.10 詳細檢查顯示的一部分
6.11 腳本化螢幕截圖
6.12 在演示期間防止螢幕黑屏
6.13 視覺效果:xscreensaver
6.14 重新繪製螢幕
7. 運行 X 客戶端
7.1 運行 X 客戶端
7.2 背景操作
7.3 幾何
7.4 分裂個性:運行非圖形應用程序
8. 會話管理器、桌面環境和視窗管理器
8.1 X 和桌面環境
8.2 會話管理器
8.3 虛擬桌面