Skip to main content

Posts

Showing posts from 2009

Ubuntu 9.10 Karmic Desktop HOWTO

This tutorial describes how to configure a Ubuntu/Kubuntu Desktop for daily use.


Ubuntu Tweak
Ubuntu Tweak is a GUI tool that allows you to add software sources and applications very easily.
# add key
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com FE85409EEAB40ECCB65740816AF0E1940624A220
# add this software source
deb http://ppa.launchpad.net/tualatrix/ubuntu karmic main
# install
sudo apt-get update
sudo apt-get install ubuntu-tweak




You can use Ubuntu Tweak to install the following software sources, on the "Third Party Sources":
MedibuntuOperaGoogle
Don't install other "Third Party sources" from the ubuntu tweak list, since all of them are already included in medibuntu or ubuntu karmic sofware sources, press refresh button to reload the indexes you just added.
You can now move to the "Add/Remove" section and select:
AudacityAvant Window NavigatorAvidemuxCairo-DockGoogleearthGnome Partition Editor
gtk-recordMyDesktopInkscape
KinoLastfmMiro Internet TV
O…

Ubuntu 3D Desktop Howto

Small video tutorial to enabled 3D effects and add a application dock bar in Ubuntu Karmic 9.10.




This video was created in Ubuntu 9.10 Alpha, using a ATI RS480 built-in gfx chip-set on a Shuttle ST20G5. It's kind of slow because the recording software brings the frame-rate to it's knees, on this box. Otherwise it is fast enough when I'm not recording the desktop to a video.

This also works without problems with Intel or nvidia video chip-sets in Ubuntu 9.10. But for nvidia you need to install the proprietary drivers first.

How to make nouveau driver work in Ubuntu 9.10

Using the reverse engineered open source nouveau driver for nvidia cards.
Update to the latest, and install the driver.


sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

# install the driver
# this will emove your proprietary nvidia driver, in case you have that installed.
sudo apt-get install xserver-xorg-video-nouveau


# gedit /etc/X11/xorg.conf

Section "Screen"
Identifier "Default Screen"
SubSection "Display"
Virtual 3840 3840
EndSubSection
EndSection

Section "Device"
Identifier "Default Device"
Driver "nouveau"
Option "NoLogo" "True"
EndSection


Run this to make sure it's working
glxinfo | grep direct
direct rendering: YesNote:
This driver does not support 3D. If you need 3D support you still have to install the nvidia proprietary driver.

Ubuntu 9.10 3D Desktop

Ubuntu Jaunty 9.10 alpha3 with the latest updates as of 2 AugUG 2009.
compiz, emerald and cairo-dock are enabled.




The demo was recorded with gtk-recordmydesktop and uploaded to you-tube without changes.

I used a Thinkpad T400s with a Intel gfx chipset. The cool thing here is that 3D support on the Intel gfx chipset looks to be fixed and works great with compiz on the new Ubuntu 9.10

The video was recorded at 1440x900 15fps with the apps running at same time, it looks a bit sloppy, but on the screen of the t400s it looked very fluid and smooth.

I think gtk-recordmydesktop was not able to grab all the video glory from the video card.

Sound sharing with ubuntu

Ubuntu has a supper cool feature for people who would like to share the sound between multiple machines.
This allows for a computer connected to a HI FI sound system, to share this system with several other machines.

It's also super simple to setup.


Install:
sudo apt-get install paprefs paman padevchooserOn the machine in where you want the sound system to be available to other machines
goto System->Preferences->PulseAudio Preferences and change it to look like the picture



On the system where you want where you want the sounds applications to run
Install:
sudo apt-get install paprefs paman padevchoosergoto System->Preferences->PulseAudio Preferences and change it to look like the picture


Also go to Applications->Sound & Video->Pulse Device Chooser, this will add a icon to your task bar. Check the "Start applet on session login", for future reboots.





Final step is just to select the server where you want the sound to be played.
Just on the click Pulse Audio app…

VirtualBox can't operate in VMX root mode

If you get this message from VirtualBox:

VirtualBox can't operate in VMX root mode. Please disable the KVM kernel extension, recompile your
type:
sudo modprobe -r kvm_intel
Run VirtualBox again that should fix the problem.

Transparent VirtualBox window with compiz manager

If you getting a transparent VirtualBox window, you can start VBox like this to fix the problem:
env XLIB_SKIP_ARGB_VISUALS=1 VirtualBox
references:
https://bugs.launchpad.net/ubuntu/+source/virtualbox-ose/+bug/292588
http://ubuntuforums.org/showthread.php?t=1160178

Ubuntu Jaunty unstable with video ATI chipset

If you have a laptop or machine with a ATI video card and you install Ubuntu Jaunty, you probably notice it's not stable and X freezes very frequently.

This fixed my problem:

# http://temp.minimum.se/mesa_with_fixed_ati_bug/
# 32 bit
wget http://temp.minimum.se/mesa_with_fixed_ati_bug/libgl1-mesa-dri_7.4-0ubuntu3_i386.deb
wget http://temp.minimum.se/mesa_with_fixed_ati_bug/libgl1-mesa-glx_7.4-0ubuntu3_i386.deb
sudo dpkg -i libgl1-mesa-dri_7.4-0ubuntu3_i386.deb libgl1-mesa-glx_7.4-0ubuntu3_i386.deb

# for 64 bit
# replace i386 with amd64

Reference:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/368049

Ubuntu Jaunty 9.04 Netbook Remix on Dell mini HOWTO

This tutorial describes how to configure a Ubuntu (UNR) Desktop for daily use, using a Dell Mini 9.

Grab the ubuntu img file from ubuntu web site
http://www.ubuntu.com/getubuntu/download-netbook
Get to a Ubuntu desktop and install
sudo apt-get install usb-imagewriter
goto Applications-> Accessories -> ImageWritter


Write the image to the your USB drive (bigger than 1Gb).

Unplug the USB key, plug it in your Dell Mini 9, reboot, press 0 to select to boot from the USB drive.

Just follow instructions and perform regular installation. After install is done, install all updates.



Run this to fix a problematic bug on desktop-switcher,

# Run these commands:

wget http://launchpadlibrarian.net/26020903/desktop-switcher_0.4.6_i386.deb
sudo dpkg -i desktop-switcher_0.4.6_i386.deb

In case you already corrupted your desktop config, you can one of these commands to fix the problem, depending on what mode of desktop you are running:

If you are in Ubuntu Netbook Remix dekstop mode:
gconftool-2 --set /desktop/gn…

Ubuntu Jaunty 9.04 Skype sounds problems

The default sound settings on Ubuntu Jaunty worked fine for playback, but I was having problems with recording on Skype and with my headphones output.
After playing with the defaults, I changed the settings to make my Skype and headphones jack work.


Below are the settings that work fine for a Thinkpad T62


Below are the settings that work fine for a Thinkpad T61


Below are the settings that work fine for a Thinkpad T60


Below are the settings that work fine for a Thinkpad R50


Your millage may vary, but I would start to set everything to "Pulse". And if in case Skype does not work, change "Input Source" on Volume Control and pick the right Mic, if that does not work the next step would be to change Skype "sound in" setting to the first ALSA device on the list, as the example on T60.

Some Folks reported huge latency with pulse audio on skype calls, here is a config for skype using only ALSA on a T61:, this should fix the latency problem. You might need to execute &qu…

Ubuntu 9.04 Jaunty Desktop HOWTO

This tutorial describes how to configure a Ubuntu/Kubuntu Desktop for daily use.


Ubuntu Tweak
Ubuntu Tweak is a GUI tool that allows you to add software sources and applications very easily.
# add key
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com FE85409EEAB40ECCB65740816AF0E1940624A220
# add this software source
deb http://ppa.launchpad.net/tualatrix/ubuntu jaunty main
# install
sudo apt-get update
sudo apt-get install ubuntu-tweak



You can use Ubuntu Tweak to install the following software sources, on the "Third Party Sources":
MedibuntuOperaGoogle
Don't install other "Third Party sources" from the ubuntu tweak list, since all of them are already included in medibuntu or ubuntu jaunty sofware sources.
You can now move to the "Add/Remove" section and select:
AudacityAvant Window NavigatorAvidemuxCairo-DockGoogleearthGnome Partition Editor
gtk-recordMyDesktopInkscape
KinoLastfmMiro Internet TV
Opera
SkypeUbuntu restricted extras - multimedia codecs, java…

Ubuntu 9.04 3D Desktop

Ubuntu Jaunty 9.04 alpha6 with the latest updates as of 21 March 2009.
Compiz and cairo-dock are enabled.
The demo was recorded with gtk-recordmydesktop and upload to youtube without changes.

I used a Thinkpad T61p with a nvidia card.

The video was recorded at 1920x1200 15fps at the same time as all those apps where running, sometimes it looks a bit sloppy, but on the screen of the t61p it looked very fluid and smooth.

I think gtk-recordmydesktop was probably not able to grab all the video glory from the video card.


How to flash the Bios using a DOS USB Flash drive

This tutorial might delete your hard-drive or usb-drive data, in case you do not understand how partitions work, avoid this tutorial


Install gparted and run:
sudo apt-get install gparted
sudo gparted

- Select the the USB drive, delete all partitions and click apply.

- Create a new FAT16 partition, apply


- Format FAT16 partition, apply



- Set boot flag, set label to DOS




After all this is done, you should have a pen with a DOS partition. The drive I'm using is assigned to sdf1 partition.

sudo apt-get install dosemu

# some usb drives mount on the same drive as the cdrom, so we are changing it to be safe
sudo gedit /etc/dosemu/freedos/autoexec.bat



Create this file /home/youruser/dosemurc
Put the correct partition used in gparted section:

$_hdimage = "drives/* /dev/sdf1"

Save the file and execute

sudo dosemu -f /home/youruser/dosemurc

# as you can see the flash drive was assign to drive E under DOS

Type
> Z:
to change to the drive that contains the OS binaries and then type
> sys E:
to copy a…

LVM tools in Ubuntu Jaunty

Jaunty comes with 2 useful tools to setup LVM. KVPM is a KDE based tool, but works fine in gnome. System-config-lvm is gnome based tool that also works well is KDE. KVPM was easier to use. Both tools still require the creation of the lvm partitions before using the tools.

KVPM Disk view


KVPM volume group view


System-config-lvm main view

How to get 4GB in Ubuntu 32 bit

In case you added 4Gb or more of memory to your ubuntu 32 bit OS, you will notice that "free -m" only reports the OS using around 3.3Gb. This is behavior is related to technical hardware issue of old 32 Bit systems.

The 64 bit version of Ubuntu does not have this problem, it will detect the full memory.
But if you running 32 bit version, there is a work around to make all 4Gb available to the OS.

- Install the PAE enabled Kernel

sudo apt-get update
sudo sudo apt-get install linux-headers-server linux-image-server linux-server

- Reboot

sudo reboot