国产探花免费观看_亚洲丰满少妇自慰呻吟_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ā)表
主站蜘蛛池模板: 中牟县| 资阳市| 阳信县| 汉中市| 保德县| 石首市| 抚宁县| 江华| 阳江市| 桐乡市| 西城区| 仁寿县| 盐城市| 府谷县| 北辰区| 德兴市| 宽城| 象州县| 北海市| 革吉县| 阳城县| 青浦区| 天长市| 霞浦县| 东至县| 宣化县| 鄂温| 长泰县| 朔州市| 资源县| 寿光市| 安新县| 都昌县| 永济市| 曲松县| 沧源| 凤山市| 清苑县| 津南区| 平南县| 如皋市|