Showing posts with label flash. Show all posts
Showing posts with label flash. Show all posts

Saturday, June 26, 2010

Ubuntu 10.4 Lucid on a Lenovo Q150

The Lenovo Q150 comes Atom D510 and the nvidia Ion gfx, 2GB of ram and a 250 GB HD.

I decided to install the 32 bit version of Ubuntu Lucid since flash is more stable under 32 bit linux. I also installed:
  • ubuntu tweak
  • xbmc
  • miro
  • minitube (youtube player, faster than flash)
  • huludesktop
  • boxee
  • skype
  • cooliris
Added this repository to enabled sound thru HDMI port
I upgraded upgrade alsa packages to 1.0.23 and kernel to 2.6.35-6-generic and the nvidia drivers 256.35, using the following repositories:

deb http://ppa.launchpad.net/ricotz/unstable/ubuntu lucid main
deb-src http://ppa.launchpad.net/ricotz/unstable/ubuntu lucid main

deb http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu lucid main
deb-src http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu lucid main



After the kernel, nvidia and alsa update and a reboot, start alsamixer and unmute the S/PDIF devices on the HDA NVidia sound card.


Status with lucid out of the box:
- Basic installation from a USB key works fine.
- VGA and sound out, works fine.
- Little USB keyboard/mouse works fine.
- Dual boot with Windows 7 works fine.
- HDMI out works great, but HDMI sound does not.
- Video acceleration works great for Miro, mplayer, minitube, with nvidia drivers from lucid.

Problems I found:
- Ethernet seems to work but sometimes the Ethernet card driver does not deteced the cable, sometimed a power off cycle to fixes this.
- HDMI sounds does not work with the latest Nvidia drivers from their web site. It requires a new kernel and and the latest alsa drivers to be detected. (See my other post on ubuntu 10.10 where the HDMI sound is working)
- Flash video acceleration does not work as well as in windows, it uses 100% of all CPUs, hulu, boxee, cooliris, youtube for full-screen, you can play it without full screen, but youtube 1080p is slow even for regular size, youtube 720p works.

ForUbuntu 10.10 Maverick Alpha (see my blog post on Ubuntu 10.10 and the Q150)

Windows 7 note:
- Flash acceleration is not enough to run 1080p even on windows 7, but flash seems to use less CPU usage on windows 7 compared to lucid or maverick. Hulu, Boxee, Hulu Desktop, Amazon, Youtube video all have problems on windows, dropping frames and some times affecting sound quality when in fullscreen at 1080p.
- HDMI sound works fine on windows.
- Wireless works out of the box.
- I had to install new drivers for ethernet to work.


Thursday, April 30, 2009

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/gnome/session/required_components_list --type list --list-type=string ["windowmanager","panel"]

If you are in Ubuntu standart desktop mode:
gconftool-2 --set /desktop/gnome/session/required_components_list --type list --list-type=string ["windowmanager","panel","filemanager"]

Dell Apps

On Ubuntu goto to System->Administration->Software Sources->Third Party Software and select "Add".

# Dell airplane mode from https://launchpad.net/~opensource-subakutty/+archive/ppa/
deb http://ppa.launchpad.net/opensource-subakutty/ppa/ubuntu jaunty main # Dell aircraf-manager

For installation execute the following command:

sudo apt-get install aircraft-manager

This application is necessary to enable and disable the bluetooth and wifi networks, after installing make sure your bluetooh and wifi networks are enabled.

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":
  • Medibuntu
  • Opera
  • Google
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:
  • Audacity
  • Avant Window Navigator
  • Avidemux
  • Cairo-Dock
  • Googleearth
  • Gnome Partition Editor
  • gtk-recordMyDesktop
  • Inkscape
  • Kino
  • Lastfm
  • Miro Internet TV
  • Opera
  • Skype
  • Ubuntu restricted extras - multimedia codecs, java, flash
  • VLC media player
  • Wine
The first time you start Google Earth you need to disable atmosphere on the view menu, otherwise is to slow.

Pick any other application that you find interesting, and select apply.

Howto fix the jaunty sound config to work with Skype

Just copy the settings below to your machine

System->Preference->Sound



Volume Control, and Skype


Configure repositories for extra Applications

On Ubuntu goto to System->Administration->Software Sources->Third Party Software and select "Add".
# Canonical repository (Acrobat, Flash, VMWare and DB2 Express)
# enable this on the Software Sources Management tool (tab thir-party) from ubuntu/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

# Virtual Box
deb http://download.virtualbox.org/virtualbox/debian jaunty non-free

# medibuntu repositories
# run this command to add this repository
sudo wget http://www.medibuntu.org/sources.list.d/jaunty.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://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -

# medibuntu Key
sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

Java, Skype, Acrobat, GoogleEarth, Proprietary and Others


For installation execute the following commands:

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

# multimedia codecs, flash, java, google earth, virtualbox, libdvdcss2, codecs, skype, ffmpeg, amarok, lastfm, picasa, wine, acrobatreader, gimp, krita, kget, ksnapshot
sudo apt-get install ubuntu-restricted-extras googleearth libdvdcss2 ffmpeg non-free-codecs skype miro amarok libtunepimp5-mp3 lastfm picasa wine acroread gizmo5 lastfm gimp krita kget ksnapshot

For other very usefull apps:

# Some cool games
sudo apt-get install frozen-bubble warzone2100 chromium nexuiz
# Amarok media player, Lastfm music client
sudo apt-get install amarok libtunepimp5-mp3 lastfm

# The ubuntu-restricted-extras (installs flash, java, multimedia codecs)
sudo apt-get install ubuntu-restricted-extras

# 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.
# cat /var/log/mediatomb.log to see what url is the server running point you browser to that url to configure
sudo apt-get install mediatomb


# Acrobat Reader
sudo apt-get install acroread

# 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 twinkle gizmo5

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

# 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

Restart, enjoy

Monday, December 29, 2008

How to install Boxee in a Ubuntu 64 bit



sudo apt-get install schroot
sudo mkdir /home/chroot (or another location)
sudo mkdir /home/chroot/jaunty-32-bit (or another location)
sudo vi /etc/schroot/schroot.conf

[jaunty-32-bit]
aliases=default
description=Jaunty 32-bit
type=plain
location=/home/chroot/jaunty-32-bit
priority=3
run-setup-scripts=false
personality=linux32
groups=admin
root-users=lafa

sudo apt-get install debootstrap
sudo debootstrap --variant=buildd --arch i386 jaunty /home/chroot/jaunty-32-bit http://archive.ubuntu.com/ubuntu/

sudo mkdir /home/chroot/jaunty-32-bit/etc/etc-from-root

sudo vi /etc/fstab

# For 32-bit jaunty chroot
/home /home/chroot/jaunty-32-bit/home none rbind 0 0
/dev /home/chroot/jaunty-32-bit/dev none rbind 0 0
/etc /home/chroot/jaunty-32-bit/etc/etc-from-root none bind 0 0
/proc /home/chroot/jaunty-32-bit/proc none rbind 0 0
/media /home/chroot/jaunty-32-bit/media none rbind 0 0
/mnt /home/chroot/jaunty-32-bit/mnt none rbind 0 0
/tmp /home/chroot/jaunty-32-bit/tmp none rbind 0 0
# reboot the system
# verify that all the mounts are done after the reboot, by typing mount

sudo vi /home/chroot/jaunty-32-bit/etc/apt/sources.list

deb http://archive.ubuntu.com/ubuntu jaunty main universe restricted multiverse

# for boxee
deb http://security.ubuntu.com/ubuntu/ jaunty-security universe main multiverse restricted
deb http://archive.ubuntu.com/ubuntu jaunty-updates universe main multiverse restricted
deb http://archive.ubuntu.com/ubuntu jaunty-backports universe main multiverse restricted
# get root access, to install sudo on your new jaunty
sudo bash
schroot -p -c jaunty-32-bit
# to check you are in 32 bit type "uname -m" you should get i686
apt-get update
# install sudo
apt-get install sudo less nano vim

cd /etc

# fix passwords, and hostname
for i in group gshadow hosts hosts.allow hosts.deny passwd resolv.conf shadow; do rm $i; ln -s etc-from-root/$i $i; done

# fix sudoers
cp etc-from-root/sudoers sudoers

# exit schroot
exit
# exit root shell
exit

# as a normal user
schroot -p -c jaunty-32-bit

sudo apt-get update
sudo apt-get upgrade

# install boxee and some other apps that will fix some dependencies for flashplugin and boxee to work without problems
sudo apt-get install software-properties-gtk util-linux firefox libasound2-plugins gnome-terminal x11-apps

# add a software source
sudo software-properties-gtk

# enable communit-maintained, proprietary drivers, software restricted on the "Ubuntu Software" tab

# In "third-Party Software" tab add for boxee
deb http://apt.boxee.tv jaunty main
deb http://apt.boxee.tv jaunty test

# In updates Tab enable Important and recommended updates

# install boxee
sudo apt-get install boxee

#exit schroot
exit

# to run boxee type
schroot -c jaunty-32-bit -p /opt/boxee/Boxee

To create a link on the desktop to boxee, just check the image below:




I tried this on a computer with a intel video chipset.

For nvidia you need extra steps:
schroot -p -c jaunty-32-bit
apt-get install libglitz-glx1 rss-glx xserver-xorg xorg mesa-utils gedit equivs nvidia-180-libvdpau
equivs-control nvidia-kernel-control
# edit the file to look like this
gedit nvidia-kernel-control

### Commented entries have reasonable defaults.
### Uncomment to edit them.
Section: misc
Priority: optional
Standards-Version: 3.6.2

Package: nvidia-180-kernel-source
Version: 180.44-0ubuntu1
# Maintainer: Your Name
# Pre-Depends:
# Depends:
# Recommends:
# Suggests:
# Provides:
# Replaces:
# Architecture: all
# Copyright:
# Changelog:
# Readme:
# Extra-Files:
Description:
long description and info
.
second paragraph
# build a fake package to eliminate the kernel dependency
equivs-build nvidia-kernel-control

#install fake package
sudo dpkg -i nvidia-180-kernel-source_180.44-0ubuntu1_all.deb

# make sure the kernel is not installed
sudo apt-get install nvidia-glx-180

# now boxee should work fine


Monday, May 5, 2008

How-to flash the bios using Linux

Goto http://www.fdos.org/bootdisks/ under "Normal Bootdisk"

get http://www.fdos.org/bootdisks/autogen/FDSTD.288.gz

Create a folder, unzip the floppy image, mount the floppy image:
sudo mkdir /tmp/biosdisk
gunzip FDSTD.288.gz
sudo mount -t vfat FDSTD.288 /tmp/biosdisk -o loop,r
cd /tmp/biosdisk
Copy all the files you need. Example:
cp /home/lafa/bios/AWDFLASH.EXE .
cp /home/lafa/bios/SG33S117.BIN .


Exit the folder, umount, create the ISO file:
cd ~/
sudo umount /tmp/biosdisk
mv FDSTD.288 boot.IMA
mkisofs -o bootcd.iso -b boot.IMA -c boot.cat ./boot.IMA
Burn the bootcd.iso file, with your favorite burn utility.
Boot your pc using this CD.

Saturday, April 12, 2008

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.

Wednesday, December 26, 2007

Ubuntu 7.10 Gutsy 64 bit - Desktop HOWTO

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

Multimedia Codecs, Java, Flash

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

# java , fonts, codecs
# The ubuntu-restricted-extras package installs the Sun JDK, which requires the user to accept the Sun License.
sudo apt-get install ubuntu-restricted-extras

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

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
deb http://dl.google.com/linux/deb/ stable non-free

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

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

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

# medibuntu repositories
# run this command to add this repository
sudo wget http://www.medibuntu.org/sources.list.d/gutsy.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 -

For installation execute the following commands:

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


# 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
sudo apt-get install googleearth

# Skype
sudo apt-get install skype-static

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

# help on configuration of proprietary drivers
sudo apt-get install restricted-manager

# 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
# Very Fast Virtual Machine (faster than VMWare) and a very easy GUI
sudo apt-get install virtualbox

# visual partition editor
sudo apt-get install gparted

# Sun Java 64 bits, but does not include a firefox java plugin
sudo apt-get install sun-java6-jre

# a firefox java plugin that does not work very well
sudo apt-get install icedtea-java7-plugin

# If you need VPN support via knetworkmanager/network manager
sudo apt-get install network-manager-openvpn network-manager-pptp network-manager-vpnc

# 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

Setting dns over TLS on ubuntu 26.04 using quad9 and

With this change future dns queries should got to Quad9 and fallback Cloudflare if Quad9 has a outage, and should go over TLS.  Change /etc/...