Skip to main content

Ubuntu 8.04 Hardy 64 bit - Desktop HOWTO



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

Multimedia Codecs, Java, Flash

Java sun plugin does not work on Ubuntu 64 bits after running this comand, but fonts and codecs should work fine. Flash works but crashes frequently.

# java , fonts, codecs
# The ubuntu-restricted-extras
sudo apt-get install ubuntu-restricted-extras

Configure repositories for extra Applications

On Ubuntu goto to System->Administration->Software Sources->Third Party Software and select "Add". You can also edit /etc/apt/sources.list and add lines to the end of the file.

# Canonical repository (VMWare and DB2 Express)
# enable this on the Software Sources Management tool (tab third-party) from ubuntu or kubuntu menu

# Google Linux repository, add both to get picasa
deb http://dl.google.com/linux/deb/ stable non-free
deb http://dl.google.com/linux/deb/ testing non-free

# Miro - The free open-source video platform.
deb http://ftp.osuosl.org/pub/pculture.org/miro/linux/repositories/ubuntu hardy/

# Virtual Box
deb http://www.virtualbox.org/debian gutsy non-free

# MediaTomb
deb http://apt.mediatomb.cc/ hardy main

# medibuntu repositories
# run this command to add this repository
sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list

To get the GPG key for Picasa and Virtual Box
# Google Key
wget -q -O - http://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

# Virtual Box Key
wget -q http://www.virtualbox.org/debian/innotek.asc -O- | sudo apt-key add -

# medibuntu Key
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update

# Mediatomb Key
wget http://apt.mediatomb.cc/key.asc -O- -q | sudo apt-key add -






Java, Skype 2.0, Acrobat, GoogleEarth, Proprietary and Others


For installation execute the following commands:

# Update the index of your repositories
sudo apt-get update

# google earth, virtualbox, libdvdcss2, codecs, skype, ffmpeg, amarok, lastfm, acrobat
sudo apt-get install googleearth libdvdcss2 ffmpeg non-free-codecs skype miro amarok libtunepimp5-mp3 lastfm acroread acroread-escript acroread-plugins


For other very usefull apps:


# Amarok media player, Lastfm music cleint
sudo apt-get install amarok libtunepimp5-mp3 lastfm

# The kubuntu-restricted-extras (install this one if you use kubuntu)
sudo apt-get install kubuntu-restricted-extras

# Mediatomb UPnP MediaServer with a nice web user interface. Share your media with PS3 and XBOX devices.
sudo apt-get install mediatomb

# Acrobat Reader
sudo apt-get install acroread acroread-escript acroread-plugins

# Google Earth, Picasa
sudo apt-get install googleearth picasa

# Skype
sudo apt-get install skype

# Miro - The free open-source video platform.
sudo apt-get install miro

# KDE download manager
sudo apt-get install kget

# OSS voip, softphone, video conference tools
sudo apt-get install ekiga wengophone twinkle

# image and publishing tools
sudo apt-get install krita scribus inkscape karbon

# Kexi is considered as a long awaited Open Source competitor for Microsoft Access, Filemaker and Oracle Forms.
# Kivio is an easy to use diagramming and flowcharting application
# KPlato is a project management application.
sudo apt-get install kplato kivio kexi

### Advanced usage

# visual partition editor
sudo apt-get install gparted

# To change the default JVM run the command below and select the relevant version.
# If you only have one JVM this step should not be required.
sudo update-alternatives --config java

# remote login using ssh
sudo apt-get install sshfs openssh-server



VirtualBox - running windows and other linux inside ubuntu

# Fast Virtual Machine (faster than VMWare) with a simple interface
sudo apt-get install virtualbox

If you need to connect USB devices directly to your VMs, you will need to change some settings.

  • Add your user to the group "usbusers". You can use the tool available on System->Administration->Users And Groups
  • Edit the script `/etc/init.d/mountdevsubfs.sh and delete # symbol before the four lines around line 40 (Magic to make /proc/bus/usb work).
Then execute
Code:
/etc/init.d/mountdevsubfs.sh start
Add this to your /etc/fstab
Code:
# virtualbox usb patch
none /proc/bus/usb usbfs devgid=46,devmode=664 0 0
Check "USB devices" section of your
/etc/udev/rules.d/40-permissions.rules
file. This section should look as here
Code:

# USB serial converters
SUBSYSTEM=="usb_device", MODE="0664", GOTO="usb_serial_start"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664", GOTO="usb_serial_start"


Restart, enjoy

These instructions are based on this forum post. but where adjust for ubuntu 8.04 64 bits.

Popular posts from this blog

Ubuntu 17.10 review. Running with hidpi, touch screen and wayland support

Ubuntu GNOME 17.10

I think Ubuntu GNOME is the best flavor of Ubuntu if you are running in HiDPI mode 3200x1800 with a touchscreen. All screen captured images are at HiDPI resolution.

Since I prefer the standard gnome-session experience, I installed the "gnome-session" package and rebooted the system. And on the cog icon next to the sign in button, select the "GNOME" instead of ''Ubuntu" option before clicking the sign in button.

sudo apt install gnome-session

Touchpad
I increased the speed, enabled "tap to click", "two finger scrooling". and on gnome-tweak enabled click method to "fingers".
Touch support Ubuntu gnome support for touchscreen is pretty good on the desktop.
Chromium browser supports touch screen very well and much better than Firefox without any plug-ins.
In my Yoga pro 2, the windows key on the screen panel works as the windows key on the keyboard.
Screen rotation is supported on the new gnome and disables …

Ubuntu 17.10 running on Lenovo Yoga 920 with HiDPI and touch screen support

I resized the windows partiton to the minimun necessary (100G), disabled secure boot and I also remove bitlocker key encryption on windows drive, this allows Ubuntu to see that partition and allow windows to boot with secure boot disabled, without complaning.

This makes everything go easier if you want to keep windows arround on the same disk and dual boot with Ubuntu, you should do this it helps a lot. Even after you disable this, you can re-enable it back, both secure boot and bitlocker key encryption.

Before installing on windows updates resize your windows partition, installing all windows updates will not alow you to gain as much space as possible. After resizing the windows partition to the minimium size you want, install all windows updates, bios and driver updates.

I upgraded all windows updates to the latest version and all drivers to the latest version and upgraded the bios on windows to the latest version before installing Ubuntu, I don't think this makes much differenc…

Using a socks proxy

#ssh to a machine on the network you need access and start # a local socks server ssh -D 9999 httpserver.blah.com
# setweb browser proxy to proxy: localhost:9999
# To use other apps with socks install sudo apt-get install tsocks
# Change config file to (remove everything else) /etc/tsocks.conf server = 127.0.0.1 server_port = 9999
# ssh to a machine tsocks ssh -X httpserver.blah.com
# eclipse to a machine tsocks eclipse
reference: using tsocks for tunneling cmds lines and everything else http://www.plenz.com/tunnel-everything