Andre Broers’ personal blog

February 20, 2008

Install sun jdk 6 on ubuntu gutsy

Filed under: java, linux, ubuntu — Tags: , , — broersa @ 1:33 pm

Use the following to install the sun java developers kit on ubuntu gutsy:

sudo apt-get install sun-java6-jdk sun-java6-plugin sun-java6-fonts
sudo update-java-alternatives –set java-6-sun

February 18, 2008

Install Wine in Ubuntu Gutsy

Filed under: linux, ubuntu — Tags: , , — broersa @ 8:11 pm

[update]

I think this this blog item is outdated and there is another way to install wine. Please “google” to another installation instruction.

[/update] 

 

First add the repository to ubuntu:

sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/gutsy-winehq.list

Than add the key:

wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

Than update the repository:

sudo apt-get update

Than install wine:

sudo apt-get install wine

Install the medibuntu repository

Filed under: linux, ubuntu — broersa @ 7:47 pm

 I copied a snipped from the medibuntu website to explain what it is and how to add the repository to the sources.list. See this link to get the whole page:

https://help.ubuntu.com/community/Medibuntu

Introduction

[WWW] Medibuntu (Multimedia, Entertainment & Distractions In Ubuntu) is a repository of packages that cannot be included into the Ubuntu distribution for legal reasons (copyright, license, patent, etc).

Some of these packages include the [WWW] libdvdcss package from [WWW] VideoLAN and the external binary codecs package (commonly known as w32codecs) used by [WWW] MPlayer and [WWW] xine.

Install in Gutsy

  • Ubuntu 7.10 “Gutsy Gibbon”:
    sudo wget http://www.medibuntu.org/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/medibuntu.list
  • Then, add the GPG Key:
    wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update

Ubuntu Gutsy Radeon Dual Head

Filed under: linux, ubuntu — broersa @ 7:31 pm

I have a radeon 7000 ve card with two lcd monitors with a resolution of 1024×768. To get them working in Gutsy I added the following Virtual line in the Screen section of my /etc/X11/xorg.conf:

Section "Screen"
        Identifier      "Default Screen"
        Device          "ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE]"
        Monitor         "C384FA-M"
        DefaultDepth    24
        SubSection "Display"
                Virtual         2048 768
                Modes           "1024x768" "800x600" "640x640"
        EndSubSection
EndSection

After a logout / login I give the command:

xrandr --output DVI-0 --right-of VGA-0

Now the display is in dual head mode. Because the total display size of the radeon7000/ve card is smaller than the 2048×768 virtual desktop the right side of the desktop isn’t refreshed. I had a work around by opening a permanent firefox browser on my right monitor.

When you put the xrandr statement in the .profile the dual head is always enabled when you log on.

Blog at WordPress.com.