Difference between revisions of "Avant Window Navigator (简体中文)"

From ArchWiki
Jump to: navigation, search
(Translating)
 
(Update translation)
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{i18n|Avant Window Navigator}}
+
[[Category:Application launchers (简体中文)]]
Avant Window Navigator是用C语言书写的轻量级的dock程序。它支持启动器、任务列表和第三方applets。
+
[[Category:Eye candy (简体中文)]]
 +
[[en:Avant Window Navigator]]
 +
{{Article summary start|摘要}}
 +
{{Article summary text|本文讨论如何安装和使用 Avant Window Navigator (AWN). AWN 是一个可完全定制的类 dock 窗口导航器,适用于 GNOME 桌面环境。本文包括如何将 AWN 安装到系统中,以及如何按照需要配置它。}}
 +
{{Article summary heading|相关页面}}
 +
{{Article summary wiki|GNOME (简体中文)}}
 +
{{Article summary end}}
 +
{{TranslationStatus (简体中文)|Avant_Window_Navigator|2012-11-16|235592}}
 +
[https://launchpad.net/awn Avant Window Navigator] (AWN) 是用 C 语言书写的轻量级 dock 程序。它支持启动器、任务列表和第三方 applets。
  
 
==安装==
 
==安装==
{{Package Official|avant-window-navigator}} 在 community 仓库中,可以使用 pacman 安装:
+
*'''Avant Window Navigator''' 可以通过[[Official Repositories|官方软件仓库]]中的软件包{{Pkg|avant-window-navigator}}进行安装。
# pacman -S avant-window-navigator
+
* 要得到可选的小应用,需要安装 {{Pkg|awn-extras-applets}}。
想得到可选的 applets 你需要安装 {{Package Official|awn-extras-applets}}:
+
 
# pacman -S awn-extras-applets
+
===可选依赖===
 +
大多数小应用需要一些额外的包,它们作为可选依赖列出。确保在启用小应用之前安装它们:
 +
 
 +
{| border="1" cellpadding="2"
 +
|-
 +
|Applet name
 +
|Dependencies
 +
|Optional dependences
 +
|-
 +
|animal-farm
 +
|{{pkg|fortune-mod}}
 +
|
 +
|-
 +
|battery
 +
|{{pkg|upower}}
 +
|
 +
|-
 +
|comics
 +
|{{pkg|python2-feedparser}} {{pkg|python2-rsvg}}
 +
|
 +
|-
 +
|cairo-clock
 +
|{{pkg|python2-rsvg}}
 +
|{{pkg|python2-dateutil}}
 +
|-
 +
|calendar
 +
|{{pkg|python2-dateutil}} {{pkg|python2-gdata}} {{pkg|python2-vobject}}
 +
|
 +
|-
 +
|cpufreq
 +
|{{pkg|gnome-applets}}
 +
|
 +
|-
 +
|dialect
 +
|{{aur|python-xklavier}}
 +
|
 +
|-
 +
|feeds
 +
|{{pkg|python2-feedparser}}
 +
|
 +
|-
 +
|hardware-sensors
 +
|{{pkg|python2-rsvg}}
 +
|{{pkg|hddtemp}} {{pkg|lm_sensors}}
 +
|-
 +
|media-control
 +
|
 +
|{{pkg|banshee}}
 +
|-
 +
|media-player
 +
|{{pkg|gstreamer0.10-python}}
 +
|
 +
|-
 +
|mail
 +
|{{pkg|python2-feedparser}}
 +
|
 +
|-
 +
|slickswitcher
 +
|{{pkg|python2-wnck}}
 +
|{{pkg|python2-gconf}}
 +
|-
 +
|stacks
 +
|{{pkg|python2-libgnome}} {{pkg|python2-gnomedesktop}}
 +
|
 +
|-
 +
|thinkhdaps
 +
|
 +
|{{pkg|python2-pyinotify}}
 +
|-
 +
|tomboy-applet
 +
|{{pkg|tomboy}}
 +
|
 +
|-
 +
|volume-control
 +
|{{pkg|gstreamer0.10-python}}
 +
|
 +
|}
 +
 
 +
===Compositing===
 +
为了充分利用 Avant Window Navigator及其主题,你需要安装并正确的配置一个支持 composite 的管理器,例如 [[Compiz]], [[Xcompmgr]] 或 [[Cairo Compmgr]] 。如果你在一个桌面环境,如[[GNOME]], [[Xfce]] 或者 [[KDE]] 中运行Awn,只需要在系统设置中启用 composite 管理器或者桌面特效即可。 X 中的 [[Composite|composite]] 选项默认是开启的。
  
 
==运行 Awn==
 
==运行 Awn==
Line 12: Line 99:
 
  $ avant-window-navigator &
 
  $ avant-window-navigator &
  
===启动时运行 Awn===
+
想要在启动时运行 Awn,运行 Awn, 右键单击,选择 '''Dock Preferences > Preferences''' 然后选中 '''Start Awn automatically'''
====使用 Awn 内置方法====
+
Run Awn, right-click it and go to '''Dock Preferences > Preferences''' and check '''Start Awn automatically'''. The settings will be stored in {{Filename|~/.config/autostart/awn.desktop}} and sourced the next time you login. Uncheck the option to revert this process.
+
  
====Openbox/Fluxbox====
+
也可以添加下面的命令到[[Autostarting#Graphical|自动启动]]文件:
Add the following to {{Filename|~/.config/openbox/autostart.sh}} or {{Filename|~/.fluxbox/startup}} accordingly:
+
{{ic|avant-window-navigator --startup &}}
avant-window-navigator --startup &
+
 
+
====Xfce====
+
If you have {{Codeline|xfce4-autostart-editor}} installed, simply run it and add an entry for Awn. If you're not using a session manager you can add the following to {{Filename|~/.config/xfce4/xinitrc}} or {{Filename|~/Desktop/Autostart}}:
+
$ avant-window-navigator --startup &
+
 
+
====GNOME====
+
Add an avant-window-navigator entry to Startup Programs using
+
$ gnome-session-properties
+
  
 
==配置==
 
==配置==
想要配置Awn applets,主题和通用设置,运行:
+
想要配置Awn applet、主题和通用设置,运行:
  $ awn-settings &
+
  $ awn-settings
 
或者右键点击 dock 选择 '''Dock Preferences'''.
 
或者右键点击 dock 选择 '''Dock Preferences'''.
  
===Compositing===
+
==提示与技巧==
To fully utilize Avant Window Navigator and its themes, you will need a composite manager like [[Compiz]], [[Xcompmgr]] or [[Cairo Compmgr]] installed and configured correctly. If you are running Awn in a desktop environment like [[GNOME]], [[Xfce]] or [[KDE]], simply enable the composite manager or the desktop effects in the system settings. The [[Composite|composite]] option in X is enabled by default.
+
===外部 applets===
 
+
===Additional Dependencies===
+
Additional packages may be required to run some applets. A matrix of dependencies for the various applets can be found [http://wiki.awn-project.org/Awn_Extras:Dependency_Matrix here].
+
 
+
{{Note|The dependencies are categorized by some "major" Linux distributions, so package names and location may vary from theirs to Arch Linux.}}
+
 
+
{{Note|1={{Package Official|awn-extras-applets}}''<=0.4.0'' depends on {{Package Official|gnome-menus}} which, after upgrading to version ''3.2.0'', has changed library {{Filename|/usr/lib/libgnome-menu.so.2}} to {{Filename|/usr/lib/libgnome-menu-3.so}}, thus breaking all Awn menu applets. See bug reports [https://bugs.launchpad.net/awn/+bug/864925] and {{Bug|26191}}. For a temporary workaround you can install {{Package AUR|gnome-menus2}}, available in the [[Arch User Repository]].}}
+
 
+
==Tips and tricks==
+
===External applets===
+
 
====DockbarX====
 
====DockbarX====
You may want to try [https://launchpad.net/dockbar DockbarX], a task manager applet with advanced behaviour configuration and support for window previews. It is available from the [[AUR]]: {{Package AUR|dockbarx}} or the unstable {{Package AUR|dockbarx-bzr}}.
+
你可能想尝试一下 [https://launchpad.net/dockbar DockbarX],一个任务管理器 applet ,带有高级行为设置和窗口预览支持。可以从 [[AUR]]: {{AUR|dockbarx}} 或者 unstable {{AUR|dockbarx-bzr}} 得到.
  
==More resources==
+
==更多资源==
 
* [http://wiki.awn-project.org/ Awn wiki]
 
* [http://wiki.awn-project.org/ Awn wiki]
 
* [http://awn.planetblur.org/ Awn forum]
 
* [http://awn.planetblur.org/ Awn forum]
 
* [https://launchpad.net/awn Awn launchpad]
 
* [https://launchpad.net/awn Awn launchpad]

Revision as of 05:02, 16 November 2012

摘要 help replacing me
本文讨论如何安装和使用 Avant Window Navigator (AWN). AWN 是一个可完全定制的类 dock 窗口导航器,适用于 GNOME 桌面环境。本文包括如何将 AWN 安装到系统中,以及如何按照需要配置它。
相关页面
GNOME (简体中文)
翻译状态: 本文是英文页面 Avant_Window_Navigator翻译,最后翻译时间:2012-11-16,点击这里可以查看翻译后英文页面的改动。

Avant Window Navigator (AWN) 是用 C 语言书写的轻量级 dock 程序。它支持启动器、任务列表和第三方 applets。

安装

可选依赖

大多数小应用需要一些额外的包,它们作为可选依赖列出。确保在启用小应用之前安装它们:

Applet name Dependencies Optional dependences
animal-farm fortune-mod
battery upower
comics python2-feedparser python2-rsvg
cairo-clock python2-rsvg python2-dateutil
calendar python2-dateutil python2-gdata python2-vobject
cpufreq gnome-applets
dialect python-xklavierAUR
feeds python2-feedparser
hardware-sensors python2-rsvg hddtemp lm_sensors
media-control banshee
media-player gstreamer0.10-python
mail python2-feedparser
slickswitcher python2-wnck python2-gconf
stacks python2-libgnome python2-gnomedesktop
thinkhdaps python2-pyinotify
tomboy-applet tomboy
volume-control gstreamer0.10-python

Compositing

为了充分利用 Avant Window Navigator及其主题,你需要安装并正确的配置一个支持 composite 的管理器,例如 Compiz, XcompmgrCairo Compmgr 。如果你在一个桌面环境,如GNOME, Xfce 或者 KDE 中运行Awn,只需要在系统设置中启用 composite 管理器或者桌面特效即可。 X 中的 composite 选项默认是开启的。

运行 Awn

在后台运行 Awn :

$ avant-window-navigator &

想要在启动时运行 Awn,运行 Awn, 右键单击,选择 Dock Preferences > Preferences 然后选中 Start Awn automatically

也可以添加下面的命令到自动启动文件:

avant-window-navigator --startup &

配置

想要配置Awn applet、主题和通用设置,运行:

$ awn-settings

或者右键点击 dock 选择 Dock Preferences.

提示与技巧

外部 applets

DockbarX

你可能想尝试一下 DockbarX,一个任务管理器 applet ,带有高级行为设置和窗口预览支持。可以从 AUR: dockbarxAUR 或者 unstable dockbarx-bzrAUR 得到.

更多资源