QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 13040|回复: 25

XFCE 文档翻译! 欢迎热爱XFCE的兄弟参加!

[复制链接]
发表于 2004-1-28 11:40:46 | 显示全部楼层 |阅读模式
昨天在公社看到关于XFce的一些下载及相关的帖子
于是马上安装了XFce4.0.3(在fc1下)
运行起来确实非常的快,就连mozilla启动的都很快

可惜没有类似gnome的那种main menu
用起来不是太习惯,找了很久也没有找到相关的plugin
如果哪位朋友找到了或实现了,请告诉一声

XFce.org上的FAQ也不太多
不过已经有简体中文的页面已经非常难得了(但没有繁体的,好像是小日本弄的)
在公社找了一下相关的帖子
一些朋友要么已经用的非常熟练,要么跟我一样刚刚接触XFce
所以希望斑竹能整理一下关于XFce的帖子
同时也希望用XFce的old hand们可以多写些关于XFce的帖子
先谢谢了
发表于 2004-1-28 11:44:38 | 显示全部楼层
不用要new hand/old hand的说法啦,怪吓人的。

没有main menu么?有右键菜单啊,工具条上也可以加很多快捷方式啊,不用时不显示,这才叫干净整洁。也基本用不着什么右键菜单。
回复

使用道具 举报

 楼主| 发表于 2004-1-28 14:24:37 | 显示全部楼层
[quote:decfc04bb6="cathayan"]
没有main menu么?有右键菜单啊,工具条上也可以加很多快捷方式啊,不用时不显示,这才叫干净整洁。也基本用不着什么右键菜单。[/quote]
确实比较简洁,不过也确实太少了!

当然我说的这个main menu是指那个类似windoz的start menu的
而在XFce里自己添加某个laucher必须知道相应的确切位置才行
回复

使用道具 举报

发表于 2004-1-28 23:29:28 | 显示全部楼层
可以搜索一下,有心得别忘了和大家分享
回复

使用道具 举报

发表于 2004-2-17 09:12:01 | 显示全部楼层
斑竹怎么没回复?顶。
回复

使用道具 举报

发表于 2004-2-17 12:47:06 | 显示全部楼层
呵呵, 现在有点没心情做事, 弄了好长时间的openbsd pf文档都没翻译完, 对不起大家了! 看过段时间心情好起来后, 我多关注一下桌面使用方面的内容! 我用过几天xfce它很简单, 配置容易, 而且它还有一个中文网页说明, 官方网站做的很多错了, 有空上官方网站看看,如下面内容:
在线文档:
XFce 4的在线文档可以从 这里查阅。该文档还在完善过程中。



XFce 4 安装指南:
从源代码安装:
自行编译安装也就是解压缩源代码包,然后在特定模块源代码的顶层目录执行:

./configure && make && make install

编译安装顺序:

libxfce4util
libxfcegui4
libxfce4mcs
xfce-mcs-manager
所有其他模块(在安装任何面板插件(panel plugin)之前请确认面板(xfce4 panel)组件本身已经安装)。
XFce 4的编译依赖语pkg-config, GTK+ >= 2.0.6(开发包也需要),libxml2,此外xffm还需要libdbh,libdbh能从 SourceForge下载。
It optionally depends on librsvg >= 2.2.x and libstartup-notification >= 0.5.

如果你要把XFce安装到不同于pkg-config默认确定的路径,你还需要设定环境变量PKG_CONFIG_PATH,使它指定到包含XFce 4的各库所要安装*.pc文件的路径,也就是${prefix}/lib/pkgconfig路径。 例如:

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig  


从CVS安装:
取得源代码:
以下是从CVS取得某个模块的通用命令。查看某个模块的话,可以使用CVS库的Web界面 WebCVS。

其次,取出你感兴趣的模块:

cvs -d:pserver:[email protected]:/cvsroot/xfce co modulename

模块名可以是下列各模块中的任意一个:

xfce4    Use this module name to download all the modules at once

xfce4/libxfce4util
xfce4/libxfcegui4
xfce4/libxfce4mcs
xfce4/xfce-mcs-manager
xfce4/xfce-mcs-plugins
xfce4/xfce4-panel
xfce4/xfwm4
xfce4/xfce-utils
xfce4/xfce4-modules
xfce4/xffm
xfce4/xfdesktop
xfce4/xfce4-session
xfce4/xfprint
xfce4/gtk-xfce-engine-2
xfce4/xfce4-iconbox
xfce4/xfce4-mixer
xfce4/xfce4-systray
xfce4/xfce4-themes
xfce4/xfce4-toys
xfce4/xfce4-trigger-launcher
xfce4/xffm-icons
xfce4/xfwm4-themes
xfce4/xfcalendar


编译模块:
所有XFce 4模块依赖于GTK2,有些模块还依赖于libxml2。请确认你的系统已经安装了相应的包(包括开发包)。

在未来的版本里,XFce 4可能会依赖于gtk 2.2,但是到本页撰写为止gtk 2.0.x已经足够了。

Xffm需要libdbh,请从http://sf.net/projects/dbh/下载。

编译安装顺序:

libxfce4util
libxfcegui4
libxfce4mcs
xfce-mcs-manager
所有其他模块(在安装任何面板插件(panel plugin)之前请确认面板(xfce4 panel)组件本身已经安装)。
在编译安装了一个库之后,请执行 ldconfig。此前可能需要将 /usr/local 添加到 /etc/ld.so.conf。

此外还必须保证pkgconfig能找到需要的库,为此,PKG_CONFIG_PATH必须已经设定。例如:

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig  

编译安装一个模块只是在该模块目录里简单的执行下列命令:

./configure && make && make install

如果有错误发生,请试着用./autogen.sh 替代./configure。这种情况下,你的系统应该已经装了automake,autoconf和libtool(一般Linux发行版都已安装)。如果这样还不行,请向xfce的邮件列表报告这个情况: [email protected].



返回顶上


XFce 4的运行
使用startxfce4启动一个XFce会话;包括主面板,窗口管理器和桌面背景管理器,并运行所有在~/Desktop/Autostart/里的应用程序或应用程序连接。

要定制startxfce的动作,只要把${sysconfdir}/xfce4/xinitrc拷贝到用户主目录的 ~/.xfce4/目录下,然后做相应的修改。如果是从源代码安装的XFce 4, ${sysconfdir} 默认指向 /usr/local/etc; 二进制安装版则是 /etc。

或者,也可以使用完全自定义的~/.xinitrc文件或~/.xsession文件,后者为使用图形登陆界面的用户使用。

设置管理器(xfce-mcs-manager)和窗口管理器用‘守护进程’的方式启动以保证他们运行于后台,所以不许要在他们的命令后面添加'&'符号。对于xfwm4加上--daemon参数即可。

xfce-mcs-manager
xfwm4 --daemon
xftaskbar4 &
xfdesktop &
exec xfce4-panel

在'exec xfce4-panel'之前添加其他你需要运行的程序,注意加上 '&'以保证程序运行在后台(你的程序能自动以后台方式运行的情况除外)。

如需要一个安全的测试环境,那么这个脚本可以启动一个运行XFce 4的Xnest会话:

#!/bin/bash

Xnest :1 -name "Xfce4" +kb -ac &

export DISPLAY=:1

xsetroot -display :1 -solid darkblue &
xfce-mcs-manager
xfwm4 --daemon
xftaskbar4 &
xfdesktop &
exec xfce4-panel

感谢Xavier Maillard提供上述脚本。



XFce 4 FAQ :
这部分内容还在整理中……

1. 我的打印机不能在xfprint4下正常工作该怎么办?
2. 能提供xfprint4的快速使用指南吗?
3. 怎么开启Xinerama支持?
4. 什么是“使用启动时提示”选项?
5. 我通常通过在选中的两个文件上右击鼠标在弹出的菜单中选择删除来删除他们,在xffm中我无法这样做!为什么?
6. 为什么没又选项使得能不带任何窗口修饰的启动一个应用程序或是让该程序窗口位于所有其他程序窗口之上或是让该程序不出现在任务条上?
7. 从一个桌面切换到另一个桌面时,焦点经常停留在主面板上,如何避免这种情况?
8. 如何设定xfdesktop左击弹出菜单的内容?
9. How do I change keyboard shortcuts in XFce 4?
10. I've installed gtk-xfce-engine-2, but the themes do not appear in the "user interface" settings dialog. Why ?
11. I've noticed that some system tray icons do not appear in the panel/taskbar notification area, why?
12. Is it possible to change the icon used by the iconbox for a given application?
13. How do I disable the taskbar ?
14. I've installed a plugin for the panel, but the indicators don't use different colors. What can I do?
15. Is there a session manager available for XFce 4.0 ?
16. The left-click to get the menu on the title bar menu button seems a little slow. How do I change that?
17. I want to use XFCE in a corporate environment and don't let users to modify their menu.

1. 我的PostScript打印机不能在xfprint4下正常工作该怎么办?
要使用PostScript打印机你的系统需要安装a2ps 和 psutils 。

2. 能提供xfprint4的快速使用指南吗?
这个就是啦:
- 启动xfprint-manager(打印管理器)(在终端通过命令,或按主面板的打印管理器图标或是点击xffm文件管理器的“文件”菜单之“打印设置”菜单项)。
- 点击“打印机”菜单,点击子菜单“添加打印机”,这时会跳出一个对话框。
- 在“别名”框内输入你想要的打印机的名字。
- 在“系统名字”框内输入使用该打印机的系统命令(通常是‘lpr’或‘lp’)。
- 选择你的打印机类型(PostScript或line),然后单击“确定”按钮。
- 接下来你就可以把要打印的文件拖放到打印机控制器或通过命令 “xfprint4 文件名” 打印。

3. 怎么开启Xinerama支持?
要得到Xinerama的支持,在编译libxfcegui4必须这样配置 ./configure --enable-xinerama, 然后重新编译和安装整个XFce 4桌面环境(至少要重新安装xfwm4,xfce-utils和xfce4)。

如果你使用的是XFree86,情况经常是这样的,只有静态的libXinerama库。这将使你的XFce4不能使用Xinerama。所以,要自己创建动态的Xinerama库,用root用户使用如下命令的做法。
cd /usr/X11R6/lib
ld --whole-archive -share -o libXinerama.so.1 libXinerama.a
ln -s libXinerama.so.1 libXinerama.so
之后重新编译和安装整个XFce4桌面环境。

此外,libXxf86misc通常也只有静态库。这将引起键盘插件的安装问题(使用Xinerama)。所以要得到动态的Xxf86misc库,还是用root用户,执行如下命令:
cd /usr/X11R6/lib
ld --whole-archive -share -o libXxf86misc.so.1 libXxf86misc.a
ln -s libXxf86misc.so.1 libXxf86misc.so
之后,需要重新编译和安装键盘插件并重启xfce-mcs-manager。

4. 什么是“使用启动时提示”选项?
选择该选项的情况下,窗口管理器会在程序加载过程中显示一个沙漏。当然你必须安装了启动时提示库,通常的发行版很可能已经包含了该库。这个选项功能只被一些比较新的程序支持(如使用gtk2.x和qt3.x的应用程序)。
请注意该API还没有最后定版,因此XFce 4只保证支持该库的0.5版本。

5. 我通常通过在选中的两个文件上右击鼠标在弹出的菜单中选择删除来删除他们,在xffm中我无法这样做!为什么?
你在当前最后选定文件上右击鼠标之时请务必同时按住CTRL键!这样可以选定最后选择的文件并弹出一个菜单。你也可以使用delete键或主菜单上或工具栏上的相应功能。

6. 为什么没又选项使得能不带任何窗口修饰的启动一个应用程序或是让该程序窗口位于所有其他程序窗口之上或是让该程序不出现在任务条上?
xfwm4不提供也不会提供可以绕过应用程序所必需要的功能的特殊功能。应用程序应该能在使用标准的窗口管理器标准的基础上实现这种功能。此外,在应用程序中实现这种功能将会使用于任何窗口管理器,一个比较好的例子就是Gkrellm2的实现。

7. 从一个桌面切换到另一个桌面时,焦点经常停留在主面板上,如何避免这种情况?
不要在通过单击面板切换桌面,请使用鼠标滚轮或键盘(Ctrl+Alt+Right和Ctrl+Alt+Left), 否则使用任务条上的桌面切换器,这样该桌面上最后获得焦点的程序会还是为当前焦点所在程序。

8.如何设定xfdesktop左击弹出菜单的内容?
可以复制 $sysconfdir/xfce4/menu.xml到~/.xfce4/menu.xml然后手工编辑该拷贝。menu.xml使用UTF-8编码,需使用能处理UTF-8编码的编辑器或工具显示和编辑。可以用 Menumaker,用Python写的菜单生成器,现在已经支持XFCE4了。

9. How do I change keyboard shortcuts in XFce 4?
Although xfwm4 was not designed as a general keyboard handling application you can define 10 keyboard shortcuts.
If you need more consider using a specialized application like xbindkeys.

This is how to create a personal key theme :

$ mkdir -p ~/.themes/xfwm4/custom.keys/
$ cp /usr/local/share/xfwm4/themes/default.keys/keythemerc ~/.themes/xfwm4/custom.keys/
$ ${EDITOR} ~/.themes/xfwm4/custom.keys/keythemerc

Then open the window manager settings dialog, go to the 'keyboard and focus' tab and choose your new key theme.

Note: The location of the default theme depends on your installation prefix. The example shows the default when building from source.

10. I've installed gtk-xfce-engine-2, but the themes do not appear in the "user interface" settings dialog. Why ?
The gtk-xfce-engine-2 package has to be installed using same prefix than Gtk2 itself. When installed from sources, the engine is, by default, installed in /usr/local, while Gtk2 is often installed in /usr. Just install gtk-xfce-engine-2 again using ./configure --prefix=/usr, and the themes will hopefully become available.

11. I've noticed that some system tray icons do not appear in the panel/taskbar notification area, why?
The system tray of XFce 4 understands only the freedesktop systray standard protocol, which some applications do not use yet.

12. Is it possible to change the icon used by the iconbox for a given application?
It's not possible. This setting has to be managed by the application itself.

13. How do I disable the taskbar?
Just don't run it at startup. Comment out the xftaskbar4& line in your $sysconfdir/etc/xfce4/xinitrc or ~/.xfce4/xinitrc.

14. I've installed a plugin for the panel, but the indicators don't use different colors. What can I do?
First, try another Gtk theme, since some themes override the color. If it doesn't solve the problem, you probably have an old ~/.gtkrc-2.0 : remove it and try again.

15. Is there a session manager available for XFce 4.0 ?
A session manager is available in CVS. Its name is xfce4-session. It is not part of the XFce 4.0 first stable release because it is still under development. So be warned : it's alpha code !
xfce4-session saves opened applications, in order to restore them at their place when you restart XFce. Moreover it allows you to use the (hidden by default) "quit" item of the xfdesktop root menu to quit the current session. Some applications require a running smproxy to be managed by xfce4-session.

To download xfce4-session from CVS, install cvs then type in a terminal :
cvs -d:pserver:[email protected]:/cvsroot/xfce co xfce4/xfce4-session

16. The left-click to get the menu on the title bar menu button seems a little slow. How do I change that?
The left-button single-click menu button display speed is linked to the double click speed. If one wants the menu to appear quicker, just change the double click speed in the XFce 4 Settings Manager Mouse properties to be faster. Or, one can right click on the title bar to get the menu displayed almost instantly without adjusting the double-click speed. The menu will display both ways.

17. I want to use XFCE in a corporate environment and don't let users to modify their menu.
You can do this by setting an environment variable named XFCE_DISABLE_USER_CONFIG before you start the xfce panel.
回复

使用道具 举报

发表于 2004-2-17 12:51:32 | 显示全部楼层
用工具条就可以了。
添加起来也很方便的
回复

使用道具 举报

发表于 2004-2-17 13:04:01 | 显示全部楼层
刚在linuxsir.org的翻译小组上提了一下, 看有没人能翻译xfce 的在线文档!

http://freewill.linuxsir.org/cgi-bin/wiki/moin.cgi/_c1_f4_d1_d4

我现在多数时间使用freebsd, openbsd, 而且同时管理linuxsir.org的bsd版, 而这边多数问题是关于red hat等方面, 所以我很少回答, 请大家多包涵! 我做完手头的工作会为大家多弄几篇文章看看!
回复

使用道具 举报

发表于 2004-2-20 10:25:14 | 显示全部楼层
不知有没兄弟愿意参加翻译 xfce 文档?

可在上贴的地址上报名!
回复

使用道具 举报

发表于 2004-2-20 19:10:23 | 显示全部楼层
还有哪些没有翻译?
回复

使用道具 举报

发表于 2004-2-20 20:57:58 | 显示全部楼层
才开始准备立项目! 人多几天就搞掂!
回复

使用道具 举报

发表于 2004-2-21 12:31:57 | 显示全部楼层
那个留言板怎么用?
回复

使用道具 举报

发表于 2004-2-21 15:31:52 | 显示全部楼层
点最下面那个  EditText  那个链接, 会进入一个编辑状态, 只写自己的留言, 不要删除别人的留言, 写完后 save page.
回复

使用道具 举报

发表于 2004-2-25 10:02:55 | 显示全部楼层

Re: XFCE 文档翻译! 欢迎热爱XFCE的兄弟参加!

[quote:808ca8af6f="rocky"]
可惜没有类似gnome的那种main menu
用起来不是太习惯,找了很久也没有找到相关的plugin
如果哪位朋友找到了或实现了,请告诉一声
[/quote]

可以用menumaker自动生成一个,然后根据需要修改
http://menumaker.sourceforge.net/

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

 楼主| 发表于 2004-3-4 21:25:18 | 显示全部楼层
i left here for a long time.
and my topic title has been changed.
tell you the truth, XFCE is really good, no, wanderful toy.
everything in it become faster.
now i am in my nightmare,
because i have to do my work in M$ OS.
i am really want to take some job in XFCE
but i have no time for my love system.
i am glade to know chinese XFCE will be on her way!
/// sorry, i cannot input chinese now.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-4-26 00:04 , Processed in 0.082605 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表