Xfce桌面管理器操作手册

来自Ubuntu中文
跳到导航跳到搜索

Xfce桌面管理器操作手册

介绍

xfdesktop程序负责管理桌面背景。它用来设置背景图象和颜色,在点击鼠标右键或中键时,弹出桌面菜单。在XFce 4 的设置管理器上为其安装了两个设置对话框。这两个对话框允许你改变桌面背景、颜色和工作区的数量。

背景

在设定管理器窗口上点击“桌面:背景”将打开背景属性对话框。 图 1. 背景设置

attachment:xfdesktop-background.png


颜色

点击“背景颜色”按钮,将出现新的对话框: 图 2. 选择背景颜色

attachment:select_bg_color.png


这个对话框允许你为桌面选择一个背景颜色。这个颜色会填充整个底窗口,如果背景图像是透明的,这个颜色将是可以看见的。有几个方法来指定颜色:

  • 使用内带三角的颜色环:在外面的环上选择颜色,在里面的三角形上选择颜色的深浅。对应的亮度、色深和红绿蓝偏量的值会在右边的输入框内显示。
  • 点击滴管,在桌面上任意地方选择一个颜色。
  • 在“颜色名”输入框内输入HTML形式的16进制值,或者直接就是颜色的名称。
  • 如果你要xfdesktop忽略背景图像而只显示选中的背景颜色,选上“只使用颜色”选择框。

Image 图像

“文件”输入框显示当前选中的背景图像路径。要修改它,只要从文件管理器上把图像文件拖到这个对话框上,你也可以直接修改路径,或点击“浏览”按钮,使用标准的文件浏览对话框来选择文件。

你可以根据图像的大小,选择三种填充桌面的方式(平铺,拉伸,居中)。你也可以选择“自动”,让xfdesktop来照管这个设置。

可以指定开机时在一个列表里随机选择一个作为背景图像。点击“新建列表“按钮打开一个列表编辑对话框:

图 3. 背景列表

attachment:xfdesktop-list.png

在你可以在“列表文件”输入框内修改默认的路径和定制列表的名称。

添加一个图像文件很容易,点击“添加”按钮将打开一个文件浏览窗口来选择图像。选种列表里的一个文件,点击“删除”按钮就可以删除一个图像。修改完成之后,点击“保存”按钮来保存结果。如果以后要修改这个列表,使用背景设置管理器上的“编辑列表”按钮。

You can recover an older list by dropping its name.list file on the background settings dialog from a file manager.

输入列表的名称可以调入前面保存的一个旧的列表。[TODO]

要从列表上随机挑选一个图像来更新桌面背景,重新运行xfdesktop命令即可,比如,从终端窗口或运行对话框。


xfdesktop root 菜单

xfdesktop provides an applications menu and a windowlist menu that appear when you click on the desktop with your right or middle mouse button.

The Menu tab of the Desktop settings dialog allows you to configure the menu behaviour.

Figure4. Menu tab

attachment:xfdesktop-menu-tab.png

Shows the menu tab of the Desktop settings dialog.

If you want to use the root menu and/or the window list, the corresponding options have to be selected in the settings dialog.

A right-click on the desktop backdrop opens a menu that allows you to start some applications. Its configuration file, menu.xml, can be found under the path $sysconfdir/xdg/xfce4/menu.xml. For binary packages, $sysconfdir is often /etc and for source compiles, it defaults to /usr/local/etc.

While it is possible to edit the file manually, the recommended method for editing the menu.xml file is via the Xfce 4 Menu Editor, which can be started by running xfce4-menueditor, or using the "Edit desktop menu" button available from the Menu tab of the Desktop settings dialog. The menu editor also supports drag'n'drop from a file manager.

If you've edited the menu via xfce4-menueditor, the user-customized menu file will be saved to $XDG_CONFIG_HOME/xfce4/desktop/menu.xml. $XDG_CONFIG_HOME usually defaults to ~/.config. If editing the file manually, copying it to this location first is the preferred method.

Figure 5. xfdesktop menu editor

attachment:xfdesktop-editor.png

Shows xfdesktop menu editor.

NOTE: If you choose to edit the file manually, menu.xml has to be in UTF-8 encoding for the toolkit to be able to display accented or other non-ASCII characters. Therefore, you need an editor that supports UTF-8, like gedit.

Figure 6. xfdesktop right-click mouse menu

attachment:root_menu.png

Shows xfdesktop right-click mouse menu.

A middle-click on the desktop backdrop shows a list of all opened windows ordered by workspace. It also allows you to add or remove a workspace.

Figure 7. xfdesktop middle-click mouse menu

attachment:root_menu2.png

Shows xfdesktop middle-click mouse menu.

In order to lower the hardware requirements to run xfdesktop, you can disable the usage of icons in the desktop menu and the window list menu from the settings dialog.

You can open the menu or window list from the commandline as well. This can be useful for keyboard shortcuts. To open the menu run the command xfdesktop -menu, and for the windowlist use xfdesktop -windowlist.

关于 xfdesktop

xfdesktop 的作者是 Jasper Huijsmans, Olivier FourdanBiju Chacko. 更多信息,请访问 XFce web site.

对应用程序或者这份文档,要报告错误或提出建议,请发送邮件到 xfce4-dev 邮件列表 — 这是推荐的方式 — 或者使用这里的错误跟踪系统 XFce SourceForge project site. 对这个包的使用和安装问题,请在此邮件列表上提问 xfce.

This program is distributed under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.