debian4.0testing安装compiz
作者:你给的未来丶我不要 | 来源:互联网 | 2017-11-09 19:09
debian4.0testing安装compiz--Linux发行版技术-Debian信息,下面是详情阅读。
以前一直想弄BERYL,但是怎么也装不上!运行不了!嘿嘿,这回出了8.42,装上驱动就能启用COMPIZ了,嘿嘿!驱动安装是按UBUNTU里的方法装的!本版那个文章试了,我的机子上不行!
记录一下,以免忘记!
1、以前装过驱动的,要删除掉!
我的内核是2.6.22 ,前两天在2.6.18内核上装过驱动,升级系弘以后,ATI的3D驱动没了,我在新立得了把跟fglrx有关的包全删了,重启以后进不了X,把原来备份的xorg.conf文件弄到/etc/X11下就好了。
2、准备编译环境 :
apt-get install module-assistant build-essential fakeroot dh-make debhelper debconf libstdc++5 linux-headers-$
2、下载驱动,生成DEB包!
./ati-driver-installer-8.42.3-x86.x86_64 --buildpkg Debian/testing
3、安装:
dpkg -i *.deb
4、编译内核模块并安装:
module-assistant prepare
module-assistant update
module-assistant build fglrx
cd /usr/src
dpkg -i fglrx-kernel-*
depmod -a
5、修改xorg.conf
gedit /etc/X11/xorg.conf
把Driver 里面的ati换成 fglrx
加上两段:
Section "Extensions"
Option "Composite" "1"
EndSection
Section "ServerLayout"
Option "AIGLX" "on"
EndSection
6、要重启一下下!运行命令:fglrxinfo
# fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon 9550 / X1050 Series
OpenGL version string: 2.0.6958 Release
运行glxinfo | grep render,信息如下!
# glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: ATI Radeon 9550 / X1050 Series
有这信息就成功了!
然后就按装COMPIZ
加入源:并下载安装公钥:
deb http://download.tuxfamily.org/shames...ktopfx/stable/ ./
apt-get install compiz compiz-gnome
apt-get install compizconfig-settings-manager (这个换成ccsm了)
apt-get install compiz-fusion-*
apt-get install fusion-icon
完了以后,又重启一下下,从菜单里单击compiz fusion icon ,开始运行3D桌面!
我第一次运行没有边框,打开Emerald Theme Manager,里面己有主题,选中一个,导出 ,再在Emerald Theme Manager ,import,好了,边框就出来了,不知道是什么回事,这时再选里面主题,也可以更换了!
(没边框是xorg.conf文件的问题,缺了两行内容,看下面的xorg.conf就知道了,有下划线的)
刚学DEBIAN,照猫画虎,弄出来的!
把xorg.conf文件贴上来:
# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
EndSection
Section "Device"
Identifier "ATI Technologies Inc RV350 AS [Radeon 9550]"
Driver "fglrx"
BusID "PCI:1:0:0"
VideoRam 131072
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "XaaNoOffscreenPixmaps" (这里三行不能少,没它们就没边框)
EndSection
Section "Monitor"
Identifier "通用显示器"
Option "DPMS"
HorizSync 30-85
VertRefresh 50-160
EndSection
Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies Inc RV350 AS [Radeon 9550]"
Monitor "通用显示器"
DefaultDepth 24
SubSection "Display"
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "1"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
Option "AIGLX" "on"
EndSection
总之,是用上了compiz,好像有点不稳定。
推荐阅读
在Docker中,将主机目录挂载到容器中作为volume使用时,常常会遇到文件权限问题。这是因为容器内外的UID不同所导致的。本文介绍了解决这个问题的方法,包括使用gosu和suexec工具以及在Dockerfile中配置volume的权限。通过这些方法,可以避免在使用Docker时出现无写权限的情况。 ...
[详细]
蜡笔小新 2023-12-14 18:48:02
nsitionalENhttp:www.w3.orgTRxhtml1DTDxhtml1-transitional.dtd ...
[详细]
蜡笔小新 2023-12-13 13:30:30
本文详细介绍了在imx6ull开发板上驱动MT7601U无线网卡的方法和步骤。首先介绍了开发环境和硬件平台,然后说明了MT7601U驱动已经集成在linux内核的linux-4.x.x/drivers/net/wireless/mediatek/mt7601u文件中。接着介绍了移植mt7601u驱动的过程,包括编译内核和配置设备驱动。最后,列举了关键词和相关信息供读者参考。 ...
[详细]
蜡笔小新 2023-12-13 12:34:44
systemd-nspawn可以创建最轻量级的容器(ns的意思就是namespace),本文的实验平台是Ubuntu16.04,x86_64机器。本文的目的是:在Ubuntu中用syst ...
[详细]
蜡笔小新 2023-10-17 14:49:15
CentOS Stream是一个持续交付的Linux发行版,它在RHEL之前处于领先地位。它将具有滚动发布,即不断进行更改。CentOS将成为一个上游版本,它将具有测试补丁和更新。 ...
[详细]
蜡笔小新 2023-10-17 14:13:56
一般来说获取系统root权限是很困难的,尤其是加密系统中,但西班牙安全研究员hectormarco、ismaelripoll发现,linux系统下只需按住回车键70秒钟,就能轻 ...
[详细]
蜡笔小新 2023-10-17 11:41:36
系统安装Debian系统的安装方式和Ubuntu系统的安装方式几乎是一样的,毕竟Ubuntu系统是基于Debian的,就如同CentOS基于Redhat ...
[详细]
蜡笔小新 2023-10-16 17:32:55
腾讯云服务器系统版本怎么看?想要知道自己的腾讯云服务器系统版本是哪个,可以登录云服务器后台管理系统查看,或者使用命令行查询,如果不会操作& ...
[详细]
蜡笔小新 2023-10-16 13:44:39
主流操作系统简介子墨居士操作系统理论定义为管理计算机硬件资源,控制其他程序运行并为用户提供交互操作界面的系统软件的集合。操作系统是计算机系统的关键组成部分 ...
[详细]
蜡笔小新 2023-10-14 13:01:23
原文地址http://balau82.wordpress.com/2010/02/28/hello-world-for-bare-metal-arm-using-qemu/最开始时 ...
[详细]
蜡笔小新 2023-10-17 19:43:26
KaliLinux是世界渗透测试行业公认的优秀的网络安全审计工具集合,它可以通过对设备的探测来审计其安全性,而且功能完备,几乎包含了目前所 ...
[详细]
蜡笔小新 2023-10-17 18:39:24
记录docker概念,安装及入门日常使用Docker安装查看官方文档,在"Debian上安装Docker",其他平台在"这里查 ...
[详细]
蜡笔小新 2023-10-17 10:28:22
---恢复内容开始---pip3的安装需要对应一整套python的编译工具库,所以安装好的pip3是这个样子:inearAi:~$pip3-Vpi ...
[详细]
蜡笔小新 2023-10-17 10:09:04
阿里云服务器iis设置方法与上千种Linux桌面版本相比,Linux服务器只有可怜的十几种。但想要选对适合你的企业需要的仍然不是件容易的事情,选Linux服务器首先要 ...
[详细]
蜡笔小新 2023-10-16 16:25:05
Linux服务器我们天天打交道,特别是Linux工程师更是如此。为了保证服务器的安全与性能,我们经常需要监控服务器的一些状态,以保证工作能顺利开展。本文介绍的几个命令,不仅仅适用于 ...
[详细]
蜡笔小新 2023-10-15 13:46:12