1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
#!/usr/bin/ruby # path = "/desktop/gnome/lockdown" gclient = GConf::Client.default if ARGV[1].nil? puts "Pass a gconf path as the first arg." puts "Defaulting to " else path = ARGV[1] end gclient.all_entries("/desktop/gnome/lockdown").each do |entry| puts "Key: | Value: " end |

