看到很多人無法順利安裝 Elements 特效,我想提供我的作法給大家參考,我的 Compiz 版本是 0.7.4 ,但我想在0.7.6 也可行。 我的作法雖然較繁複,但成功率比較高,且容易移除。
Elements plugin 包含了Autumn,Bubbles,Fireflies,Snow 和 Stars 等五種特效。安裝方法如下:
1. 先在個人資料夾下建立目錄 Compiz-Plugins (其它目錄名稱也可)
$ mkdir ~/Compiz-Plugins
2. 下載附上的 elements.tar.gz 並移至目錄 Compiz-Plugins ,然後執行以下指令解壓縮 elements.tar.gz ,會產生目錄 elements 。
$ cd ~/Compiz-Plugins
$ tar -zvxf elements.tar.gz
3. 安裝必要的相依套件
$ sudo apt-get install compiz-bcop compiz-dev libtool build-essential libxcomposite-dev libpng12-dev libsm-dev libxrandr-dev libxdamage-dev libxinerama-dev libgl1-mesa-dev libglu1-mesa-dev autoconf intltool xsltproc
4. 安裝 Elements Plugin
$ cd ~/Compiz-Plugins/elements
$ make clean
$ make
$ sudo make install
5. 重新登入讓Compiz套用變更
6. 安裝成功後即可在CompizConfig Settings Manager (CCSM) 的 Extras 中看到 Elements ,每個特效需自行設定啟動組合鍵(Toggle)。
7. 另檢查是否已勾選 CompizConfig Settings Manager (CCSM) > Image Loading 中的 Svg ,如此才能啟動使用 svg 格式圖片的 Fireflies 特效。
8. 移除 Elements Plugin
$ sudo rm -r ~/.compiz/metadata/elements.xml
$ sudo rm -r ~/.compiz/plugins/libelements.so
安裝 Compiz Elements Plugin
- chunchengch
- 帖子: 181
- 注册时间: 2007-07-02 0:03
安裝 Compiz Elements Plugin
- 附件
-
- elements.tar.gz
- (112.72 KiB) 已下载 239 次
上次由 chunchengch 在 2008-08-01 1:40,总共编辑 4 次。
- laowu2141
- 帖子: 530
- 注册时间: 2007-06-19 11:25
- 系统: kubuntu 13.04
- 来自: 北京
- 联系:
-
- 帖子: 339
- 注册时间: 2007-11-13 18:40
chunchengch搂住
我在执行到$ compiz --replace & 时出现错误
root@xxxxx-desktop:~/Compiz-Plugins/elements# compiz --replace &
Checking for Xgl: xvinfo: Unable to open display
[1] 16526
root@xxxxx-desktop:~/Compiz-Plugins/elements# not present.
xset: unable to open display ""
xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log
Detected PCI ID for VGA: 01:00.0 0300: 10de:0393 (rev a1) (prog-if 00 [VGA controller])
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: not present.
aborting and using fallback: /usr/bin/metacity
Window manager error: Unable to open X display
[1]+ Exit 1 compiz --replace
请问这个错误怎么解决?
root@xxxxx-desktop:~/Compiz-Plugins/elements# compiz --replace &
Checking for Xgl: xvinfo: Unable to open display
[1] 16526
root@xxxxx-desktop:~/Compiz-Plugins/elements# not present.
xset: unable to open display ""
xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log
Detected PCI ID for VGA: 01:00.0 0300: 10de:0393 (rev a1) (prog-if 00 [VGA controller])
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: not present.
aborting and using fallback: /usr/bin/metacity
Window manager error: Unable to open X display
[1]+ Exit 1 compiz --replace
请问这个错误怎么解决?
- chunchengch
- 帖子: 181
- 注册时间: 2007-07-02 0:03
Re: chunchengch摟住
如果確定安裝完成,試試不用執行此指令,直接重新登入,然後按你設定的啟動組合鍵(Toggle),應該即能呈現特效。airmy 写了:我在執行到$ compiz --replace & 時出現錯誤
root@xxxxx-desktop:~/Compiz-Plugins/elements# compiz --replace &
Checking for Xgl: xvinfo: Unable to open display
[1] 16526
root@xxxxx-desktop:~/Compiz-Plugins/elements# not present.
xset: unable to open display ""
xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log
Detected PCI ID for VGA: 01:00.0 0300: 10de:0393 (rev a1) (prog-if 00 [VGA controller])
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: not present.
aborting and using fallback: /usr/bin/metacity
Window manager error: Unable to open X display
[1]+ Exit 1 compiz --replace
請問這個錯誤怎麼解決?
- gccq
- 帖子: 202
- 注册时间: 2008-01-04 23:31
- 来自: 重庆
-
- 帖子: 339
- 注册时间: 2007-11-13 18:40
- chunchengch
- 帖子: 181
- 注册时间: 2007-07-02 0:03
- laowu2141
- 帖子: 530
- 注册时间: 2007-06-19 11:25
- 系统: kubuntu 13.04
- 来自: 北京
- 联系: