XFce 4 安装指南
更新时间:2023-10-23 14:47:01 阅读量: 综合文库 文档下载
- 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:anoncvs@cvs.xfce.org:/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的邮件列表报告这个情况: xfce4-dev@moongroup.com .
返回顶上
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 \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左击弹出菜单的内容?
Array. 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 \
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了。
Array. 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 \
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) \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:anoncvs@cvs.xfce.org:/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. 用工具条就可以了。 添加起来也很方便的
正在阅读:
XFce 4 安装指南10-23
关于大学生征兵的主题班会记录08-25
福建省莆田一中08-09学年高二上学期第一学段考试(化学理)12-02
《清稗类钞》着述类 性理类 经术类05-19
一建《建设工程经济》详细目录04-11
2019年整理纯化水系统验证方案11-17
2019年绿化租赁合同协议书范本12-23
教学无痕,润物细无声-2019年教育文档01-06
2019年整理--五公祠导游词12-13
- 二年级下册音乐测试题
- 浙江财经大学中微题库答案
- 小升初常考古诗填空练习(80首古诗 含答案)
- 全国导基 第十章 中国旅游诗词、楹联、游记鉴赏 练习题 及答案
- 华师大版七年级科学(生物)下册5.1《种群和群落》导学案(含答
- 人教版七年级语文上册练习:《我的老师》课时训练(附答案)-精
- NOIP2015浙江省复赛普及组成绩
- 长虹公司的应收账款管理
- 快递行业同业竞争对手调查报告
- “十三五”重点项目-牦牛骨髓粉项目节能评估报告(节能专篇)
- 钢结构生产制造部各岗位职责及任职要求
- 对H企业应收账款管理与核算现状的调查报告
- 中国化学会第24届全国高中学生化学竞赛(省级赛区)试题、标准答
- 本科成本会计
- “众包”创新模式在我国潜在的风险的探讨
- 语文基础全套复习资料(有他足够了
- 中外合作出版合同(1)
- STM32-GPIO及EXTI初始化详解
- 2018年中国控制技术市场现状调研与发展前景分析报告目录
- 大学物理试题第四章 冲量和动量
- 安装
- 指南
- XFce
- “到案经过”的缺陷及其弥补
- 管理数据分析
- 技术标准规范考试题库
- 初中高IADC井控习题集答案
- 审计中发现的问题自查自纠情况报告
- 最新数据结构作业题套计算机专业
- 精通魔鬼班2012计算机复习资料
- 施工组织设计(1)
- 喷射清洗机设备一级保养(日常点检)记录表
- 运筹学课程设计 公交路线司机和乘务人员的分配方案
- 6标施工日志
- 宏观经济学 复习题(1)
- 《税务会计学》习题作业
- 高中英语人教版高二选修6练习:unit - 4 - global - warming - 4-1 - word版含解析
- 五年级上思想品德导学案第13课让科技造福人类 - 未来版
- NIPm-500数据采集传输仪使用说明书
- 校园吉尼斯活动策划书
- 物流外包的动因及风险管理策略研究
- 青建管字23号关于贯彻落实房屋建筑工程责任主体项目负责人质量终身制的通知(1)
- 函数项级数的一致收敛性精品