Installing ath5k driver on Ubuntu 8.10 Intrepid Ibex
The ath5k driver was removed from Ibex's 2.6.27 kernel, and moved to the backport modules. To get wireless to work (at least for the 701), you need to install an additional package. You will need wired internet access for the following steps.
sudo apt-get update
sudo apt-get install linux-backports-modules-intrepid-generic
sudo modprobe ath5k
EeePC 900s and 701s require "blacklist ath_pci" added to "/etc/modprobe.d/blacklist" to enable wireless.
sudo -s
echo blacklist ath_pci >> /etc/modprobe.d/blacklist
After this you can reboot and your wireless should work.
Monday, March 9, 2009
Sunday, March 8, 2009
How To Re-Install Installed Packages From Previous Installation of Ubuntu
You can run the following commands to copy your installed app list and then import it to the new install. It won't carry over the personal settings but it will bring over the installed programs. The downside is that if there are apps that you have installed but don't really want on a clean install they will be present as well.
Create list and copy it somewhere that won't be reformatted during the new install:
Code:
dpkg --get-selections | grep -v 'deinstall' > ~/Desktop/installed_packages.txt
Copy installed_packages.txt to the new install Desktop, then run:
Code:
sudo dpkg --clear-selections
sudo dpkg --set-selections < ~/Desktop/installed_packages.txt
sudo apt-get update
sudo apt-get dselect-upgrade
Create list and copy it somewhere that won't be reformatted during the new install:
Code:
dpkg --get-selections | grep -v 'deinstall' > ~/Desktop/installed_packages.txt
Copy installed_packages.txt to the new install Desktop, then run:
Code:
sudo dpkg --clear-selections
sudo dpkg --set-selections < ~/Desktop/installed_packages.txt
sudo apt-get update
sudo apt-get dselect-upgrade
Friday, March 6, 2009
What Are The Main Directories In Linux
Here, only the most important directories in the system will be presented.
/bin is a place for most commonly used terminal commands, like ls, mount, rm, etc.
/boot contains files needed to start up the system, including the Linux kernel, a RAM disk image and bootloader configuration files.
/dev contains all device files, which are not regular files but instead refer to various hardware devices on the system, including hard drives.
/etc contains system-global configuration files, which affect the system's behavior for all users.
/home home sweet home, this is the place for users' home directories.
/lib contains very important dynamic libraries and kernel modules
/media is intended as a mount point for external devices, such as hard drives or removable media (floppies, CDs, DVDs).
/mnt is also a place for mount points, but dedicated specifically to "temporarily mounted" devices, such as network filesystems.
/opt can be used to store addition software for your system, which is not handled by the package manager.
/proc is a virtual filesystem that provides a mechanism for kernel to send information to processes.
/root is the superuser's home directory, not in /home/ to allow for booting the system even if /home/ is not available.
/sbin contains important administrative commands that should generally only be employed by the superuser.
/srv can contain data directories of services such as HTTP (/srv/www/) or FTP.
/sys is a virtual filesystem that can be accessed to set or obtain information about the kernel's view of the system.
/tmp is a place for temporary files used by applications.
/usr contains the majority of user utilities and applications, and partly replicates the root directory structure, containing for instance, among others, /usr/bin/ and /usr/lib.
/var is dedicated variable data that potentially changes rapidly; a notable directory it contains is /var/log where system log files are kept.
/bin is a place for most commonly used terminal commands, like ls, mount, rm, etc.
/boot contains files needed to start up the system, including the Linux kernel, a RAM disk image and bootloader configuration files.
/dev contains all device files, which are not regular files but instead refer to various hardware devices on the system, including hard drives.
/etc contains system-global configuration files, which affect the system's behavior for all users.
/home home sweet home, this is the place for users' home directories.
/lib contains very important dynamic libraries and kernel modules
/media is intended as a mount point for external devices, such as hard drives or removable media (floppies, CDs, DVDs).
/mnt is also a place for mount points, but dedicated specifically to "temporarily mounted" devices, such as network filesystems.
/opt can be used to store addition software for your system, which is not handled by the package manager.
/proc is a virtual filesystem that provides a mechanism for kernel to send information to processes.
/root is the superuser's home directory, not in /home/ to allow for booting the system even if /home/ is not available.
/sbin contains important administrative commands that should generally only be employed by the superuser.
/srv can contain data directories of services such as HTTP (/srv/www/) or FTP.
/sys is a virtual filesystem that can be accessed to set or obtain information about the kernel's view of the system.
/tmp is a place for temporary files used by applications.
/usr contains the majority of user utilities and applications, and partly replicates the root directory structure, containing for instance, among others, /usr/bin/ and /usr/lib.
/var is dedicated variable data that potentially changes rapidly; a notable directory it contains is /var/log where system log files are kept.
Wednesday, March 4, 2009
How To Zoom In To Your Desktop Or Applications Using Compiz
If you got a small screen like an Eeepc or other netbooks, you might want to Zoom-in so you could read the texts you're reading.
The first thing to do is enable Compiz:
1.Right-click on the desktop, then Change Desktop Background->Desktop Effects, and set it to Extra Effects.
2.Install Compiz Config Settings Manager via Add/Remove... in Applications.
3.After you have it installed, open it and check Enhanced Zoom Desktop in Accessibility.
To Zoom In:
1.Press the Winkey and hold, while you use the scroll wheel to zoom-in and out.
2.That's it!
The first thing to do is enable Compiz:
1.Right-click on the desktop, then Change Desktop Background->Desktop Effects, and set it to Extra Effects.
2.Install Compiz Config Settings Manager via Add/Remove... in Applications.
3.After you have it installed, open it and check Enhanced Zoom Desktop in Accessibility.
To Zoom In:
1.Press the Winkey and hold, while you use the scroll wheel to zoom-in and out.
2.That's it!
Tuesday, March 3, 2009
Setting up a new computer to boot Windows and Ubuntu
Rule for for dual-boot. Windows gets first dibs.
Anyway, this is for when crap happens with Grub and you want at least Windows back.
1.If XP, boot up with Windows CD. Get to the C:\ prompt. Type "fdisk /mbr" without quotes.
2.If Vista, boot up with Windows CD. Get to C:\ prompt. Type "bootrec /fixmbr" without quotes.
http://www.tprthai.net/bootmgr.htm
Anyway, this is for when crap happens with Grub and you want at least Windows back.
1.If XP, boot up with Windows CD. Get to the C:\ prompt. Type "fdisk /mbr" without quotes.
2.If Vista, boot up with Windows CD. Get to C:\ prompt. Type "bootrec /fixmbr" without quotes.
http://www.tprthai.net/bootmgr.htm
Monday, March 2, 2009
How To Put Title Bar On Blender (Windowed) Using Intel Video Card
Using the previous method won't work under Intel graphics card. The workaround is to use the default windows manager Metacity, without the effects.
1.First, create a text file with this one line:
metacity --replace | blender -w -p 0 0 x y (x is height, and y is length) Eg. 1024 and 768.
2.Save the file as “blender-metacity”.
3.Edit Gnome Menu. Right-click on the menu, then Edit Menus.
4.Click on Graphics, then on the right, Blender (windowed).
5.Click Properties.
6.On the command box click Browse, then choose the text file you created.
7.That's it!
Now, you can create an application launcher on the panel to enable compiz:
1.Right-click on the panel, then Add to panel.
2.Click Custom Application Launcher.
3.Name it Compiz.
4.Enter this to the command box: compiz --replace.
5.Choose an Appropriate icon as desired by clicking the icon on the top-left.
6.Click Ok. That's it!
1.First, create a text file with this one line:
metacity --replace | blender -w -p 0 0 x y (x is height, and y is length) Eg. 1024 and 768.
2.Save the file as “blender-metacity”.
3.Edit Gnome Menu. Right-click on the menu, then Edit Menus.
4.Click on Graphics, then on the right, Blender (windowed).
5.Click Properties.
6.On the command box click Browse, then choose the text file you created.
7.That's it!
Now, you can create an application launcher on the panel to enable compiz:
1.Right-click on the panel, then Add to panel.
2.Click Custom Application Launcher.
3.Name it Compiz.
4.Enter this to the command box: compiz --replace.
5.Choose an Appropriate icon as desired by clicking the icon on the top-left.
6.Click Ok. That's it!
Sunday, March 1, 2009
How To Put Title Bar On Blender (Windowed) Using Nvidia Video Card
1.Edit Gnome Menu. Right-click on the menu, then Edit Menus.
2.Click on Graphics, then on the right, Blender (windowed).
3.Click Properties.
4.On the command box enter: blender -w -p 0 0 x y (where x is height and y is length).
2.Click on Graphics, then on the right, Blender (windowed).
3.Click Properties.
4.On the command box enter: blender -w -p 0 0 x y (where x is height and y is length).
Subscribe to:
Posts (Atom)