#comments begin with the # character #you can run something at startup (or restart) with begin=`a perl command` #some examples: #begin=`system("rootv -verbose -bg -station Nine &")` #begin=`system("xawtv &")` #this just runs my version of zapping which I've hacked to #allow no user input, and to start up fullscsreen behind all #other windows. #i've commented it out because you probably won't have that program #begin=`system("safe-root-zapping &")` #config settings start with % %orient=h %gtkrc=/usr/share/themes/BHgtk/gtk/gtkrc %decorations=0 %pos=0,0 #you can assign variables with name=value and then use them like $name #control=sudo -u gdm /usr/bin/v4lctl #control=v4lctl control=safe-root-zapping-control #here is an example of evaluating a perl expression. procid=`$$` #here is an example of evaluating a shell command. #note that this is different from the example using system() #above, as the double-backticks here (``) make sure the #result gets assigned to the variable uid=``id -nu`` #the buttons start below. The format is text,command #if no ',command' is present, a label is created, otherwise #a button is created #blank lines are ignored #by default, extra spaces are stripped to allow for indenting #but you can force spaces by using quotes. #you can use %close and %restart to quit or restart the panel Close,%close Restart,%restart #you can easily add spacing between buttons like this: " " #as you can see, you can use vars in the text or command section Running as: $uid (pid:$procid) " " VCR,$setstation VCR SBS,$control setstation SBS ABC,$control setstation ABC Seven,$control setstation Seven Nine,$control setstation Nine Ten,$control setstation Ten Station " < ",$control setstation prev " > ",$control setstation next Volume " - ",$control volume dec 5% " + ",$control volume inc 5% " x ",$control volume mute Brightness " - ",$control bright dec 10% " + ",$control bright inc 10%