Monday, 2 July 2007

Insert line numbers in Vim Search/replace

Just enter the following command in Vim, to replace all XXX match with the number of the line where the match is:

:%s/XXX/\=line(".")

Ex:

this is a example : XXX
and XXX


... is then

this is a example : 1
and 2

Sunday, 3 June 2007

Ubuntu sticker: Windows Vista Dismissed

Inspired by a "Vista-Capable" User Avatar which said "Windows Vista incapable/ Stick with Windows XP", a Linux supporter made this cool sticker. Would be nice to see it available in real.



read more | digg story

Saturday, 26 May 2007

Dyndns Netopia Configuration

Telnet Connection

telnet
is something like 192.168.1.1

Commands:
>configure
>set dynamic-dns option [ off | dyndns.org ]
>set dynamic-dns ddns-host-name myhostname.dyndns.org
>set dynamic-dns ddns-user-name myusername
>set dynamic-dns ddns-user-password myuserpassword

Taken from www.netopia.com/support/hardware/SoftwareUserGuideV761-Clsc.pdf

Monday, 21 May 2007

Unlock the Gnome keyring upon login

If you are a Ubuntu and a network manager user, you have probably seen (and maybe see it each time you login) the unlock keyring dialog, and you are probably sick of it too. Here is a solution to that problem that works!

Avoid Network-manager ask for password. read more
Faire que le network-manager ne demande pas de mot de passe.
(en français ici si vous en avez marre-de-taper-votre-mot-de-passe-dans-nm-applet


Monday, 23 April 2007

Envy - Easy Way To Install Nvidia Drivers in Ubuntu

Envy an easy script to install Nvidia drivers by Alberto Milone, read more.


wget http://albertomilone.com/ubuntu/nvidia/scripts/
envy_0.8.1-0ubuntu6_all.deb

sudo dpkg -i envy_0.8.1-0ubuntu6_all.deb

Friday, 20 April 2007

See What Version of a Package Is Installed on Ubuntu

dpkg -s

Taken from: HowToGeek

Ubuntu computer" and "trash" icons on the Desktop

Open gconf-editor (sudo apt-get install gconf-editor) then :

apps -> nautilus -> desktop