« September 2005 | Main | November 2005 »

October 27, 2005

runsocks / socks5-client on ubuntu 5.10

The first thing before I start to work on ubuntu is to get cvs work through SOCKS proxy.
I access mozilla's source code repository by SSH.
But I don't have an account for gnome's CVS repository.
So I have to use anonymous pserver.
Usually I use runsocks for that propose on SUSE/Fedora Core.
But I found it doesn't work on ubuntu, neither my own build or copy from Fedora Core's rpm.
I got a SegFault.

Then I tried tsocks, still can't work.
Finally, I turned to dante.
I downloaded dante-1.1.18 tar ball, built and installed it.
It works great.
Now I can throw runsocks away and start grabbing gnome code.

Hers is my conf file.
$cat /etc/socks.conf
resolveprotocol: fake
route {
from: 0.0.0.0/0 to: 0.0.0.0/0 via: xxx.xxx.xxx.xxx port = 1080
proxyprotocol: socks_v5
}

Technorati Tags:

Posted by ginn at 5:49 PM | Comments (0) | TrackBack

Festival will not work with gnome-speech

Festival bundled with ubuntu 5.10 doesn't work.

Here's the workaround from Orca's QUICKSTART.

test-speech will often fail when you attempt to use the festival
speech synthesis engine:

% /usr/bin/test-speech
1: OAFIID:GNOME_Speech_SynthesisDriver_Festival:proto0.3

Select a server: 1
Attempting to activate OAFIID:GNOME_Speech_SynthesisDriver_Festival:proto0.3.
Server could not be initialized.

You can fix this by making sure "localhost" is listed before
"localhost.localdomain" in the 127.0.0.1 line in /etc/hosts.
Or, you can also follow an alternative route described at:
http://mail.gnome.org/archives/gnome-accessibility-devel/2005-February/msg00017.html

Anyway, ubuntu 5.10 is the best linux desktop I've ever used.
The installation is very smooth. (too smooth to choose a static IP rather than DHCP)
And it learned a lot from Mac OS X.
e.g. The root user doesn't have a password by default.
It uses debian-like packaging. I really enjoyed it.
And it bundled with bleeding edge products such as GNOME 2.12.1, Firefox 1.0.7.
It even installed BitTorrent by default.

I'll try to do my work on it instead of Fedora Core 4.
Keep an eye on my blog.

Technorati Tags: ,

Posted by ginn at 5:31 PM | Comments (0) | TrackBack

October 8, 2005

HOWTO: Prevent the creation of .DS_Store file on network disks (SMB/CIFS, AFP, NFS, etc)

In terminal, run
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
logout and re-login.

I usually connect my PC from my powerbook, and I don't want .DS_Store be created on my PC.
This tip is very useful.

Technorati Tags:

Posted by ginn at 2:54 PM | Comments (0) | TrackBack

Finder continually restart after Stuffit Deluxe 10 install

"I had a problem where Finder would continually restart after Stuffit Deluxe 10 install. When I deleted "Macintosh HD:Library:PreferencesPanes:Stuffit AVR.prefPane" Finder was OK."

I got this from http://forums.macrumors.com

I had the same problem and the workaround worked for me.

BTW: You may need to use 'sudo' to delete it. Also, I don't like AVR (archive via rename) function at all.

Technorati Tags:

Posted by ginn at 2:50 PM | Comments (0) | TrackBack