ubuntu下3D效果的实现

首页 → Linux教程

背景:

阅读新闻

ubuntu下3D效果的实现

[日期:2007-07-13]来源:Linux公社作者:Linuxidc[字体:]

1.第一步当然是安装好显卡驱动;2.安装必须的包(将我的源列表加入到你的列表当中)sudo apt-get install xserver-xgl beryl emerald-themes3.sudo vi /usr/local/bin/startxgl.sh#!/bin/shXgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &DISPLAY=:1cookie=”$(xauth -i nextract – :0 | cut -d ‘ ‘ -f 9)”xauth -i add :1 . “$cookie”exec dbus-launch –exit-with-session gnome-session保存退出sudo vi /usr/local/bin/start_beryl.sh#!/bin/bash## Start beryl-manager within gnome-session#if (( `ps -A -o comm | grep -c ‘^Xgl$’` == “1” )); thenDISPLAY=:1 beryl-managerDISPLAY=:1 beryl-xglelse echo “${0}: Error: beryl-manager not launched. Xgl not running?”fi保存退出sudo vi /usr/share/xsessions/xgl.desktop[Desktop Entry]Encoding=UTF-8Name=GNOME with XGLComment=Exec=/usr/local/bin/startxgl.shIcon=Type=Application保存退出sudo vi /etc/xdg/autostart/beryl.desktop[Desktop Entry]Encoding=UTF-8Version=1.0Type=ApplicationTerminal=falseName[en_US]=BerylExec=/usr/local/bin/start_beryl.shIcon[en_US]=/usr/share/icons/hicolor/scalable/apps/beryl-manager.svgComment[en_US]=Beryl 3D ManagerName=BerylComment=Beryl 3D ManagerIcon=/usr/share/icons/hicolor/scalable/apps/beryl-manager.svg保存退出4.cp /etc/xdg/autostart/beryl.desktop /usr/share/applications/beryl.desktop5.chmod a+x /usr/local/bin/startxgl.shchmod a+x /usr/share/xsessions/xgl.desktopchmod a+x /usr/local/bin/start_beryl.sh6.重新启动即可。

0

Linux学习笔记分享

Linux下的日语词典(Java版)

相关资讯 Ubuntu 3D效果

图片资讯

本文评论  查看全部评论 (0)

评论声明

最新资讯

本周热门

Linux公社简介 – 广告服务 – 网站地图 – 帮助信息 – 联系我们本站(LinuxIDC)所刊载文章不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。Copyright © 2006-2011 Linux公社 All rights reserved 浙ICP备06018118号

,请让我们从容面对这离别之后的离别。

ubuntu下3D效果的实现

相关文章:

你感兴趣的文章:

标签云: