Various changes
authorJulien Valroff <julien@kirya.net>
Fri, 19 Aug 2011 12:13:06 +0000 (14:13 +0200)
committerJulien Valroff <julien@kirya.net>
Fri, 19 Aug 2011 12:13:06 +0000 (14:13 +0200)
autostart.sh
menu.xml
rc.xml

index 907a757..f2d0ba2 100644 (file)
@@ -11,7 +11,7 @@ export GPG_AGENT_INFO
 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
 
 xrdb ~/.Xresources &
-xdg-user-dirs-update &
+#xdg-user-dirs-update &
 gnome-power-manager &
 xscreensaver &
 volumeicon &
@@ -33,6 +33,7 @@ if egrep -iq 'touchpad|click-pad' /proc/bus/input/devices; then
     synclient VertEdgeScroll=1 &
     synclient VertScrollDelta=15 &
     synclient TapButton1=1 &
+    syndaemon -i0.2 -d &
 fi
 
 # Export the dbus session address on startup so it can be used by cron
index 66f93ce..b28f3b9 100644 (file)
--- a/menu.xml
+++ b/menu.xml
                <separator/>
                <menu id="client-list-menu"/>
                <separator/>
-               <item label="Terminal">
+               <item label="Terminal (Win-F)">
                        <action name="Execute">
                                <execute>
                                        x-terminal-emulator
                                </execute>
                        </action>
                </item>
-               <item label="Navigateur Web">
+               <item label="Navigateur Web (Win-W)">
                        <action name="Execute">
                                <execute>
                                        x-www-browser
                                </execute>
                        </action>
                </item>
-               <item label="Gestionnaire de fichiers">
+               <item label="Gestionnaire de fichiers (Win-F)">
                        <action name="Execute">
                                <execute>
                                        thunar
                                </execute>
                        </action>
                </item>
-               <item label="Éditeur de texte">
+               <item label="Éditeur de texte (Win-E)">
                        <action name="Execute">
                                <execute>
                                        gvim
                                </execute>
                        </action>
                </item>
-               <item label="Client de microblogging">
+               <item label="Client de microblogging (Win-H)">
                        <action name="Execute">
                                <execute>
                                        hotot
                                </execute>
                        </action>
                </item>
-               <item label="Client Jabber">
+               <item label="Client Jabber (Win-J)">
                        <action name="Execute">
                                <execute>
                                        gajim
                                </execute>
                        </action>
                </item>
-               <item label="Lecteur de musique">
+               <item label="Lecteur de musique (Win-M)">
                        <action name="Execute">
                                <execute>
                                        exaile
                                </execute>
                        </action>
                </item>
-               <item label="Lecteur vidéos">
+               <item label="Lecteur vidéos (Win-V)">
                        <action name="Execute">
                                <execute>
                                        vlc
                        </item>
                </menu>
                <separator/>
-               <item label="Verrouiller l'écran">
+               <item label="Verrouiller l'écran (Ctrl-Alt-L)">
                        <action name="Execute">
                                <execute>
                                        xscreensaver-command -lock
                                </execute>
                        </action>
                </item>
-               <item label="Mise en veille">
+               <item label="Déconnexion (Ctrl-Alt-Del)">
                        <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>
-                       </action>
-               </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>
-                       </action>
-               </item>
-               <separator/>
-               <item label="Déconnexion">
-            <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>
-                       </action>
-               </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
+                    ~/scripts/logout.sh
                                </execute>
                        </action>
                </item>
diff --git a/rc.xml b/rc.xml
index 119ff83..532596d 100644 (file)
--- a/rc.xml
+++ b/rc.xml
         <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>
     </application>
     <application name="bibble5">
       <desktop>2</desktop>
-    </application>
+  </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>