Computating

My Photo
Name:
Location: United States

Saturday, March 13, 2010

Fixing the sound in Ubuntu 9.10 Karmic Koala after replacing the

Fixing the sound in Ubuntu 9.10 Karmic Koala after replacing the motherboard or sound card and the computer freezes

Just run this command:

sudo aptitude --purge reinstall linux-sound-base alsa-base alsa-utils linux-image-`uname -r` linux-ubuntu-modules-`uname -r` libasound2

It worked for me (although it did freeze one more time after doing this, but after I restarted again it worked after that). and it's documented in this link here if you don't believe me:

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


Sunday, December 27, 2009

My favorite eclipse plugins

My favorite eclipse plugins

Web Tools (WTP)Help -> Install New Software...

Click [ Add... ]
Location: http://download.eclipse.org/webtools/updates/
Check: Project Provided Components
Check: Web Tools Platform (WTP) 3.1.1
Click [ Next > ]

Click [ Next > ]
Check: I accept the terms of the license agreements
Click [ Finish ]
Wait about 15 minutes. When it warns you about installing software that contains unsigned content, click [ OK ]

Galileo

Help -> Install New Software...
Click [ Add... ]
Location: http://download.eclipse.org/releases/galileo/
Check: Database Development
Check: Programming Languages

Check: Web, XML, and Java EE Development

Click [ Next > ]

Subclipse

Help -> Install New Software...

Click [ Add... ]

Location: http://subclipse.tigris.org/update_1.0.x

Check: Project Provided Components

Click [ Next... ]

Friday, November 20, 2009

Install PackMaster 2008 on Ubuntu 9.10 Karmic Koala

sudo apt-get install cabextract wine
wget http://www.kegel.com/wine/winetricks
chmod +x winetricks
./winetricks

select 'mfc42.dll' from the list

./winetricks vcrun6

now open a folder to the disk and double-click Setup.EXE

Tuesday, November 10, 2009

Installing lame for Audacity to export to MP3 in Ubuntu 9.10 Karm

sudo apt-get install lame

that's all

Install KPhotoAlbum on Ubuntu 9.10 Karmic Koala

Prerequisites

Install KDE Desktop

Instructions


sudo mkdir -p /usr/src/kde
cd /usr/src/kde
sudo wget http://www.kde-apps.org/CONTENT/content-files/41180-mplayerthumbs-1.2.tar.gz
sudo tar -xvf 41180-mplayerthumbs-1.2.tar.gz
cd mplayerthumbs-1.2
sudo cmake .
sudo make
sudo make install

sudo apt-get build-dep kipi-plugins
cd /usr/src/kde
sudo wget http://downloads.sourceforge.net/project/kipi/kipi-plugins/0.8.0/kipi-plugins-0.8.0.tar.bz2?use_mirror=cdnetworks-us-1
sudo tar -xvf kipi-plugins-0.8.0.tar.bz2
cd kipi-plugins-0.8.0
sudo cmake .
sudo make
sudo make install

sudo apt-get build-dep kphotoalbum
sudo apt-get install subversion cmake libexiv2-dev libjpeg-dev mjpegtools alsa mpg123 vorbis-tools g++ build-essential libstreamanalyzer-dev libxt-dev libxext-dev zlib1g-dev libqt4-dev kdelibs5-dev libexiv2-dev libkdcraw7-dev libkipi6-dev cmake
mkdir -p ~/src/kphotoalbum
cd ~/src/kphotoalbum
vi install.sh

Inside of install.sh, insert the following text:

echo Lets set some variables that you can adapt to your needs.
echo The source directory we check out and compile.
MY_KDE_SRC=/usr/src/kde
echo Installation of our compiled stuff
MY_KDE_INSTALL=$MY_KDE_SRC/kde4-install
KDE4_DIR=/usr/lib/kde4
echo KDE4 libraries. On Ubuntu 8.04, this is in
echo Subversion kde server.
KDE_SVN=svn://anonsvn.kde.org/home/kde
echoKDE_SVN=svn+ssh://<username>@svn.kde.org/home/kde
echo Some environment variables pointing to our own universe
export PATH=$MY_KDE_INSTALL/bin:$KDE4_DIR/bin:$PATH
export KDEDIRS=$MY_KDE_INSTALL:$KDE4_DIR
export KDEHOME=~/.kde4.0
export LD_LIBRARY_PATH=$MY_KDE_INSTALL/bin:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=$MY_KDE_INSTALL/lib/pkgconfig
echo Preparation. Create source directory.
sudo mkdir -p $MY_KDE_SRC
echo get the toplevel KDE directories we need to work with
cd $MY_KDE_SRC
sudo svn co $KDE_SVN/trunk/kdesupport/automoc kdesupport-automoc
sudo svn co $KDE_SVN/trunk/extragear/graphics/kphotoalbum kphotoalbum
sudo svn co -N $KDE_SVN/trunk/KDE/kdegraphics
echo Get the relevant directories. If you want to update to the latest
echo version later, just execute this command in directory $MY_KDE_SRC
sudo svn up kdegraphics/cmake kdegraphics/libs kphotoalbum
echo automoc4 is needed to build
cd $MY_KDE_SRC/kdesupport-automoc
sudo cmake -DCMAKE_BUILD_TYPE=relwithdebuginfo -DCMAKE_INSTALL_PREFIX=$MY_KDE_INSTALL .
sudo make install
echo compile and install graphic libraries
cd $MY_KDE_SRC/kdegraphics
sudo cmake -DCMAKE_BUILD_TYPE=relwithdebuginfo -DCMAKE_INSTALL_PREFIX=$MY_KDE_INSTALL .
sudo make install
echo .. and now kphotoalbum
cd $MY_KDE_SRC/kphotoalbum
sudo cmake -DCMAKE_BUILD_TYPE=relwithdebuginfo -DCMAKE_INSTALL_PREFIX=$MY_KDE_INSTALL .
sudo make install
 chmod u+x install.sh
./install.sh

Configuring Bitpim to recognize a LG-VX8560 Chocolate 3 phone on

sudo groupadd cellusers
sudo usermod -a -G cellusers ctate
sudo vi /etc/udev/rules.d/60-cell.rules

SUBSYSTEM!="usb_device", ACTION!="add", GOTO="cell_rules_end"
# LG Phone
SYSFS{idVendor}=="1004", SYSFS{idProduct}=="6000", GROUP="cellusers", MODE="0660"
LABEL="cell_rules_end"

Restart your computer after that. Plug in your phone and run bitpim. E

Typing accents for other languages in Ubuntu 9.10 Karmic Koala

System -> Preferences -> Keyboard
Click on the 'Layouts' tab
Click [ Layout Options... ]
Open the 'Compose key position'
I would recommend clicking the 'Left Win' option. That means you push the left Windows key, then the [ ' ] (apostophe) key, then [ e ], you get é.

Monday, November 09, 2009

Install KDE Desktop on Ubuntu 9.10 Karmic Koala

sudo apt-get install kubuntu-desktop

Install Subclipse in Eclipse 3.5.1 Galileo

Help -> Install New Software...

Work with: http://subclipse.tigris.org/update_1.0.x
Click [ Add... ]
Name: Subclipse
Click [ OK ]
Check 'Subclipse Plugin' in the list below
Click [ Next > ]

Click [ Next > ]

Mark that you accept the license agreement
Click [ Finish ]
If it warns you about installing software with unsigned content, click [ OK ]
Click [ Yes ] when it asks you to restart Eclipse

Installing Java JRE 6 Update 7 Firefox plugin on Ubuntu 9.10 Karmic Koala

Visit: http://java.sun.com/products/archive/j2se/6u7/index.html
Click 'Download JRE'
Platform: Linux
Check that you agree to the license
Click [ Continue ]
Click the link to 'jre-6u7-linux-i586.bin'
Save this file to your desktop
Open a terminal

cd Desktop
chmod u+x jre-6u7-linux-i586.bin
./jre-6u7-linux-i586.bin

Hold down [ Enter ] until it asks you if you agree to the license terms
Enter 'yes'

sudo mv jre1.6.0_07/ /usr/lib/jvm
sudo ln -s /usr/lib/jvm/jre1.6.0_07/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox-3.5.4/plugins/libjavaplugin_oji.so

Restart firefox

Sunday, November 08, 2009

Installing RabbitVCS on Ubuntu 9.10 Karmic Koala

System -> Administration -> Software Sources
Enter your password
Click the 'Other Sources' tab
Click [ Add... ]
APT line: deb http://ppa.launchpad.net/rabbitvcs/ppa/ubuntu karmic main
Click [ Add Source ]
Click [ Close ]
Click [ Reload ]

sudo apt-get install rabbitvcs
Enter 'Y' to continue
Press [ Enter ] to continue

When a 'Information Available' box pops up, click [ Run this action now ] to restart Nautilus

Installing Netbeans in Ubuntu 9.10 Karmic Koala

sudo apt-get install netbeans
Enter 'Y' to continue

Installing Eclipse in Ubuntu 9.10 Karmic Koala

sudo apt-get install eclipse
Enter 'Y' to continue

Installing Java 6 on Ubuntu 9.10 Karmic Koala

sudo apt-get install sun-java6-jdk
Enter 'Y' to continue
Wait a few minutes and a "Configuring sun-java6-jre" screen will appear. When you're done reading, press [ Tab ] then [ Enter ] to continue.
It asks if you agree with the DLJ license terms. Click [ Tab ] then [ Enter ] to continue.

Installing Cisco VPN software in Ubuntu 9.10 Karmic Koala

Go to Applications -> Ubuntu Software Center
Select "VPN Connection Manager (vpnc)"
Click on the arrow button pointing right
Click [ Install ]
Type your password and click [ Authenticate ]

Saturday, November 07, 2009

Installing the Google Toolbar in Firefox

Click on the [ Install Google Toolbar ] button
Click the [ Agree and Install ] button
Wait three seconds then click the [ Install ] button
Click [ Restart Firefox ] when prompted
Click the [ Close ] button when the "Add-ons" box pops up
Click [ No Thanks ] when it asks you about Sidewiki, it's really annoying

I like to change the following settings of the Google Toolbar.

Click on the button on the far right of the Google Toolbar that has a wrench on it. Click "Options..." if a menu appears.
On the main "Search" tab
    Check "Use Gmail for "Mail To" links"
On the "Layouts" tab
    I like to "Replace Firefox search box". It saves space.
Click [ Close ] when done