0

Getting apc’s gapcmon to work under Ubuntu 9.10 (karmic koala)

by

Bug located Here

Viable work around

cd /usr/share/icons/gapcmon # change to directory where the icons are stored

sudo cp * /usr/share/pixmaps/. # copy them to this location

Now go into System/Preferences/Startup Applications

and add /usr/bin/gapcmon

logout/login —

Viola — it works!

Dumb-@$$ work around – but makes programme functional!

Wayno

1

Installing 64 bit Flash for Firefox and Opera

by

The Flash that comes packaged from Ubuntu with Firefox – is the 32 bit guy, because the developers refuse to use an alpha release of anything.

The problem is, this creates a huge instability in Firefox.

Here’s how I did it – this is NOT optimal, but it works!

1. Go to:

Adobe 64 Bit Flash Plugin
and get the 64 bit plugin.

Currently (July 20, 2010) the Alpha plugin is no longer available.

2. Close all open browers.

3. Go into Synaptic Package Manager – and type in the word “flashplugin”

what ever it comes up with, you definitely want to remove. It’s all 32 bit.

4. Untar it if you got it from the adobe site, otherwise copy it from the download area.

for Firefox:

cd /usr/lib/mozilla/plugins

sudo tar -xvf ~/Downloads/libflashplayer-10.0.42.34.linux-x86_64.so.tar.gz # or wherever you downloaded it too

=====================================

For Opera:

cd /usr/lib/opera/plugins

sudo tar -xvf ~/Downloads/libflashplayer-10.0.42.34.linux-x86_64.so.tar.gz # or wherever you downloaded it too

You could install it once to say /usr/lib/adobe-flash and symlink it….

This is more brute force.

Wayno

2

Getting Wireless connect to work for Acer Aspire (or any Atheros AR9xxx chipset) on Ubuntu

by

THANKS LONI

My Acer Aspire D250 Notebook has this wireless lan card:

lspci # get the wireless lan info

01:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)

and the ath9k module is flakey

1. So let’s first get the Linux Version we’re running:

uname -a # get linux kernel version number

Linux Nelson 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:02:15 UTC 2009 i686 GNU/Linux

2. so I installed the following:

sudo apt-get install linux-backports-modules-(KernelVersionGoesHere)

ex: sudo apt-get install linux-backports-modules-2.6.31-16-generic

(you must do this (install backports) with any kernel upgrade.)

3. reboot!

No more flakiness!

Didn’t work? No problem:

sudo apt-get purge linux-backports-modules-(KernelVersionGoesHere)

ex: sudo apt-get purge linux-backports-modules-2.6.31-16-generic
reboot!

gone!

Wayno

1

How to Setup Firefox “User Agent” for “Deposit@Home” on Linux

by

Ahh this took awhile to get the right string – but this works!

1. Endorse the check.

2. Use xsane to scan the front and back of the check @ 200 dpi gray scale. (Note that the endorsement signature block is on the right.)

3. Crop images with gimp (gnu image processing).

They should look like this:

Front Side of Check

Back Side of Check

4. If not installed, get the “User Agent” Firefox addon from here:

Firefox User Agent Addon

Now think MAC.

Add a new user: this is what the configuration looks like:

The “User Agent” string is this:

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; fr; rv:1.9.1b4) Gecko/20090423 Firefox/3.5b4

deposit@home configuration for a Mac -- works on Linux

Select this, and we’re half way there!

5. Login to your bank’s site.

6. Choose Deposit@Home.

7. What we want to do, is choose the previously scanned check images. So HIT BROWSE!
8. The check image should appear!

9. The tricky part that in order to go to next (it’s NOT obvious) you must “crop” the image — so you need to put the mouse cursor over the RIGHT HAND BOTTOM of the check, and single left mouse click. THe image will now be outlined in RED. Now you can click next!

deposit@home Click Here!

10. Repeat the above step for the back of the check.

11. Hit submit!

12. Wait for your confirmation!

deposit@home confirmation

2

Quick Debugging Tips

by

What release of Ubuntu am I running?

nwayno@Homer:~$ cat /etc/issue
Ubuntu 9.10 n l

——————
What version of the kernel am I running?

nwayno@Homer:~$ uname -a
Linux Homer 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux

——————
What graphics card do I have?

nwayno@Homer:~$lspci | grep VGA
00:0d.0 VGA compatible controller: nVidia Corporation GeForce 6150SE nForce 430 (rev a2)

What usb devices are on the system?
lsusb

Bus 002 Device 003: ID 03f0:3f11 Hewlett-Packard PSC-1315/PSC-1317
Bus 002 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0bc2:3000 Seagate RSS LLC
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

——————
What graphics driver am I using?
grep -i glx /var/log/Xorg.0.log

(II) “glx” will be loaded. This was enabled by default and also specified in the config file.
(II) LoadModule: “glx”
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor=”NVIDIA Corporation”
(II) NVIDIA GLX Module 185.18.36 Fri Aug 14 18:27:24 PDT 2009
(II) Loading extension GLX
(II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(==) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(II) Loading extension NV-GLX
(II) Initializing extension GLX

———————
What file system am I using?

nwayno@Homer:~$ sudo blkid
/dev/loop0: TYPE=”squashfs”
/dev/sda1: UUID=”92569F58569F3C43″ LABEL=”MMMVISTA” TYPE=”ntfs”
/dev/sda3: UUID=”949CA48C9CA46A86″ LABEL=”FACTORY_IMAGE” TYPE=”ntfs”
/dev/sda5: TYPE=”swap” UUID=”5ed81b0d-ae9a-41b1-b4c7-02b500b94bea”
/dev/sda6: UUID=”df45c71e-9373-47fb-9e0b-b984c8f1015c” TYPE=”reiserfs”
/dev/sdb1: UUID=”FC1268B212687414″ LABEL=”BFDNTFS” TYPE=”ntfs”
/dev/sdb2: UUID=”a15fa8f4-cba6-4b3f-a59d-e2fd7d9281ab” LABEL=”bfdlinux” TYPE=”reiserfs”

Do I have a 64 bit computer?


if grep -q ' lm ' /proc/cpuinfo; then echo "is 64 bits"; else "No luck :("; fi

I got back:

is 64 bits

see also below:

——————
What type of CPU do I have?

nwayno@Homer:~$ cat /proc/cpuinfo | grep name


model name : AMD Sempron(tm) Dual Core Processor 2200
model name : AMD Sempron(tm) Dual Core Processor 2200

——————

What’s running on my computer?

nwayno@Homer:~$ top

top – 14:31:10 up 1 day, 4:39, 2 users, load average: 2.28, 2.19, 2.12
Tasks: 165 total, 3 running, 162 sleeping, 0 stopped, 0 zombie
Cpu(s): 3.0%us, 0.7%sy, 95.8%ni, 0.0%id, 0.0%wa, 0.3%hi, 0.2%si, 0.0%st
Mem: 1904076k total, 1856984k used, 47092k free, 84720k buffers
Swap: 0k total, 0k used, 0k free, 646804k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
22417 nwayno 39 19 57612 43m 1928 S 98 2.3 129:14.99 setiathome-5.28
29460 nwayno 39 19 113m 102m 2536 R 95 5.5 25:25.45 einsteinbinary_
4370 nwayno 20 0 621m 62m 15m S 3 3.4 21:25.11 pidgin
5184 nwayno 20 0 671m 168m 23m S 2 9.1 56:23.99 firefox-3.5
5164 nwayno 20 0 188m 15m 9340 S 1 0.9 20:22.74 boincmgr
4158 root 20 0 188m 81m 15m S 1 4.4 15:08.08 Xorg
30786 nwayno 20 0 206m 17m 10m R 0 0.9 0:00.71 gnome-terminal
1 root 20 0 4104 824 532 S 0 0.0 0:00.96 init
2 root 15 -5 0 0 0 S 0 0.0 0:00.00 kthreadd
3 root RT -5 0 0 0 S 0 0.0 0:00.02 migration/0
4 root 15 -5 0 0 0 S 0 0.0 0:00.14 ksoftirqd/0
5 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/0
6 root RT -5 0 0 0 S 0 0.0 0:00.08 migration/1
7 root 15 -5 0 0 0 S 0 0.0 0:00.17 ksoftirqd/1
8 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/1
9 root 15 -5 0 0 0 S 0 0.0 0:00.06 events/0
10 root 15 -5 0 0 0 S 0 0.0 0:00.48 events/1

1 2 14 15 16 17 18 19