issue151:tutoriel1
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 | Dernière révisionLes deux révisions suivantes | ||
issue151:tutoriel1 [2019/12/06 08:35] – d52fr | issue151:tutoriel1 [2019/12/06 09:16] – auntiee | ||
---|---|---|---|
Ligne 3: | Ligne 3: | ||
My screen is 1600x 900, and my menu button for my Whisker Menu is in the top left. Though 0,0 is the topmost left spot, this does not open my menu, so I move the mouse slightly to 5,5. My menu also has its panels swapped around, so moving my mouse diagonally changes the menu layout as my mouse would move over different sections, changing the other panel. To overcome this, I first move my mouse slightly – onto the menu, then across, then down, before clicking on the terminal. (OR one could use key presses, but I wanted you to see a problem and fix a problem on your own). There are many ways to skin a cat in Linux, so if you did it another way, congratulations. ** | My screen is 1600x 900, and my menu button for my Whisker Menu is in the top left. Though 0,0 is the topmost left spot, this does not open my menu, so I move the mouse slightly to 5,5. My menu also has its panels swapped around, so moving my mouse diagonally changes the menu layout as my mouse would move over different sections, changing the other panel. To overcome this, I first move my mouse slightly – onto the menu, then across, then down, before clicking on the terminal. (OR one could use key presses, but I wanted you to see a problem and fix a problem on your own). There are many ways to skin a cat in Linux, so if you did it another way, congratulations. ** | ||
- | Re-bonjour ! Dans ce numéro, nous continuons notre voyage dans l' | + | Re-bonjour ! Dans ce numéro, nous continuons notre voyage dans l' |
- | Mon écran est en 1600 x 900 et mon bouton du menu Whisker est en haut à gauche. Bien que 0,0 soit le point le plus en haut à gauche, ça n' | + | Mon écran est en 1600 x 900 et le bouton du menu Whisker est en haut à gauche. Bien que 0,0 soit le point le plus en haut à gauche, ça n' |
**I know some of you have already figured out that this tool can be used for clicking in farmville or whatever clicker is the rage these days. That is good; it means you are applying a solution to a problem. We will look at this kind of thing in a later issue; for now, I want to get beginners to Ubuntu, or those of you who have not even heard of ‘xdotool’, | **I know some of you have already figured out that this tool can be used for clicking in farmville or whatever clicker is the rage these days. That is good; it means you are applying a solution to a problem. We will look at this kind of thing in a later issue; for now, I want to get beginners to Ubuntu, or those of you who have not even heard of ‘xdotool’, | ||
Ligne 11: | Ligne 11: | ||
Up to now we have been using mousepad as an example. What if you do not know the name of the window you want to work with? That is where another tool comes in handy – wmctrl. Your homework: please go to the man page and look at the very first example. That’s what we will be doing to get the info on open windows. This will not only list windows, but panels and docks too, which is very handy. The number on the left is the window ID. This will be important later; for now, just know where to find it. Back to our journey. We have clicked the menu button, but we could also open it with a keyboard combination. (In my case, ctrl+esc on Xubuntu). We can even go directly to the terminal via the terminal shortcut ; whatever you set it to be in your system.** | Up to now we have been using mousepad as an example. What if you do not know the name of the window you want to work with? That is where another tool comes in handy – wmctrl. Your homework: please go to the man page and look at the very first example. That’s what we will be doing to get the info on open windows. This will not only list windows, but panels and docks too, which is very handy. The number on the left is the window ID. This will be important later; for now, just know where to find it. Back to our journey. We have clicked the menu button, but we could also open it with a keyboard combination. (In my case, ctrl+esc on Xubuntu). We can even go directly to the terminal via the terminal shortcut ; whatever you set it to be in your system.** | ||
- | Je sais que certains d' | + | Je sais que certains d' |
- | Jusqu'à maintenant, nous avons utilisé mousepad comme exemple. Que se passe-t-il si vous ne connaissez pas le nom de la fenêtre avec laquelle vous voulez travailler ? C'est là qu'un autre outil est pratique - wmctrl. Vos devoirs du soir : allez, s'il vous plaît, sur la page man et regardez le tout premier exemple. C'est ce que nous voulons faire pour obtenir des informations sur les fenêtres ouvertes. Non seulement il liste les fenêtres, mais aussi les panneaux et les docks, ce qui est très pratique. Le numéro à gauche est le numéro d' | + | Jusqu'ici, nous avons utilisé mousepad comme exemple. Que se passe-t-il si vous ne connaissez pas le nom de la fenêtre avec laquelle vous voulez travailler ? C'est là qu'un autre outil est pratique - wmctrl. Vos devoirs du soir : allez, s'il vous plaît, sur la page man et regardez le tout premier exemple. C'est ce que nous ferons |
**BUT WAIT, THERE' | **BUT WAIT, THERE' | ||
Ligne 46: | Ligne 46: | ||
Les exemples ci-dessus sont spécifiques à XFCE, mais ça marche aussi avec les autres bureaux - si votre commande n' | Les exemples ci-dessus sont spécifiques à XFCE, mais ça marche aussi avec les autres bureaux - si votre commande n' | ||
- | La beauté de « xdotool » vient de ce qu'il fonctionne aussi par SSH, de sorte que, si vous avez besoin de quelque chose de répétitif ou de l' | + | La beauté de « xdotool » vient de ce qu'il fonctionne aussi par SSH, de sorte que, si vous avez besoin de faire quelque chose de répétitif ou d'automatiser |
- | Si vous avez des suggestions ou des questions, merci de nous le faire savoir. Vous pouvez aussi nous envoyer vos meilleurs | + | Si vous avez des suggestions ou des questions, merci de nous le faire savoir. Vous pouvez aussi nous envoyer vos astucieux |
issue151/tutoriel1.txt · Dernière modification : 2019/12/06 16:45 de andre_domenech