Use banshee as default music player
authorJulien Valroff <julien@kirya.net>
Wed, 17 Aug 2011 05:53:20 +0000 (07:53 +0200)
committerJulien Valroff <julien@kirya.net>
Wed, 17 Aug 2011 05:53:20 +0000 (07:53 +0200)
menu.xml
rc.xml

index cc5fb88..66f93ce 100644 (file)
--- a/menu.xml
+++ b/menu.xml
@@ -58,7 +58,7 @@
                <item label="Lecteur de musique">
                        <action name="Execute">
                                <execute>
-                                       ario
+                                       exaile
                                </execute>
                        </action>
                </item>
                </item>
                <item label="Mise en veille">
                        <action name="Execute">
+                <prompt>Mettre en veille ?</prompt>
                                <execute>
                                        dbus-send --system --print-reply  --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend
                                </execute>
                </item>
                <item label="Mise en veille prolongée">
                        <action name="Execute">
+                <prompt>Mettre en veille prolongée ?</prompt>
                                <execute>
                                        dbus-send --system --print-reply  --dest=org.freedesktop.UPower /org/freedesktop/UPower  org.freedesktop.UPower.Hibernate
                                </execute>
                </item>
                <separator/>
                <item label="Déconnexion">
-                       <action name="Execute">
-                               <execute>
-                                       openbox --exit
-                               </execute>
+            <action name="Execute">
+                <prompt>Se déconnecter ?</prompt>
+                <execute>openbox --exit</execute>
                        </action>
                </item>
                <item label="Redémarrer">
                        <action name="Execute">
+                <prompt>Redémarrer l'ordinateur ?</prompt>
                                <execute>
                                        dbus-send --system --print-reply  --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager  org.freedesktop.ConsoleKit.Manager.Restart
                                </execute>
                </item>
                <item label="Éteindre">
                        <action name="Execute">
+                <prompt>Éteindre l'ordinateur ?</prompt>
                                <execute>
                                        dbus-send --system --print-reply  --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager  org.freedesktop.ConsoleKit.Manager.Stop
                                </execute>
diff --git a/rc.xml b/rc.xml
index 7fe489b..119ff83 100644 (file)
--- a/rc.xml
+++ b/rc.xml
       <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="C-A-L">
       <action name="Execute">
         <execute>xscreensaver-command -lock</execute>