Here a small piece of code which will search for the duplicates in the path you supply. It will generate a new file which contains the commands for deleting those duplicates.
Make sure you double check the resulting file!
The script requires that you have fdupes installed.
Install it in Ubuntu/Debian by running the following command in your terminal:
I just installed Ubuntu 9.10 Beta on my LENOVO ThinkPad T61 64608NG.
Here is what I found so far, in two days of intensive usage:
Quadro NVS 140M – 2D and 3D acceleration: tested and works.
Wireless switch: tested and works.
Sound: tested and works.
Enabling touchpad on/off key (fn-f8): not working.
Enabling Active Protection System: works by installing tp_smapi.
Read the complete guide here.
Fingerprint Reader: install thinkfinger-tools and libpam-thinkfinger from the repository and everything works.
Network Card Intel 10/100/1000: tested and works.
Wireless Intel PRO/4965AG: tested and works.
Card reader: not tested.
UPDATE: Power level of the fingerprint reader is set to on by default, so it gets hot pretty fast. Use one of the scripts here to set it to auto at boot time.
Note that the path /sys/class/usb_*/*/device is no longer working. Instead, use /sys/class/usbmon/usbmon*/device/usb*/*.
Here is the complete script for that, taken from thinkwiki.org and modified to reflect the new path.
Shell
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
# find the fingerprint reader and change its power level to autosuspend
In the latest release of GNOME, they decided to turn off icons in menus by default. This is ugly and if you ask me, not practical at all.
However, you can get those icons back by going to System → Preferences → Appearance, and under the Interface tab, you can check the box “Show icons in menus”. The new GNOME also removes stock icons from buttons. The the above option does not put them back.
To enable icons in menus and butttons, run in your terminal:
I installed Google Earth 5.0 and the ugly UI font from the beta is still here.
Based on the comments from Google Earth Help page from here I’ve created the following script wich will fix the user interface font issue.
fsck is used to check and optionally repair one or more Linux file systems.
By creating /forcefsck file you will force the Linux system (or rc scripts) to perform a full file system check.
Create a file called forcefsck:
Use this grep invocation to trim comments out of config files. Comments are great but can get in your way if you just want to see the currently running configuration. I’ve found files hundreds of lines long which had fewer than ten active configuration lines.
It’s really hard to get an overview of what’s going on when you have to wade through hundreds of lines of comments.
Shell
1
grep^[^#] /etc/samba/smb.conf
The regex ^[^#] matches the first character of any line, as long as that character that is not a #. Because blank lines don’t have a first character they’re not matched either, resulting in a nice compact output of just the active configuration lines.
One of the cool features in a Thinkpad is IBM Active Protection System.
The system consist of two parts. The driver that enables reading the acceleration data and some sort of userspace software that does the actual parking of the harddrive heads, usually hdapsd.
The hdaps driver is part of the kernel but the driver maintainers actually recommend using the tp-smapi driver instead. So that’s what we’ll do.
Make sure you have the necessary tools installed:
Now for the userspace stuff. First let us test if APS is actually working.
Shell
1
sudo aptitude install hdaps-utils
This will install hdaps-pivot or hdaps-gl which you can use to verify that the sensors are working.
You can also test this by running this in your terminal (stop it with pressing CTRL + C):
Shell
1
sudo hdapsd-dsda-s15-a-v-y
Next we need to update the hdapsd. The one provided in Jaunty is old. There is a PPA with newer versions.
Launchpad is now open source. Canonical public announcement is here: http://blog.canonical.com/?p=192
The Canonical launchpad developers will be on IRC in #launchpad-dev on irc.freenode.net.
For real time development discussion, that’s the place to go; for usage questions, #launchpad is still the channel, as before.
The development wiki is dev.launchpad.net. Right now, only Canonical people can edit it.