NetworkManager and resolv.conf

November 13, 2008 - 3 comments

I’m under Debian Lenny at work.

I installed the VPNC plugin (Cisco VPN) for NetworkManager today.
I usually always connect to OpenVPN tunnels with the OpenVPN plugin, which works pretty well (at least on NM 0.6.6).

After installing the VPNC plugin, I started having issues with my OpenVPN tunnels.. I was not able to resolve remote hostnames correctly.

The problem was that my resolv.conf didn’t get updated upon connection to the OpenVPN.

When installing network-manager-vpnc-gnome, a dependency named “resolvconf” got installed along. The package somewhat protected /etc/resolv.conf from being updated.

After getting rid of resolvconf, my OpenVPN VPNs are working again !
Also, this didn’t prevent the Cisco VPN from working..

I need to check out what that resolvconf package is all about.. if someone has a clue, please comment :)

Sending “Ctrl-Alt-Del” command to VNC client under Gnome

November 8, 2007 - 5 comments

The problem : you want to send the “Ctrl-Alt-Del” command to a remote VNC server to unlock a Windows session, but you are under Gnome and all it does is opening a window with Gnome session options (lock session, restart, etc.)

How to unlock a Windows session : Press “Shift-Ctrl-Alt-Del”.

May seem obvious, but it tooks me a few minutes to figure out.

Also, vncviewer.exe runs perfectly fine using Wine, probably better than the VNC clients available under Ubuntu.

Subversion integration to Nautilus

August 26, 2007 - 2 comments

$ sudo apt-get install nautilus-script-collection-svn
$ nautilus-script-manager enable Subversion

Restart your computer (or if you are more experienced either restart Gnome (ctrl+alt+backspace) or kill nautilus)

Now, there’s a new submenu when right-clicking on a directory/file

Link : http://packages.ubuntu.com/gutsy/devel/nautilus-script-collection-svn

Ubuntu Studio artwork under Ubuntu “classic”

July 16, 2007 - No comment

Add this to /etc/apt/sources.list :
deb http://archive.ubuntustudio.org/ubuntustudio feisty main

Then at the command line type :
$ wget -q http://archive.ubuntustudio.org/ubuntustudio.gpg -O- | sudo apt-key add -

Then install the artwork packages :
- ubuntustudio-gdm-theme
- ubuntustudio-icon-theme
- ubuntustudio-sounds
- ubuntustudio-theme
- ubuntustudio-wallpapers

Some packages are optionals, of course.
You may want to install others, like screensaver or splashcreen

To get an idea of what it looks like :
Google is your friend :)

Faster Gnome menus

July 13, 2007 - No comment

Edit the file “.gtkrc-2.0″ under your home directory :
$ cd ~
$ gedit ./gtkrc-2.0

Add :
gtk-menu-popup-delay = 100

100 for 100 ms

Log off and log back in.

Gnome : change autohide panel behavior

Tested under Ubuntu only

You can change some settings of the autohide feature of gnome panels (task bar).

Like by default, if set to autohide, the bar is not disappearing completely.

In a terminal :
$ gconf-editor

Then go under the key :
- /apps/panel/toplevels/top_panel_screen0
- /apps/panel/toplevels/bottom_panel_screen0

The interesting keys are :
auto_hide_size : set this to 0 if you want the bar to completely disappear
hide_delay : change how fast the bar would hide
unhide_delay : same for unhide..

Eye-candy Ubuntu 7.04

April 23, 2007 - No comment

My personal top 3 for a nice looking desktop.

1. Install Beryl from the repositories

2. Install subpixel font rendering : explained here

3. Prettify the Firefox widgets : explained here
Backup of the widget package at http://www.wains.be/pub/firefox-widgets-10.tar.bz2