Motivation:Thunar 最新的版本是1.5.1(见 )而目前(2012-11-08) archlinux 在 extra 中的 thunar 版本是 1.4.0-4(用 pacman -S thunar 安装). 我用的时候有一些小问题. 不知道怎么解决. 希望大家知道的话回复一下, 谢了! 作为试验, 我将试一下自己编译安装是否可行. 主要的步骤是怎样的? 是否需要先卸载 thunar? 【答: 自行编译安装要考虑的问题比较多, 使用yaourt thunar 会自动处理这些问题.】
主要的问题是:
- 不能创建文档, 每次在thunar 的文件管理器中点击右键, 鼠标移动到创建文档上时, CPU似乎在疯狂运转, 此时只能响应鼠标的移动, 其他根本没有反应. 过了十几秒钟后又好了. 不过就是不能创建新文件.
【答: 更新到 1.5.1 后, 鼠标移动到
创建文档时, 虽然还是会出现上面图中所示情景, 但当鼠标移到右边时, 便会出现模板中的文件或目录, 而且反应速度很快. 算是解决了问题.】
2. Thunar 有很多插件的.
(参见 )
- thunar-actions-plugin
- thunar-archive-plugin
- thunar-media-tags-plugin
- thunar-shares-plugin
- thunar-svn-plugin
- thunar-thumbnailers
- thunar-vcs-plugin
- thunar-volman
- thunar-wallpaper-plugin
但是有很多插件 pacman 找不到, 即使将 /etc/pacman.conf 中的软件仓库 community-test 也加上, 也只有下面几个:
- [haifeng@arch bin]$ sudo pacman -Ss thunar
- extra/thunar 1.4.0-4 (xfce4) [已安装: 1.4.0-2]
- Modern file manager for Xfce
- extra/thunar-archive-plugin 0.3.0-2 (xfce4-goodies) [已安装]
- Create and deflate archives in thunar
- extra/thunar-media-tags-plugin 0.2.0-2 (xfce4-goodies) [已安装]
- Adds special features for media files to the Thunar File Manager
- extra/thunar-volman 0.8.0-1 (xfce4) [已安装]
- Automatic management of removeable devices in Thunar
【答, 这些插件可以在 AUX 中找到, 请使用 yaourt 安装.】
现在我们来尝试一下吧, 大不了重新安装 xfce4 .
主要步骤是:
/*要编译 thunar, 必须安装 xfce 的开发工具, 即 xfce4-dev-tools 这个软件包. */sudo pacman -S xfce4-dev-tools/* thunar 1.5.1 依赖 exo-0.9.0 */yaourt exo
/* 使用 yaourt 安装 thunar-1.5.1 */
yaourt thunar=====================================================================
以下是详细过程, 备记.
要编译 thunar, 必须安装 xfce 的开发工具, 即 xfce4-dev-tools 这个软件包.
- [haifeng@arch thunar-1.5.1]$ sudo pacman -S xfce4-dev-tools
- 正在解决依赖关系...
- 正在查找内部冲突...
- 目标 (5): gnome-doc-utils-0.20.10-1 gtk-doc-1.18-1 intltool-0.50.2-1
- rarian-0.8.1-2 xfce4-dev-tools-4.10.0-1
- 全部下载大小:0.64 MiB
- 全部安装大小:6.50 MiB
- 进行安装吗? [Y/n] y
- :: 正在从 extra 软件库获取软件包...
- rarian-0.8.1-2-x86_64 94.3 KiB 316K/s 00:00 [######################] 100%
- gnome-doc-utils-0.2... 302.0 KiB 267K/s 00:01 [######################] 100%
- gtk-doc-1.18-1-any 204.8 KiB 365K/s 00:01 [######################] 100%
- intltool-0.50.2-1-any 38.2 KiB 259K/s 00:00 [######################] 100%
- xfce4-dev-tools-4.1... 15.7 KiB 47.1K/s 00:00 [######################] 100%
- (5/5) 正在检查软件包完整性 [######################] 100%
- (5/5) 正在加载软件包文件 [######################] 100%
- (5/5) 正在检查文件冲突 [######################] 100%
- (5/5) 正在检查可用硬盘空间 [######################] 100%
- (1/5) 正在安装 rarian [######################] 100%
- (2/5) 正在安装 gnome-doc-utils [######################] 100%
- (3/5) 正在安装 gtk-doc [######################] 100%
- gtk-doc 的可选依赖
- jade: SGML support
- (4/5) 正在安装 intltool [######################] 100%
- (5/5) 正在安装 xfce4-dev-tools [######################] 100%
如果自行编译 thunar-1.5.1, 则运行 authgen.sh, 会发现其依赖 exo-0.9.0
- [haifeng@arch thunar-1.5.1]$ ./autogen.sh
- ......
- checking for exo-1 >= 0.9.0... found, but 0.8.0
- *** The required package exo-1 was found on your system,
- *** but the installed version (0.8.0) is too old.
- *** Please upgrade exo-1 to atleast version 0.9.0, or adjust
- *** the PKG_CONFIG_PATH environment variable if you installed
- *** the new version of the package in a nonstandard prefix so
- *** pkg-config is able to find it.
因此得先安装 exo-0.9.0
- [haifeng@arch thunar-1.5.1]$ yaourt exo
- 1 extra/exo 0.8.0-1 (xfce4) [installed]
- Extensions to Xfce by os-cillation
- 2 community/libexosip2 3.6.0-1
- A library that hides the complexity of using SIP for multimedia session
- establishement
- 3 aur/exo-alt 0.3.101-2 (Out of Date) (38)
- Extensions to Xfce by os-cillation with ALT Linux patchset.
- 4 aur/exo-dev 0.9.0-1 (1)
- Extensions to Xfce by os-cillation (Dev Ver)
- 5 aur/exo-devel 0.9.0-1 (40)
- Extensions to Xfce by os-cillation (Development Version)
- 6 aur/exo-eject 0.3.101-3 (Out of Date) (8)
- Extensions to Xfce by os-cillation with hal ejection patch
- 7 aur/exo-git 20121106-1 (27)
- Extensions to Xfce by os-cillation.
- 8 aur/exo-mountopt 0.3.101-2 (Out of Date) (27)
- Extensions to Xfce by os-cillation (+ mount options patch)
- 9 aur/exodus-bin 12.8.14.1-1 (1)
- This is an alternative viewer for SecondLife. SecondLife is a 3-D virtual
- world entirely built and owned by its residents.
- 10 aur/exodusii 5.21-1 (2)
- EXODUS II is a model format developed to store and retrieve transient data
- for finite element analyses.
- 11 aur/exomizer 2.0.4-1 (0)
- 8bit platforms software compressor
- 12 aur/exonerate 2.2.0-1 (0)
- A general purpose tool for biological sequence comparison
- 13 aur/gnome-exotic-theme 1.6.1-1 (5)
- Exotic theme for GNOME
- 14 aur/gnome-theme-exotic 1.6.1-2 (84)
- Exotic theme for Gnome.
- 15 aur/lufis 0.3-1 (15)
- Hybrid userspace filesystem framework supporting many exotic filesystems
- 16 aur/slim-theme-exotic 1.1.1-1 (18)
- Slim theme for gnome-theme-exotic.
- 17 aur/twofing 20120121-1 (1)
- twofing is a daemon which runs in the background and recognizes two-finger
- gestures performed on a touchscreen and converts them into mouse and
- keyboard events. This is the edition with patched udev rules for the
- WeTab/ExoPC.
- 18 aur/twofing-wetab 20120121-1 (1)
- twofing is a daemon which runs in the background and recognizes two-finger
- gestures performed on a touchscreen and converts them into mouse and
- keyboard events. This is the edition with patched udev rules for the
- WeTab/ExoPC.
- ==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
- ==> -------------------------------------------------------
- ==> 5
- ...
- ...
- ==> 完成创建:exo-devel 0.9.0-1 (2012年 11月 09日 星期五 20:31:40 CST)
- ==> Continue installing exo-devel ? [Y/n]
- ==> [v]iew package contents [c]heck package with namcap
- ==> ---------------------------------------------------
- ==> y
- 正在加载软件包...
- 正在解决依赖关系...
- 正在查找内部冲突...
- :: exo-devel 与 exo 有冲突。删除 exo 吗? [y/N] y
- 目标 (2): exo-0.8.0-1 [removal] exo-devel-0.9.0-1
- 全部安装大小:3.20 MiB
- 净更新大小:0.05 MiB
- 进行安装吗? [Y/n] y
- (1/1) 正在检查软件包完整性 [######################] 100%
- (1/1) 正在加载软件包文件 [######################] 100%
- (1/1) 正在检查文件冲突 [######################] 100%
- (2/2) 正在检查可用硬盘空间 [######################] 100%
- (1/1) 正在删除 exo [######################] 100%
- (1/1) 正在安装 exo-devel [######################] 100%
- exo-devel 的可选依赖
- perl-uri: for mail-compose helper script
- glibc-2.16.0-5-x86_64.pkg.tar.tar: description file is missing
- glibc-2.16.0-5-x86_64.pkg.tar.tar: file list is missing
- [haifeng@arch local]$ yaourt xfce4-panel-devel
- 1 aur/xfce4-panel-devel 4.10.0-1 (31)
- Panel for the Xfce desktop environment (Development Version)
- ==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
- ==> -------------------------------------------------------
- ==> 1
- ...
- ==> 完成创建:xfce4-panel-devel 4.10.0-1 (2012年 11月 09日 星期五 21:07:37 CST)
- ==> Continue installing xfce4-panel-devel ? [Y/n]
- ==> [v]iew package contents [c]heck package with namcap
- ==> ---------------------------------------------------
- ==> y
- [sudo] password for haifeng:
- 正在加载软件包...
- 正在解决依赖关系...
- 正在查找内部冲突...
- :: xfce4-panel-devel 与 xfce4-panel 有冲突。删除 xfce4-panel 吗? [y/N]
- 目标 (2): xfce4-panel-4.10.0-1 [removal] xfce4-panel-devel-4.10.0-1
- 全部安装大小:3.13 MiB
- 净更新大小:-0.01 MiB
- 进行安装吗? [Y/n] y
- (1/1) 正在检查软件包完整性 [######################] 100%
- (1/1) 正在加载软件包文件 [######################] 100%
- (1/1) 正在检查文件冲突 [######################] 100%
- (2/2) 正在检查可用硬盘空间 [######################] 100%
- (1/1) 正在删除 xfce4-panel [######################] 100%
- (1/1) 正在安装 xfce4-panel-devel [######################] 100%
- glibc-2.16.0-5-x86_64.pkg.tar.tar: description file is missing
- glibc-2.16.0-5-x86_64.pkg.tar.tar: file list is missing
阅读(3310) | 评论(0) | 转发(0) |