Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

The NetworkManager Applet running on my Ubuntu can show me all wireless connections that I've made over the years with their names and last connection times. However, the applet does not allow me to save this list in a machine readable format (e.g. csv or xml). How could I do it? Is this list stored somewhere in the file system in plain text?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

I solved the problem with a quick and ugly commandline:

find $HOME/.gconf/system/networking/connections/ -name "%gconf.xml" | xargs -n 1 bash parse_wifi_conf.sh | grep -v '^\s*$'

where parse_wifi_conf.sh is defined as

cat $1 | egrep "Auto|\"id\"" | tr '\012' ' ' | sed 's/^.*mtime="\([^"]*\)".*>Auto \([^<]*\)<.*$/\1\t\2/'

This prints out two tab-separated columns: the timestamp of the last connection time and the name of the network.

share|improve this answer
facepalm can has gconftool? –  Hello71 Apr 12 '11 at 21:31
Hello71, can you be more specific? –  Kaarel Apr 12 '11 at 21:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.