Various tweaks to new OS

May 22, 2008 by 'son

Got codecs for mp3.

Remounted other partitions:

>sudo gedit /etc/fstab

add these lines to file:

/dev/sda1 /mnt/windows ntfs-3g defaults 0 0

/dev/sda4 /mnt/extra ext3 defaults 0 0
> mount -a

installed flash player

Upgraded to Hardy Heron

May 22, 2008 by 'son

I was resisting the desire to upgrade to Ubuntu 8.04 given that I always have to re-tweak my system after an upgrade. But then the other day my user account died. Faced with the option of creating a new account and copying all my data, etc. or the option of upgrading, I decided on the latter. I was pleased to see that the upgrade actually kept all my files and personalizations. Cool!

Removed wine & notepad++

April 26, 2008 by 'son

I didn’t really like using notepad++ with wine. So I’m removing both.

REMOVING WINE CODE:

prompt> apt-get remove wine

Installed Notepad++ under wine

April 15, 2008 by 'son

I used wine to install Notepad++. I love this program and have yet to find a linux-based editor that I like as much.

Installed wine

April 14, 2008 by 'son

I wanted to get Notepad++, so I installed wine since there is no Linux-version of wine.

Added Kate

April 12, 2008 by 'son

Today I installed Kate on the suggestion of others that it’s a good editor.

Fixing mic input

March 25, 2008 by 'son

Every time that I update Ubuntu, I kill my mic input. I keep forgetting how I previously solved the problem. So now I’m going to document the fix (which I did last week).

  1. Backed-up the alsa-base file with this command: “sudo cp /etc/modprobe.d/alsa-base /etc/modprobe.d/alsa-base_bak”.
  2. Opened the file with gedit with this command: “sudo gedit /etc/modprobe.d/alsa-base”.
  3. Added the following line to the end of the file: “options snd-hda-intel model=ref”. Then saved the file.
  4. Rebooted the computer.
  5. After rebooting, I tinkered with the volumes. Double-clicked the main volume control. First, made sure all controls were displayed. To do so, I clicked on preferences under the Volume Control window’s edit menu. Made sure all entries in this list were checked.
  6. Next, made sure Input Source is “Mic”.
  7. Verified that the capture volume was not muted and was increased to the maximum value.

Ruby on Rails on Ubuntu

February 6, 2008 by 'son

Today, I installed ruby on rails on my Gutsy-Gibbon (Ubuntu 7.10) OS. I followed these steps (which I swiped from an excellent posting by Walter Wilfinger):

sudo apt-get install ruby rdoc irb libyaml-ruby libzlib-ruby ri libopenssl-ruby
wget http://rubyforge.org/frs/download.php/29548/rubygems-1.0.1.tgz
tar xzvf rubygems-1.0.1.tgz
cd rubygems-1.0.1
sudo ruby setup.rb
sudo ln -s /usr/bin/gem1.8 /usr/bin/gem
sudo gem update --system
sudo gem install rails
sudo apt-get install build-essential ruby1.8-dev
sudo gem install mongrel
sudo apt-get install mysql-client mysql-admin mysql-query-browser libmysqlclient15-dev
sudo gem install mysql
sudo apt-get install sqlite3 swig libsqlite3-ruby libsqlite3-dev
sudo gem install sqlite3-ruby
echo "export RUBYOPT=rubygems" >> ~/.profile
rails path/to/your/app

but I got stuck at

sudo apt-get install build-essential ruby1.8-dev

The terminal asked me to put the Ubuntu install disk in the CDROM drive.

******************

UPDATE: I realized that the above step (upon which I was “stuck”) was unnecessary. I just skipped down to the mysql lines.