Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | |||
fichiers_config_openbox [Le 05/01/2015, 16:49] – DL plus simple des fichiers d'exemple YoBoY | fichiers_config_openbox [Le 25/09/2019, 17:02] (Version actuelle) – [autostart] 77.111.247.36 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ======Fichiers de configuration pour Openbox====== | ||
+ | Cette page propose trois exemples de fichiers de configuaration pour [[: | ||
+ | =====rc.xml===== | ||
+ | |||
+ | Voici un exemple de fichier rc.xml, très complet et commenté en français (dont vous pourrez vous inspirer pour établir le votre). | ||
+ | FIXME // | ||
+ | |||
+ | <code xml rc.xml> | ||
+ | <?xml version=" | ||
+ | <!-- Copier ce fichier dans $HOME/ | ||
+ | < | ||
+ | <!-- ################################################## | ||
+ | <!-- # Résistance aux bords de fenêtres/ | ||
+ | <!-- ################################################## | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | <!-- ################################################## | ||
+ | <!-- # Suivi de focus # --> | ||
+ | <!-- ################################################## | ||
+ | < | ||
+ | < | ||
+ | <!-- Donner le focus aux nouvelles fenêtres quand elles apparaissent (booléen) --> | ||
+ | < | ||
+ | <!-- Donner le focus aux fenêtres lorsque le pointeur les survole (booléen) --> | ||
+ | < | ||
+ | <!-- Si followMouse=' | ||
+ | < | ||
+ | <!-- Placer le focus sur la dernière fenêtre lors d'un basculement de bureau (booléen) | ||
+ | (si focusLast=' | ||
+ | < | ||
+ | <!-- Placer le focus en-dessous du pointeur quand celui-ci ne bouge pas --> | ||
+ | < | ||
+ | <!-- Si followMouse=' | ||
+ | </ | ||
+ | <!-- ################################################## | ||
+ | <!-- # Placement | ||
+ | <!-- ################################################## | ||
+ | < | ||
+ | < | ||
+ | <!-- Méthode de placement des fenêtres, ' | ||
+ | < | ||
+ | <!-- Si policy=' | ||
+ | < | ||
+ | <!-- Si policy=' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | </ | ||
+ | <!-- ################################################## | ||
+ | <!-- # Thème | ||
+ | <!-- ################################################## | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <!-- Ordre des boutons (les fenêtres doivent contenir au moins un bouton): | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | < | ||
+ | <!-- Les fenêtres sans décoration conservent une bordure (booléen) --> | ||
+ | < | ||
+ | <!-- Animer le réductions/ | ||
+ | <!-- ################################################## | ||
+ | <!-- # Polices | ||
+ | <!-- ################################################## | ||
+ | <font place=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | <!-- Titre de fenêtre active (weight=' | ||
+ | <font place=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | <!-- Titre de fenêtre inactive (weight=' | ||
+ | <font place=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | <!-- En-tête du menu (weight=' | ||
+ | <font place=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | <!-- Éléments du menu (weight=' | ||
+ | <font place=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | <!-- Affichages à l' | ||
+ | </ | ||
+ | < | ||
+ | <!-- ################################################## | ||
+ | <!-- # Bureaux | ||
+ | <!-- ################################################## | ||
+ | <!-- Ces paramètres ne sont utilisé qu'au démarrage, vous pouvez les modifier via | ||
+ | votre pager en cours de session. | ||
+ | Ce sont des valeurs par défaut qui ne seront utilisées que si aucune autre | ||
+ | n'est paramétrée par une application tierce, ou sauvegardée dans la session. | ||
+ | Utilisez obconf si vous souhaitez modifier ces paramètres sans avoir besoin | ||
+ | de se déconnecter/ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | <!-- Noms des bureaux ('noms persos' | ||
+ | < | ||
+ | <!-- Durée d' | ||
+ | Si popupTime=0, | ||
+ | </ | ||
+ | <!-- ################################################## | ||
+ | <!-- # Redimensionnement | ||
+ | <!-- ################################################## | ||
+ | < | ||
+ | < | ||
+ | <!-- Afficher le contenu de la fenêtre lors du redimensionnement (booléen) --> | ||
+ | < | ||
+ | <!-- Zone de notification dimension de la fenêtre: | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | < | ||
+ | <!-- Position de la notification (si popupShow=' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <!-- Si popupPosition=' | ||
+ | au dessus de la fenêtre, négative pour la placer en-dessous, ou ' | ||
+ | | ||
+ | </ | ||
+ | </ | ||
+ | <!-- ################################################## | ||
+ | <!-- # Marges | ||
+ | <!-- ################################################## | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <!-- Definir une marge sur un bord d' | ||
+ | | ||
+ | </ | ||
+ | <!-- ################################################## | ||
+ | <!-- # Dock # --> | ||
+ | <!-- ################################################## | ||
+ | < | ||
+ | < | ||
+ | <!-- Position du dock (px) (ex. ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | < | ||
+ | < | ||
+ | <!-- Si position=' | ||
+ | < | ||
+ | <!-- Orientation du dock (' | ||
+ | < | ||
+ | <!-- ??? (booléen) --> | ||
+ | < | ||
+ | <!-- Garder le dock au dessus des autres fenêtres ' | ||
+ | < | ||
+ | <!-- Masquer automatiquement (booléen) --> | ||
+ | < | ||
+ | <!-- Si autoHide=' | ||
+ | < | ||
+ | <!-- Si autoHide=' | ||
+ | < | ||
+ | <!-- ??? ' | ||
+ | </ | ||
+ | <!-- ################################################## | ||
+ | <!-- # Raccourcis clavier | ||
+ | <!-- ################################################## | ||
+ | <!-- Editer/ | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | | ||
+ | wrap = ??? (booléen) | ||
+ | Exemple: | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | <!-- Raccourcis pour le changement de bureau --> | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | <!-- Raccourcis des fenêtres --> | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <!-- Raccourcis pour le changement de fenêtre --> | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <!-- Raccourcis pour le lancement d' | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <keybind key=" | ||
+ | <action name=" | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | <!-- ################################################## | ||
+ | <!-- # Souris | ||
+ | <!-- ################################################## | ||
+ | < | ||
+ | <!-- Distance de seuil pour le drag (px) --> | ||
+ | < | ||
+ | <!-- Durée du double-clic (ms) (1000 = 1 second) --> | ||
+ | < | ||
+ | <!-- Changer de bureau quand une fenêtre passe un bord de l' | ||
+ | | ||
+ | <context name=" | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | </ | ||
+ | <context name=" | ||
+ | < | ||
+ | <action name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <context name=" | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <context name=" | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <context name=" | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <context name=" | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <context name=" | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | </ | ||
+ | <context name=" | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | </ | ||
+ | <context name=" | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | </ | ||
+ | <context name=" | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | </ | ||
+ | <context name=" | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | </ | ||
+ | <context name=" | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <context name=" | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | </ | ||
+ | <context name=" | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | </ | ||
+ | <context name=" | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | </ | ||
+ | <context name=" | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | </ | ||
+ | <context name=" | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | </ | ||
+ | <context name=" | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | <action name=" | ||
+ | </ | ||
+ | </ | ||
+ | <context name=" | ||
+ | <!-- Menus --> | ||
+ | < | ||
+ | <action name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <context name=" | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | < | ||
+ | <action name=" | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | <!-- You can specify more than one menu file in here and they are all loaded, | ||
+ | just don't make menu ids clash or, well, it'll be kind of pointless --> | ||
+ | <!-- default menu file (or custom one in $HOME/ | ||
+ | <!-- system menu files on Debian systems --> | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <!-- if a press-release lasts longer than this setting (in milliseconds), | ||
+ | menu is hidden again --> | ||
+ | < | ||
+ | <!-- center submenus vertically about the parent entry --> | ||
+ | < | ||
+ | <!-- time to delay before showing a submenu after hovering over the parent | ||
+ | | ||
+ | if this is a negative value, then the delay is infinite and the | ||
+ | | ||
+ | < | ||
+ | <!-- time to delay before hiding a submenu when selecting another | ||
+ | entry in parent menu --> | ||
+ | <!-- if this is a negative value, then the delay is infinite and the | ||
+ | | ||
+ | < | ||
+ | <!-- controls if icons appear in the client-list-(combined-)menu --> | ||
+ | < | ||
+ | <!-- show the manage desktops section in the client-list-(combined-)menu --> | ||
+ | </ | ||
+ | < | ||
+ | <!-- | ||
+ | # this is an example with comments through out. use these to make your | ||
+ | # own rules, but without the comments of course. | ||
+ | |||
+ | < | ||
+ | class=" | ||
+ | | ||
+ | | ||
+ | (if unspecified, | ||
+ | # the name or the class can be set, or both. this is used to match | ||
+ | # windows when they appear. role can optionally be set as well, to | ||
+ | # further restrict your matches. | ||
+ | |||
+ | # the name, class, and role use simple wildcard matching such as those | ||
+ | # used by a shell. you can use * to match any characters and ? to match | ||
+ | # any single character. | ||
+ | |||
+ | # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock, | ||
+ | # or desktop | ||
+ | |||
+ | # when multiple rules match a window, they will all be applied, in the | ||
+ | # order that they appear in this list | ||
+ | |||
+ | |||
+ | # each element can be left out or set to ' | ||
+ | # change that attribute of the window | ||
+ | |||
+ | < | ||
+ | # enable or disable window decorations | ||
+ | |||
+ | < | ||
+ | # make the window shaded when it appears, or not | ||
+ | |||
+ | < | ||
+ | # the position is only used if both an x and y coordinate are provided | ||
+ | # (and not set to ' | ||
+ | # when force is " | ||
+ | # says you want it placed elsewhere. | ||
+ | # applications who refuse to behave | ||
+ | < | ||
+ | # a number like 50, or ' | ||
+ | # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the | ||
+ | # right edge (or bottom). | ||
+ | < | ||
+ | < | ||
+ | # specifies the monitor in a xinerama setup. | ||
+ | # 1 is the first head, or ' | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | # if the window should try be given focus when it appears. if this is set | ||
+ | # to yes it doesn' | ||
+ | # restrictions may apply, but Openbox will try to | ||
+ | |||
+ | < | ||
+ | # 1 is the first desktop, ' | ||
+ | |||
+ | < | ||
+ | # ' | ||
+ | |||
+ | < | ||
+ | # make the window iconified when it appears, or not | ||
+ | |||
+ | < | ||
+ | # asks to not be shown in pagers | ||
+ | |||
+ | < | ||
+ | # asks to not be shown in taskbars. window cycling actions will also | ||
+ | # skip past such windows | ||
+ | |||
+ | < | ||
+ | # make the window in fullscreen mode when it appears | ||
+ | |||
+ | < | ||
+ | # ' | ||
+ | </ | ||
+ | |||
+ | # end of the example | ||
+ | --> | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | =====autostart===== | ||
+ | Le fichier // | ||
+ | <note important> | ||
+ | afin de pouvoir passer à la suite du script après son exécution.</ | ||
+ | |||
+ | Bien entendu chaque commande lancée doit avoir été installé auparavant. | ||
+ | |||
+ | <file / | ||
+ | #!/bin/bash | ||
+ | # Lance un Composite manager | ||
+ | xcompmgr -c -t-5 -l-5 -r4.2 -o.55 & | ||
+ | |||
+ | # NumLock ON (les utilisateurs aiment) | ||
+ | numlockx & | ||
+ | |||
+ | # SCIM support (pour les caractères non-Anglais) | ||
+ | scim -d & | ||
+ | |||
+ | # Et par exemple, pour un kiosque non intéractif : | ||
+ | chromium --kiosk --incognito https:// | ||
+ | </ | ||
+ | |||
+ | <note important> | ||
+ | |||
+ | '' | ||
+ | =====menu.xml===== | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | Voici un exemple de menu, donnant le résultat de la photo ci-dessus : | ||
+ | <note important> | ||
+ | Ne recopiez pas mot pour mot le contenu de cet exemple, ou adaptez-le à votre installation (programmes, | ||
+ | |||
+ | <code xml menu.xml> | ||
+ | <?xml version=" | ||
+ | < | ||
+ | < | ||
+ | <menu id=" | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | xfce4-screenshooter | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | gnome-calculator | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | gnome-character-map | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | ark | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <menu id=" | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | emacs | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | < | ||
+ | Emacs | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | gvim | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | < | ||
+ | GVim | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | geany | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | kwrite | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | kate | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | gedit | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <menu id=" | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | lxterminal | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | urxvt | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | gnome-terminal | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | xfce4-terminal | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | konsole | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | xterm | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <menu id=" | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | firefox | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | < | ||
+ | Firefox | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | opera | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | < | ||
+ | Opera | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | konqueror | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | epiphany | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | pidgin | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | kopete | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | xchat | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <menu id=" | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | xfig | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | gnuplot | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | gnumeric | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | kile | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | texmakerx | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | ooffice -base | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | ooffice -calc | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | ooffice -draw | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | ooffice -impress | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | ooffice -math | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | ooffice-printeradmin | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | ooffice -writer | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <menu id=" | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | xmms | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | exaile | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | banshee | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | listen | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | gmusicbrowser | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | mplayer -gui | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | amarok | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | rhythmbox | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | k3b | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | totem | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <menu id=" | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | pcmanfm | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | nautilus --no-desktop --browser | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | Thunar | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | kfmclient openURL ~ | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | rox | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | < | ||
+ | ROX-Filer | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <menu id=" | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | gnuplot | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | latexdraw | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | gimp | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | gwenview | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | dia | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | inkscape | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <menu id=" | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | aumix | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | nitrogen | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | obmenu | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | lxappearance | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | obconf | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | gnome-control-center | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | kcontrol | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | xfce-setting-show | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | yes | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | xdg-open http:// | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | no | ||
+ | </ | ||
+ | < | ||
+ | cups | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | <item label=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <menu id=" | ||
+ | < | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | lxterminal | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | pcmanfm | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | gvim | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | emacs | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | amarok | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | sylpheed | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | firefox | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | <menu id=" | ||
+ | <menu id=" | ||
+ | <menu id=" | ||
+ | <menu id=" | ||
+ | <menu id=" | ||
+ | <menu id=" | ||
+ | <menu id=" | ||
+ | <menu id=" | ||
+ | < | ||
+ | <menu id=" | ||
+ | < | ||
+ | <item label=" | ||
+ | < | ||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <note tip> |