Remove useless parts of autostart script
[dotfiles/openbox.git] / rc.xml
diff --git a/rc.xml b/rc.xml
index 1eb4a22..2f04fab 100644 (file)
--- a/rc.xml
+++ b/rc.xml
@@ -67,7 +67,7 @@
       <name>Sans</name>
       <size>8</size>
       <!-- font size in points -->
-      <weight>Normal</weight>
+      <weight>Bold</weight>
       <!-- 'bold' or 'normal' -->
       <slant>Normal</slant>
       <!-- 'italic' or 'normal' -->
   </desktops>
   <resize>
     <drawContents>yes</drawContents>
-    <popupShow>Nonpixel</popupShow>
+    <popupShow>Always</popupShow>
     <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
     <popupPosition>Center</popupPosition>
     <!-- 'Center' or 'Top' -->
         <menu>client-menu</menu>
       </action>
     </keybind>
+    <keybind key="A-F5">
+      <action name="Iconify"/>
+    </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 -d 10 '%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 -->
     </keybind>
     <keybind key="C-A-Tab">
       <action name="NextWindow">
-          <allDesktops>yes</allDesktops>
+        <allDesktops>yes</allDesktops>
       </action>
     </keybind>
     <keybind key="C-A-S-Tab">
       <action name="PreviousWindow">
-          <allDesktops>yes</allDesktops>
+        <allDesktops>yes</allDesktops>
       </action>
     </keybind>
     <!-- Keybindings for running applications -->
       <action name="Execute">
         <startupnotify>
           <enabled>true</enabled>
-          <name>Web Browser</name>
+          <name>Navigateur Web</name>
         </startupnotify>
         <command>x-www-browser</command>
       </action>
     </keybind>
-    <keybind key="W-l">
+    <keybind key="W-h">
       <action name="Execute">
         <startupnotify>
           <enabled>true</enabled>
-          <name>Lock screen</name>
+          <name>Client de microblogging</name>
         </startupnotify>
-        <command>cb-lock</command>
+        <command>hotot</command>
       </action>
     </keybind>
     <keybind key="W-e">
       <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>vlc</command>
+        <command>banshee</command>
       </action>
     </keybind>
     <keybind key="W-v">
       <action name="Execute">
         <startupnotify>
           <enabled>true</enabled>
-          <name>Volume</name>
+          <name>Lecteur vidéo</name>
         </startupnotify>
-        <command>gnome-volume-control</command>
+        <command>vlc</command>
       </action>
     </keybind>
-    <keybind key="W-x">
+    <keybind key="W-j">
       <action name="Execute">
         <startupnotify>
           <enabled>true</enabled>
-          <name>Logout</name>
+          <name>Client Jabber</name>
         </startupnotify>
-        <command>openbox-logout</command>
+        <command>gajim</command>
       </action>
     </keybind>
     <keybind key="W-Tab">
         <menu>root-menu</menu>
       </action>
     </keybind>
-    <keybind key="A-C-q">
-      <action name="ShowMenu">
-        <menu>root-menu</menu>
+    <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>xscreensaver-command -lock</execute>
+      </action>
+    </keybind>
   </keyboard>
   <mouse>
     <dragThreshold>8</dragThreshold>
     <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
     <!-- system menu files on Debian systems -->
     <file>/var/lib/openbox/debian-menu.xml</file>
-    <file>debian-menu.xml</file>
+    <!--<file>debian-menu.xml</file>-->
     <file>menu.xml</file>
     <hideDelay>200</hideDelay>
     <middle>no</middle>
 
   # end of the example
 -->
-    <application name="gmessage">
-      <decor>no</decor>
-      <shade>no</shade>
-      <skip_pager>yes</skip_pager>
-      <skip_taskbar>yes</skip_taskbar>
-      <fullscreen>no</fullscreen>
-      <maximized>no</maximized>
+    <application name="firefox-bin" role="browser">
+      <position>
+        <x>35</x>
+        <y>0</y>
+      </position>
+      <maximized>vertical</maximized>
     </application>
-    <application name="openbox-logout">
-      <decor>no</decor>
-      <shade>no</shade>
-      <skip_pager>yes</skip_pager>
-      <fullscreen>no</fullscreen>
-      <maximized>no</maximized>
-      <layer>above</layer>
+    <application name="gimp" role="gimp-image-window">
+      <desktop>3</desktop>
+      <maximized>true</maximized>
+      <focus>true</focus>
     </application>
+    <application name="gimp" role="gimp-toolbox">
+      <skip_taskbar>true</skip_taskbar>
+    </application>
+    <application name="gimp" role="gimp-dock">
+      <skip_taskbar>true</skip_taskbar>
+    </application>
+    <application class="URxvt">
+      <position>
+        <x>80</x>
+        <y>0</y>
+      </position>
+    </application>
+    <application name="gajim.py" role="roster">
+      <position>
+        <x>-0</x>
+        <y>0</y>
+      </position>
+      <maximized>vertical</maximized>
+    </application>
+    <application name="hotot">
+      <position>
+        <x>-0</x>
+        <y>0</y>
+      </position>
+      <maximized>vertical</maximized>
+    </application>
+    <application name="bibble5">
+      <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>