Remove useless parts of autostart script
[dotfiles/openbox.git] / rc.xml
diff --git a/rc.xml b/rc.xml
index 9d87a06..2f04fab 100644 (file)
--- a/rc.xml
+++ b/rc.xml
 
        use obconf if you want to change these without having to log out
        and back in -->
-    <number>3</number>
+    <number>2</number>
     <firstdesk>1</firstdesk>
     <names>
       <name>1</name>
     </keybind>
     <keybind key="Print">
       <action name="Execute">
-        <execute>scrot '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/Images/ &amp; eog ~/Images/$f'</execute>
+        <execute>xfce4-screenshooter -w -o eog</execute>
       </action>
     </keybind>
     <keybind key="A-Print">
       <action name="Execute">
-        <execute>scrot -sbe '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/Images/ &amp; eog ~/Images/$f'</execute>
+        <execute>xfce4-screenshooter -f -o eog</execute>
       </action>
     </keybind>
     <!-- Keybindings for window switching -->
       <action name="Execute">
         <startupnotify>
           <enabled>true</enabled>
-          <name>Editor</name>
+          <name>Éditeur de texte</name>
         </startupnotify>
         <command>gvim</command>
       </action>
       <action name="Execute">
         <startupnotify>
           <enabled>true</enabled>
-          <name>Mediaplayer</name>
+          <name>Lecteur de musique</name>
+        </startupnotify>
+        <command>banshee</command>
+      </action>
+    </keybind>
+    <keybind key="W-v">
+      <action name="Execute">
+        <startupnotify>
+          <enabled>true</enabled>
+          <name>Lecteur vidéo</name>
         </startupnotify>
         <command>vlc</command>
       </action>
         <menu>root-menu</menu>
       </action>
     </keybind>
+    <keybind key="XF86AudioStop">
+      <action name="Execute">
+        <command>banshee -\-stop</command>
+      </action>
+    </keybind>
+    <keybind key="XF86AudioPlay">
+      <action name="Execute">
+        <command>banshee -\-toggle-playing</command>
+      </action>
+    </keybind>
+    <keybind key="XF86AudioNext">
+      <action name="Execute">
+        <command>banshee -\-next</command>
+      </action>
+    </keybind>
+    <keybind key="XF86AudioPrevious">
+      <action name="Execute">
+        <command>banshee -\-previous</command>
+      </action>
+    </keybind>
+    -->
     <keybind key="XF86AudioRaiseVolume">
       <action name="Execute">
         <command>amixer set Master 5%+ unmute</command>
         <command>amixer set Master toggle</command>
       </action>
     </keybind>
+    <keybind key="XF86Calculator">
+      <action name="Execute">
+        <command>gcalctool</command>
+      </action>
+    </keybind>
+    <keybind key="XF86WebCam">
+      <action name="Execute">
+        <command>cheese</command>
+      </action>
+    </keybind>
+    <keybind key="XF86Launch6">
+      <action name="Execute">
+        <command>toggle-touchpad</command>
+      </action>
+    </keybind>
+    <keybind key="C-A-Delete">
+      <action name="Execute">
+          <execute>~/scripts/logout.sh</execute>
+      </action>
+    </keybind>
     <keybind key="C-A-L">
       <action name="Execute">
-        <execute>gnome-screensaver-command -\-lock</execute>
+        <execute>xscreensaver-command -lock</execute>
       </action>
     </keybind>
   </keyboard>
       <maximized>vertical</maximized>
     </application>
     <application name="bibble5">
-      <desktop>3</desktop>
-      <fullscreen>yes</fullscreen>
-    </application>
+      <desktop>2</desktop>
+  </application>
+  <application name="zenity">
+    <decor>no</decor>
+    <focus>yes</focus>
+    <position>
+        <x>center</x>
+        <y>center</y>
+    </position>
+    <layer>above</layer>
+    <skip_taskbar>yes</skip_taskbar>
+    <skip_pager>yes</skip_pager>
+  </application>
   </applications>
 </openbox_config>