April 02nd 2007 Posted in
How To
Initial Setup
1. Install base Edgy install.
2. After install, open the sources file:
Code:
sudo gedit /etc/apt/sources.list
And uncomment all entries that begin with “deb http” or “deb-src” except for the CD ROM, make sure it’s commented out
3. Next update by entering the following, twice.
Code:
sudo apt-get update
4. Now open your Software Sources in: SYSTEM > ADMINISTRATION > SOFTWARE SOURCES
and make sure all the boxes under “Downloadable from the Internet” are checked. Click “CLOSE” and then “RELOAD”
5. Go to: SYSTEM > ADMINISTRATION > UPDATE MANAGER
and first click “CHECK”, then click “INSTALL UPDATES”
After your updates are finished installing, REBOOT
After a reboot, create a working folder for the following install steps. Just a way to keep your system clean. Go into your home folder and create a folder called “install” or something. Now open terminal and go to that directory before you proceed.
6. Now you’re going to get some tools for future steps.
Code:
sudo apt-get install build-essential module-assistant build-essential fakeroot dh-make debconf libstdc++5 linux-headers-$(uname -r)
7. Update again, just in case, and install any updates that appear in the top right corner.
Code:
sudo apt-get update
Now you’ll install your wireless device
1. Clean your system by entering the following code. Disregard errors as you may not have ndiswrapper.
Code:
sudo rmmod ndiswrapper
sudo apt-get remove ndiswrapper-utils
2. Download driver files. Unzip them.
Code:
wget http://www.jrdw.com/linux/wireless/bcmdrivers.tar.gz
tar -xzvf bcmdrivers.tar.gz
3. Download latest Ndiswrapper, I’ve included th latest at the time of this edit. Unzip it.
Code:
wget http://superb-east.dl.sourceforge.net/sourceforge/ndiswrapper/ndiswrapper-1.38.tar.gz
tar -xzvf ndiswrapper-1.38.tar.gz
4. Blacklist the bcm43xx firmware drivers that come default.
Code:
sudo gedit /etc/modprobe.d/blacklist
Add the following line to the end of the file and save your changes:
blacklist bcm43xx
REBOOT NOW
After a reboot open a terminal and go to the same folder you created earlier.
5. Get into the ndiswrapper folder it created when you unzipped it. The [TAB] represents using your TAB key to finish the name of the folder.
Code:
cd ndis[TAB]
6. Begin the install process. Do the following multiple times, until you see some error about no files or directories or something.
Code:
sudo make uninstall
7. Main install process
Code:
sudo make
sudo make install
8. Installing drivers, first in your terminal go to the folder that unzipped earlier with the driver files in it.
Code:
cd bcm[TAB]
sudo ndiswrapper -i bcmwl5.inf
sudo ndiswrapper -l
NOTE: If you don’t see a message that says driver present, hardware detected, you may have problems.
Code:
sudo ndiswrapper -m
sudo modprobe ndiswrapper
9. Test your wireless. You may need to reboot, however a reboot won’t suffice, you’ll need to shutdown and then restart. Your WIFI light should illuminate when successful.
Code:
sudo iwlist scanning
10. Before trying to connect to a network I recommend installing Wifi-Radar to make your life simpler. It manages your wireless networks. To install and use it open Synaptic Package Manager and search for “wifi-radar”. Install it and then run it from the Applications–>Internet menu.
Now time to install ATI drivers!
1. Disable Composite Extension - In Ubuntu Edgy the Composite extension is enabled by default, however, fglrx does not yet support Composite with DRI. In order to disable Composite you have to edit the xorg.conf file:
Code:
sudo gedit /etc/X11/xorg.conf
and add these lines at the end of the file:
Section "Extensions"
Option "Composite" "Disable"
EndSection
Section "ServerFlags"
Option "AIGLX" "off"
EndSection
2. Update System & Install the 8.28.8 ATI Driver in the Ubuntu Repos. For instructions on installing the proprietary drivers, click here: http://wiki.cchtml.com/index.php/Ubu…allation_Guide
Code:
sudo apt-get update
sudo apt-get install linux-restricted-modules-$(uname -r) #Okay if it is already installed
sudo apt-get install xorg-driver-fglrx
3. Now you can run:
Code:
sudo aticonfig --initial
4. Run the ATI config script
Code:
sudo aticonfig --overlay-type=Xv
5. Reboot and you should see your new res. Login and type “fglrxinfo” at the terminal to see if the ATI driver is loaded. Check for direct rendering by typing:
Code:
glxinfo | grep direct
You should now be able to install Beryl without problems.
BERYL:
1. Add Beryl repositories.
Code:
sudo gedit /etc/apt/sources.list
Add the following to the end:
deb http://ubuntu.beryl-project.org/ edgy main
2. Add the key
Code:
wget -q http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add -
3. Now update
Code:
sudo apt-get update
4. Install XGL Server
Code:
sudo apt-get install xserver-xgl
5. Install Beryl and Themes
Code:
sudo apt-get install beryl emerald-themes
Next you’ll configure it. I configure mine to have a separate session so that’s what I’ll cover here.
6. Now create a startup script
Code:
sudo gedit /usr/local/bin/startxgl.sh
I added the following into the empty file just created:
Code:
#!/bin/sh
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)"
xauth -i add :1 . "$cookie"
exec dbus-launch --exit-with-session gnome-session
7. Make the script executable
Code:
sudo chmod a+x /usr/local/bin/startxgl.sh
8. Create a Login Entry
Code:
sudo mkdir -p /etc/X11/sessions
sudo gedit /etc/X11/sessions/xgl.desktop
Now add the following and save it:
[Desktop Entry]
Encoding=UTF-8
Name=Xgl
Exec=/usr/local/bin/startxgl.sh
Icon=
Type=Application
9. If it tests okay, add a script to load it automatically every time the Xgl session is loaded. Create the script and paste the following into it as so:
Code:
sudo gedit /usr/local/bin/start_beryl.sh
Now add the following and save the changes:
Code:
#!/bin/bash
#
# Start beryl-manager within gnome-session
#
if (( `ps -A -o comm | grep -c '^Xgl$'` == "1" )); then
DISPLAY=:1 beryl-manager
DISPLAY=:1 beryl-xgl
else echo "${0}: Error: beryl-manager not launched. Xgl not running?"
fi
10. Now make the script executable:
Code:
sudo chmod a+x /usr/local/bin/start_beryl.sh
11. Next add the following to the “Startup Programs” inside Programs>Preferences>Sessions
/usr/local/bin/start_beryl.sh
12. Done! You can reboot and enjoy! Troubleshooting: http://wiki.beryl-project.org/wiki/I…_Edgy_with_XGL
UPDATE: Thanks to nachotronics, the following will fix your screen brightness buttons!
1. Using a terminal, open the blacklist file again:
Code:
sudo gedit /etc/modprobe.d/blacklist
Add the following to the end:
blacklist video
2. Reboot and it should work! Thanks Nacho!
Here’s a little extra fun stuff you can add:
Fan and temp control
1. sudo apt-get install i8kutils gkrellm gkrellm-i8k
2. sudo modprobe i8k force=1
3. sudo gedit /etc/modules
4. add the following line to the end of the file: i8k force=1
5. go to System > Preferences > Sessions > Startup Programs
6. Click ADD and put the command: gkrellm
Now you will see the GKrellm utility load at startup and you can then configure your fan thresholds, etc.
Configure front panel buttons, etc.
1. System > Preferences > Keyboard Shortcuts
2. Choose custom actions for your special keys, click an action and press the key!
Automatix **For Edgy and Dapper**
1. Visit www.GetAutomatix.com and follow instructions for your distro.
Optional things I did:
Citrix (I use this so it’s optional)
**For Edgy and Dapper**
1. Download 9.0 client for linux here: http://www.jrdw.com/linux/citrix/linuxx86.tar.gz
2. Download and install libmotif3 here: http://www.jrdw.com/linux/citrix/lib…untu2_i386.deb
3. Extract citrix to folder and go to folder with terminal
4. sudo ./setupwfc
5. Install default with Y for all answers. Be careful during the License acceptance as it defaults to reject so if you hold the ENTER key it will exit the install!
6. 3 to quit install
VMWare
**For Edgy and Dapper**
1. Download vmware server tar.gz file from: http://download3.vmware.com/software…1-29996.tar.gz
2. place downloaded file somewhere in a folder in your home folder and using terminal CD into that folder
3. tar xvzf VMware-server-1.0.1-29996.tar.gz
4. cd into the folder it creates
5. sudo ./vmware-install.pl
2. Obtain a free serial at www.vmware.com
IEs4Linux
**For Edgy and Dapper**
1. First get Wine using Automatix.
2. Open a terminal
3. If you haven’t, uncomment the Universe lines in sources.list
4. sudo apt-get install cabextract
5. CD into the directory you want to download the ie4linux package to
6. wget http://www.tatanka.com.br/ies4linux/…-latest.tar.gz
7. tar zxvf ies4linux-latest.tar.gz
8. cd ies4linux-*
9. ./ies4linux
10. You’ll be prompted which IE you want and other options, most options just leave default.
Done and have fun!