国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統(tǒng) > Linux > 正文

ubuntu上安裝beryl

2024-08-28 00:17:49
字體:
供稿:網(wǎng)友
這一段安裝過程是從beryl上的wiki摘來的,經(jīng)過作者的整理,保留了基本的安裝步驟。實(shí)驗(yàn)系統(tǒng)為Ubuntu7.04, 顯卡nVidia.

Install Beryl on Ubuntu Feisty with nVidia

Ubuntu

1. Open a terminal. Execute:

sudo echo "Beryl & nVidia installation script for ubuntu Ubuntu Feisty"

(this one line requires your password so that, the next text paste is uninterrupted.)

2. Copy and paste all the text into the Terminal in one action. [Select all the text. Then middle button click in terminal]

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup.beryl-script
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup.beryl-script
echo "deb http://ubuntu.beryl-project.org feisty main
deb-src http://ubuntu.beryl-project.org feisty main" | sudo tee -a /etc/apt/sources.list
wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get -y install beryl beryl-manager emerald-themes
sudo nvidia-xconfig --add-argb-glx-visuals
sudo cp /usr/share/applications/beryl-manager.desktop /etc/xdg/autostart/beryl-manager.desktop
cp /usr/share/applications/beryl-manager.desktop ~/Desktop/beryl-manager.desktop
echo -e "Logout now and then press /e[0;31mCTRL+ALT+BACKSPACE/e[0m to restart xorg"
echo "Installation completed !"


3. Now Logout and then press [CTRL+ALT+BACKSPACE] to restart xorg

DONE

WARNING: THIS HAS BEEN KNOWN TO BREAK FEISTY IN SOME INSTANCES, BREAKING THE WHOLE GUI SYSTEM AND NOT ALLOWING THE UBUNTU GUI TO LOAD SINCE NVIDIA CANNOT LOAD THE KERNEL MODULE

LOAD THE NVIDIA DRIVERS SEPARATELY --THEN --Execute the script above. Some repositories have out-of-date nVidia drivers and the script above is really hard to get undone.
[edit]
Removing the autostart

System > Preferences > Sessions

Click on the "Startup Programs" tab and select "beryl-manager" then subsequently click "disable."

Open a terminal. Execute:

sudo rm /etc/xdg/autostart/beryl-manager.desktop

echo "[Desktop Entry]
Encoding=UTF-8
Name=Beryl Manager
GenericName=3D Window Manager
Comment=Beryl Manager daemon
Icon=/usr/share/icons/hicolor/scalable/apps/beryl-manager.svg
Exec=beryl-manager
Terminal=false
Type=Application
Categories=GTK;GNOME;Application;Utility;
StartupNotify=true
X-Ubuntu-Gettext-Domain=beryl-manager" | sudo tee /usr/share/applications/beryl-manager.desktop


gedit ./beryl-install-script

Now, copy and paste the following script into the window:

#!/bin/bash
red='/e[0;31m'
bred='/e[1;31m'
nocolor='/e[0m'
willrestartx="n"
dist="feisty"
echo -e "${bred}.----------------------------.${nocolor}"
echo -e "${bred}|${red} Beryl/nVidia install. ${bred}|${nocolor}"
echo -e "${bred}'----------------------------'${nocolor}"
if [ `whoami` != "root" ]; then
echo -e "${bred}You must run this script as root.${nocolor}";
else
echo -e "${nocolor}Starting install${bred}...${nocolor}";
發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 乐平市| 巩义市| 丰顺县| 吴堡县| 芜湖县| 高雄县| 贺州市| 密山市| 尚义县| 东阿县| 南华县| 兴义市| 荥阳市| 尖扎县| 贵阳市| 蒙自县| 日喀则市| 乐业县| 福鼎市| 前郭尔| 金秀| 江达县| 苏尼特左旗| 雷山县| 靖江市| 浦东新区| 海伦市| 南川市| 绥芬河市| 保定市| 西贡区| 金堂县| 库尔勒市| 尉氏县| 剑川县| 金华市| 安乡县| 荆州市| 大连市| 黄浦区| 麟游县|