Index: /linux/traycommand/traycommand
===================================================================
--- /linux/traycommand/traycommand	(revision 1883)
+++ /linux/traycommand/traycommand	(revision 2275)
@@ -10,9 +10,17 @@
 end
 
+begin
+	require 'gconf2'
+rescue LoadError
+	$stderr << "########################################################\n"
+	$stderr << "# In order to run this programm you need ruby-gconf2!  #\n"
+	$stderr << "########################################################\n"
+	raise
+end
+
 require 'yaml'
 require 'pp'
 require 'optparse'
 require 'ostruct'
-require 'gconf2'
 
 TRAYCOMMANDVERSION = [0,1]
@@ -40,4 +48,5 @@
 begin
 	optpars.parse!
+	$options.configfile ||= "layoutswitch.yaml"
 rescue => e
 	puts e
