Raul Suarez's blog

ntfsundelete - Undeleting NTFS files

And Linux saves the day again.

My son installed an application but mistakenly he selected the data directory as the installation directory. When he realized it he decided to uninstall, but the full uninstall deleted everything from the folder. This is: the program and all his files.

The solution was very easy. I found that I had already installed the ntfsprogrs package. This package contains a pretty slick utility called ntfsundelete.

This utility allowed me to first list the files that I could recover and then recover them.

Setting up Linux on PS3 the way I like it

Here are thee instructions I followed to set up Linux on my PS3 the way I like.
These instructions are for my own benefit in case I need to do it again but they may help you setting up yours. Each section is independent (unless noted) So just go to the section that interests you

- Installing.
- Using Gnome instead of E17
- Configuring resolution on Sharp HDTV LC-32D62U
- Configuring additional software repositories
- Replacing Metacity with Openbox
- Installing Multimedia codecs
- Configuring VPN

I decided to go with Yellow Dog Linux (YDL)

Setting up Vala - Trying a new programming language

Here I am, trying to learn a new programming language. Actually it feels more like getting to know the child of an old friend. Vala is a little bit like C but in a modern way and a lot like C# without having to install a huge runtime when you just want a "Hello world"

If you want to learn more just go to http://live.gnome.org/Vala

I am using Mint. An Ubuntu derivative so these instructions reflect that.

I'll first share my odyssey and then the instructions that actually worked.

Set a static IP for WPA wireless network

1. Get the encrypted WPA wireless key
wpa_passphrase <network name> "<passphrase>"
wpa_passphrase myNetwork "This is my passphrase"
You will get something like the following:
#psk="This is my passphrase"

Copy the text after psk=

2. Edit the interfaces configuration
sudo nano /etc/network/interfaces

(you can use any text editor you want)

Add the following to the file replacing

Remove the need to enter the keyring password every time I Login to Ubuntu / Mint

EDIT: No longer necessary as of Mint 9 Isadora as it already has the libraries and parameters to do this automatically.

1. Install pam-gnome-keyring
sudo apt-get install pam-gnome-keyring

2. Delete your default keyring
rm ~/.gnome2/keyring/default.keyring

3. Modify the GDM configuration and save it
sudo nano /etc/pam.d/gdm
auth optional pam_gnome_keyring.so
session optional pam_gnome_keyring.so auto_start

4. Reboot

Why and How I removed unecessary steps to loggin in to Mint/Ubuntu

Disclaimer: The actions described here are suitable for a Home desktop. I would not do the same to a laptop or public desktop.

I'm trying to convince my sons to use Linux instead of booting in Windows. They really dislike having to enter the userid and password then enter the keyring password. For now, they don't care about having their "own" desktop or custom configurations.

After the installation Ubuntu asks for my wireless network parameters and it saves the WPA key

In subsequent log ins the default behaviour of Ubuntu is the following:

Kick off post

I've decided to start creating a log of my troubles, tribulations and successes with Linux.

In this blog I'll try to keep a history of what I've done to make something work under Linux. I'm expecting that sometimes those exercises will be simple, some other times It may take some tweaking.

Syndicate content Syndicate content Syndicate content