Awesome/zh-cn

"awesome"是一个高度可定制的用于X的下一代窗口管理器框架. 它主要定位于顶级用户、开发者、每天都要与计算任务打交道的人以及那些想要很好的控制他们图形界面环境的人.

安装
安装 :

启动
通过一个 display manager 或者按键 startx 来启动 awesome.

使用 startx 启用 ConsoleKit 支持, 设置 ConsoleKit 创建如下文件:

配置文件
Awesome的默认配置文件位于. 如果该文件不存在，那么你需要创建一个. awesome 安装好带有一个默认的配置文件位于. 将该文件复制到用户的主目录中.

第一步，创建目录 :

接着，复制配置文件 :

如果 没有安装， 要么安装它，要么将默认的终端模拟器改为系统中其它可用的终端. 如下，将系统默认终端改为konsole, 该终端在软件包 中.

作好更改后，检查配置文件是否有错误是非常有用的：

通过软件包 添加壁纸支持:

For instance, to use awsetbg to set the wallpaper, edit :

Tags
In awesome, tags are the name given to virtual desktops under which one or more applications are running. It is possible to assign custom symbols to these tags:

Menu
Below is an example of a custom awesome menu:

Date
Below is an example use of a custom date format. The format syntax used is. The second option,, is the update interval in seconds.

Volume control
can be used to handle volume keys automatically, and to show the volume level through a tray icon.

Autostart volumeicon from within :

Alternatively, a lightweight method is to add volume keys straight into the awesome configuration:

MPD multimedia keys
Install to add multimedia key bindings for MPD:

Next update the awesome</tt> configuration to assign the multimedia keys to the proper command:

Debugging the configuration with Xephyr
Xephyr is a useful tool for debugging new configuration files as it creates an instance of an X server within a client window.

This will open an 800x600 window. To run awesome within it open a new terminal and run the following:

This will run awesome within a window.

Keyboard shortcuts
These are the most useful default shortcuts:


 * + = move client with mouse
 * + = resize client with mouse


 * + = open terminal
 * + = run command
 * ++ = kill
 * + = maximize
 * + = minimize
 * ++ = restore minimized clients
 * + = full screen
 * + = switch to previous client
 * ++ = float


 * + = highlight left client
 * + = highlight right client
 * ++ = move client right
 * ++ = move client left


 * + = resize tiled client
 * + = resize tiled client


 * + = change tag
 * + = change tag
 * ++ = send client to tag

Custom key bindings, like +, can be mapped to make the awesome</tt> experience even better. For instance, to use + to switch to the previous window:

External resources

 * User Configuration Files at awesome wiki