Wednesday, April 2, 2014

Getting Back Into Linux

Several years back a friend was getting ready to leave on a long journey when his Macbook died. He was able to purchase a new one in time for his trip and left the broken one in my hands to fix if I could. If I was able to repair it, it would be mine. A hard drive later, and some fun installing and upgrading, I was using a Mac.



I spent many years using Kubuntu as my sole operating system and have grown accustomed to OSX. I still yearn for the fun of really digging into the operating system and have recently journeyed back into Linux.



Mike



[I find it funny to dislike Microsoft while in certain circles. The automatic assumption is that you are a Mac fanboy. I really enjoy stating that I really prefer Linux. Most people don’t know where to go with that...]


Tuesday, November 3, 2009

Open Source vs Proprietary

I had the thought today after playing with digiKam. What was I playing with? I was using the fuzzy finder function. It allows you to draw a little sketch and it will find photos in your collection that somewhat resemble that sketch. A simple circle will bring up pictures of faces and other photos with similar colors. Change the color and it will bring up different photos. I tried to sketch a racecar and the first photo to come up was Denny Hamlin's 11 car at New Hampshire Motor Speedway. Sweet.

What does that have to do with open source vs proprietary software? I remember several years back a friend of mine was playing with a similar function on linux. It was early in the development phase, so it wasn't ready for everyday use. It had a certain cool factor to it though. Now this function is available in digiKam.

With open source software when someone stops working on a program others can pick it up and continue on. With proprietary software it would have to be taken on by someone within the organization that owned the source code. It would not be freely available for anyone to continue with development.

Some of these cool factors are not economically beneficial to the organization. However, when passion is the main source of fuel, the sky and the developer's imagination are the only limits. The baton can also be passed or picked up as necessary.

Mike

Tuesday, October 27, 2009

Kubuntu Karmic Fun

In just a few days the next version of Kubuntu will be released. This last weekend I decided to install the release candidate. I planned a fresh install to take advantage of both ext4 and grub2. So, before starting the install I backed up my /home to an external hard drive. I then started the install.

At first I tried installing without booting into a live session. I liked the installer screen. It's the same whether installing from a live session or installing directly from boot. Everything was good, until my laptop shutdown. I was not carefully watching it, so I figured there was an error and attempted to install a second time. This time I was watching it when it shutdown. It was then I realized the problem. My laptop was really warm and shut itself down.

I decided to try a live session to see if the fan was working. It started running when I powered on the laptop, but stopped running as soon the splash screen came up. I managed to complete the install, using a battery powered fan to keep everything cool.

I then began searching for similar issues and found many with Acer laptops having CPU fan issues. There were a few scripts to run that would jump start the fan, those did not work for me. The one fix I did find was updating the BIOS.

I don't want go into any methods of creating a bootable cd/usb to update the BIOS since I wasn't able to get any of them to work. I did however have a beta version of windows (shhhh... don't tell). I was then able to update the BIOS.

Finally I installed kubuntu karmic and the fan issue is fixed. Now to restore the important files from my external hard drive.

Mike


References:


http://kubuntuforums.net/forums/index.php?topic=3107212.0

http://ubuntuforums.org/showthread.php?t=1295391


Sunday, October 18, 2009

Why do they call it a desktop?

I just recently tested the ablility of KDE 4 to have different settings for each virtual desktop when it occured to me. I can use of my desktops as a simulated desktop, file cabinet and all. Open the file cabinet and drop a working folder onto the desktop, just like a real desktop, to work with the files. When the work is done it gets replaced. The advantage of KDE 4's 'Folder View' is that folders do not have to be opened to view or open contents within.

Mike

=-=-=-=-=
Powered by Bilbo Blogger

Thursday, October 8, 2009

A New Start?

Well, here we go again. I am testing out kblogger for KDE4. I haven't posted here in a long time. Being gone for most of last year and being busy working has minimized the free time I could expend to add stuff here.

Additionally, I have discovered that I can sync my iPhone calendar with my google account. This is a very wonderful tool, since I don't use windows and can't afford a mac. I even have to use my wife's laptop to update my phone.

Hopefully kblogger will allow me to keep this blog updated.

Sunday, March 2, 2008

test

testing kblogger in KDE 4

Saturday, February 9, 2008

Budweiser Shootout

Wow. That was an exciting race. I am happy for Dale Jr and Hendrick Motorsports. I can't belive it. 

Mike

Tech Support

One of the issues that most new comers to linux have to deal with is RTFM. In other words Read the Friendly Manual. This has the effect of turning new comers away, with the thoughts that linux users are jerks and an elite class of people who don't care to help the new comer. Is that really true?



I recently thought about the times I have called tech support for some program or computer problem. I end up talking to someone, who if they speak english, don't speak it very well. It is frustrating listening to them read off of a card, step by step instructions for checking something. I think it would be easier for them to mail the card to me so I could fix it myself.



Then it dawned on me. Two things really.



First, the tech support is only having to deal with one or two operating systems. There are some differences with the versions of windows, but for the most part they work the same. This is not true of linux where there are several different desktop environments, different hardware, different drivers. All of these differences can span several years of computing. A much wider array of software/hardware to work with.



Second, they are being paid to resolve the customers problem. Most times they are being paid to take the brunt of the customers angst towards the product. In linux few of the 'helpers' get a paycheck. Most work as volunteers because they like the product and are willing to put themselves into the mix to help out.



It would be nice if those seeking assistance in linux forums or IRC keep in mind that hardware, drivers and such vary from system to system. The more specifics attached to the problem, the quicker a solution can be found. Additionally, those who help are doing so for free. Be courteous and we will be too.



Mike

Friday, February 8, 2008

Acer Aspire 5315-2135 Wal-Mart Special

Here is the step by step instructions for how I installed kubuntu gutsy 7.10 on my Acer Aspire 5315-2135.

Notes:

Since this is a reinstall I had previously backed up my /home directory to my desktop.  

I have already installed the bios update 1.19 running Windows Vista, this fixes the erratic operation of the touchpad:

ftp://ftp.support.acer-euro.com/notebook/aspire_5315

You can skip to Section A - D if you have already installed Gutsy.

Contents:

A. Setup partitions to prepare for install*
B. Start install*
C. Complete install and reboot*
D. Update system
E. Setup Wireless
F. Setup Sound
G. Touchpad Setup
H. Setup Compiz


* CAUTION: These steps will REMOVE VISTA. Please do not follow them if you wish to keep Vista installed on your computer. I have left the restore partition intact, just in case I need to restore vista later.  

References:

ubuntuforums.org
help.ubuntu.com
ubuntuforums.org

Boot into a live session of kubuntu 32-bit.

A. Setup partitions to prepare for install

1 Open konsole (terminal) and install gparted
sudo apt-get install gparted
2 Run gparted and remove the second partition 'sda2'

3 Add new partition at the beginning of the available space
3.1 Set size to 2000MB (installed RAM x2) 
3.2 Format as 'swap'

4 Add new partition to fill remaining space
4.1 Format as 'ext3'

5 Format last partition 'sda4' as 'ext3'

6 Commit changes and close gparted

B. Start install

1 Select 'Manual' partitioning
2 Edit sda3
2.1 Format as 'ext3'
2.2 Mount as '/'
3 Edit sda4
3.1 Format as 'ext3'
3.2 Mount as '/home'

C. Complete install and reboot

D. Update system

1 Open Adept Manager 
2 Fetch Updates
3 Full Upgrade
4 Apply Changes

#Here I installed 'ssh' and logged out. I then restored my /home directory from my desktop using rsync

E. Setup Wireless

1 Install ndiswrapper
sudo apt-get install ndiswrapper-common ndiswrapper-utils-1.9
2 Remove restricted driver for Atheros card
2.1 Open kcontrol>System Administration>Restricted Drivers
2.2 Select 'Administrator Mode' and deselect the ath driver
2.3 Select 'OK'

3 Install wireless driver

3.1 Download driver
wget http://blakecmartin.googlepages.com/ar5007eg-32-0.2.tar.gz
3.2 Extract driver
tar xzf ar5007eg-32-0.2.tar-gz
3.3 Install kernel headers and build-essential
sudo apt-get install linux-headers-$(uname -r) build-essential
3.4 Blacklist the ath_pci driver
echo "blacklist ath_pci" | sudo tee -a /etc/modprobe.d/blacklist
3.5 Restart system

3.6 Install driver
cd ar5007eg-32-0.2/ar5007eg/
sudo ndiswrapper -i net5211.inf
3.7 Load module
sudo modprobe ndiswrapper
At this point I was able to use wireless!

3.8 Add ndiswrapper to load on start
echo "ndiswrapper" | sudo tee -a /etc/modules
F. Setup Sound

1 Download alsa-drvers, alsa-lib & alsa-utils
wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.15.tar.bz2
wget ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.15.tar.bz2
wget ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.15.tar.bz2
2 Install required tools
sudo apt-get install libncurses5-dev gettext
3 Make source directory and copy alsa files to it
sudo mkdir /usr/src/alsa
cd /usr/src/alsa
sudo cp ~/alsa* .
sudo tar xjf alsa-driver*.bz2
sudo tar xjf alsa-lib*.tar.bz2
sudo tar xjf alsa-utils*.tar.bz2
4 Stop alsa
sudo /etc/init.d/alsa-utils stop
sudo /etc/init.d/alsasound stop
5 Compile alsa-driver
cd alsa-dr*
sudo ./configure --with-cards=hda-intel
sudo make
sudo make install
6 Compile alsa-libs
cd ../alsa-lib*
sudo ./configure
sudo make
sudo make install
7 Compile alsa-utils
cd ../alsa-utils*
sudo ./configure
sudo make
sudo make install
8 Restart system

9 Add acer to module version
sudo nano /etc/modprobe.d/alsa-base
Add this to the end and save:
options snd-hda-intel model=acer
10 Run alsaconf
sudo alsaconf
11 Copy drivers to correct folder
sudo cp /lib/modules/2.6*/kernel/sound/pci/hda/snd-hda-intel.ko /lib/modules/2.6*/ubuntu/media/snd-hda-intel/
and
sudo cp -r /usr/src/alsa/alsa-driver-1.0.15/modules/* /lib/modules/2.6*/kernel/sound/
12 Load alsa-driver
sudo depmod -a
13 Restart alsa
sudo /etc/init.d/alsa-utils start
sudo /etc/init.d/alsasound start
14 Restart system

G. Touchpad Setup

1 Edit xorg.conf

1.1 Backup xorg.conf
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
1.2 Edit xorg.conf
sudo nano /etc/X11/xorg.conf
1.3 Add the three lines at the end:

Section "InputDevice"
  Identifier "Synaptics Touchpad"
  Driver "synaptics"
  Option "SendCoreEvents" "true"
  Option "Device" "/dev/psaux"
  Option "Protocol" "auto-dev"
  Option "HorizEdgeScroll" "0"
  Option "SHMConfig" "on"
  Option "MaxTapTime" "0"
  Option "HorizScrollDelta" "0"
EndSection
2 Save and exit
3 Logout and restart X with 'CTRL-ALT-Backspace'

H. Setup Compiz

1 Install compiz and emerald
sudo apt-get install compiz emerald
2 Configure compiz to work with blacklisted Intel driver
sudo mkdir ~/.config/compiz
sudo touch ~/.config/compiz/compiz-manager
echo "SKIP_CHECKS=yes" | sudo tee -a ~/.config/compiz/compiz-manager
3 Whichever video player you use must be set to use the 'X11' driver instead of the 'xv' driver. Compiz does not play well with the xv driver, which is one of the reasons the Intel driver was blacklisted. X11 works well here.

Thanks to the following for providing what is here, or at least providing directions to it:

ubuntuforums
  mikeserv
  KriKit

Linux

I just had a thought. Most of the people who need stuff to just work are not going to be digging into the internals of their system. They don't want to know why the thing does what it does, only that it does it. The advantage to linux in this regard is that going in, most people have to work on something to get it working. Linux inspires people to want to figure out how the system works. Additionally there is a certain satisfaction in arriving at the point where something that didn't work now does. Linux is to computing what the 1980 Ford Pinto in the backyard that needs some work is to the mechanic. Laugh if you must, until that Pinto with the upgraded V8 smokes your new "sports car" at a stoplight. 

I am glad that ubuntu is making a linux OS that works for the most part out of the box. Not everything, nor every computer works correctly on a fresh install. Most things do though, at the same time allowing the adventurous user to dig in and find something new.

Mike

Tuesday, January 1, 2008

Distribution Shuffle

Just for fun this holiday I decided to install a few different distrubutions onto my laptop. I have a motive really... the new Bamboo Wacom tablet I got for Christmas does not work with the current kernel in Gutsy Gibbon. Needless to say it was a fun experience. Here are some notes from my day.

Since I was already successfully running kubuntu gutsy, I tried to upgrade to the hardy alpha release. The upgrade went alright, unless wireless networking is part of the picture. I couldn't get my wireless card to work with the restricted drivers manager or with ndiswrapper.

Having used Redhat 9 in the past, before moving to kubuntu, I decided to try out the newest fedora. The install was a little lengthy but not bad overall. I found the 'root' account familiar, but odd at the same time. I have grown accustomed to the ubuntu way of life. The wireless did not work here either... next.

I don't know for sure why I tried the next distrubution, it was painful to install, but I did. I burned a copy of opensuse 10.3 and decided to give it a whirl. How long does an install have to take? I think the last time I installed windowsXP took less time and asked fewer questions. Again, no wireless.

I gave up on my ventures and reinstalled kubuntu gutsy. Thankfully I was able to use some posts I had made on the ubuntu forums and was back up and running in just over an hour.

My thoughts on the other distrubutions... Fedora just seemed slow (these were installed and not running from the cd) and opensuse took forever to install. I know many people don't like the Adept Package Manager; however, I find it extremely easy to use. Somewhere in my short stay in each flavor of linux today, I missed the easy to install packaging system I get with kubuntu.

Happy New Year

Mike

Friday, November 23, 2007


Thursday, November 22, 2007


I hope everyone is having a Happy Thanksgiving. I know my family has a lot to be thankful for.

Thursday, November 15, 2007


This is only a test :P

Greetings

Well, this is my first post here. I hope to keep things fresh here. I am currently posting this on a $348 laptop from Wal-Mart running kubuntu gutsy (7.10).