Bernhard Brunner's homepage

Current contents:

  • Weather page for the lake constance (Switzerland/Germany/Austria):

    Segelwetter
  • Computer tipps and general information blog

Blog

If you would like to be notified of this and other blogs, i recommend signing up to the excellent RSS feed reader service at bloglines → Subscribe with Bloglines

Ubuntu 11.04 fingerprint

Fingerprint Reader

There are apparently two ways to activate the Fingerprint Reader with 1) ThinkFinger (https://wiki.ubuntu.com/ThinkFinger from Synaptic) and 2) Fprint from here https://launchpad.net/~fingerprint/+archive/fprint (fprint is also in Synaptic but something is missing). Long story short (kinda): Quick installation guide

1. You should be running Ubuntu 10.04, 11.04, 11.04, or any derivative thereof. Packages for Ubuntu 9.10 are also available, but you won't be able to avoid one minor annoyance (see known issue 2 below).

2. You need to have a supported fingerprint reader. See the list at http://reactivated.net/fprint/wiki/Supported_devices. You may ignore columns Vendor and Product, only look at USB Vendor ID and USB Product ID. You can find out your reader's IDs with the lsusb command, the sixth column of which has the form of xxxx:yyyy, where xxxx is the Vendor ID and yyyy the Product ID. Another supported device, not listed at the above website, is 147e:1000.

3. Add this PPA to your sources:

sudo add-apt-repository ppa:fingerprint/fprint
sudo apt-get update
sudo apt-get upgrade

3. Install fprint-demo (the version from standard Ubuntu archive is obsolete).

sudo apt-get install libfprint0 fprint-demo

4. Go to Applications > Accessories > fprint project demo and check that you can enroll and verify your fingerprints and that your reader is indeed supported.

5. Install libpam-fprintd (not to be confused with libpam-fprint, the final “d” is crucial).

sudo apt-get install libpam-fprintd

Note: If you have experimented with fingerprint authentication before and have changed your /etc/pam.d/common-auth, you may be presented with a screen asking whether you want to override those changes. Select Yes. Under very special circumstances, you may get an error saying

pam-auth-update: Local modifications to /etc/pam.d/common-*, not updating.

pam-auth-update: Run pam-auth-update –force to override.

In this case, run “sudo pam-auth-update –force”, exactly as suggested, and enable the fprintd profile manually. Leave the standard system profiles (Unix, Keyring and ConsoleKit) enabled as well.

6. Go to System > Preferences > About Me and in the top-right corner set up your fingerprint authentication. Alternatively, you can use command fprintd-enroll if you prefer CLI.

7. If you are running Lucid or newer, install gksu-polkit.

sudo apt-get install gksu-polkit (my note - I didn’t need to install this)

8. Test it: Lock and unlock screen, log out and back in, try sudo in terminal. Don't try to launch Synaptic (or a similar graphical application requiring unrestricted root privileges) yet, see issue 2 below first.

Ref: http://www.thinkwiki.org/wiki/Installing_Ubuntu_11.04_on_a_ThinkPad_X201

2012/01/26 10:56 · Bernhard Brunner · 0 Linkbacks

Installing sage on ubuntu 11.10

Install prerequisite libraries

sudo apt-get install build-essential m4 readline-common libreadline-dev texlive xpdf evince tk8.5-dev gfortran

Download the current version of the sources and compile them

wget http://mirror.switch.ch/mirror/sagemath/src/sage-4.8.tar
tar xvf sage-4.8.tar

Once

2012/01/22 09:51 · Bernhard Brunner · 0 Linkbacks

Ubuntu 11.04 vnc access, screen repaint problem

This has to do with compiz bug in 11.04. You can 'fix' it by setting xdamage off (effectively sending the whole screen on every update :/ )

gconf-editor

Then navigate to: desktop / gnome / remote_access. Enable the “disable_xdamage” setting.

2012/01/19 07:30 · Bernhard Brunner · 0 Linkbacks

Find ubuntu/debian package Simple way to look up what package contains a given file?

apt-file search filename

or

apt-file search /path/to/file

To install apt-file, use:

apt-get install apt-file

you will need to update its database before you can use it:

sudo apt-file update
2012/01/16 11:30 · Bernhard Brunner · 0 Linkbacks

vmware ubuntu

VMWare and Ubuntu: ACPI: I/O resource piix4_smbus error on boot

After installing a brand new Ubuntu 64bit on VMWare i got the message:

ACPI: I/O resource piix4_smbus [0x1040-0x1047] conflicts with ACPI region SMB_ [0x1040-0x104b]

Resolved this by adding

blacklist i2c_piix4

at the end of /etc/modprobe.d/blacklist.conf

2012/01/09 20:10 · Bernhard Brunner · 0 Linkbacks
start.txt · Last modified: 2010/12/15 20:26 by brb
Back to top
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0