| Author |
Message |
jopervasco
Joined: 25 Mar 2011 Posts: 186
|
Posted: Thu 14 Jul 2011, 07:03 Post subject:
recherche logiciel capture ecran |
|
bonjour, je recherche un logiciel capture écran simple et rapide. actuellement j'utilise mtPaint - snapshot sreen capture mais c'est un peu long...
je suis avec puppy 5.25
merci
_________________ Slacko 5.3.3 vraiment sympa
|
|
Back to top
|
|
 |
Béèm

Joined: 21 Nov 2006 Posts: 11782 Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
|
Posted: Thu 14 Jul 2011, 08:16 Post subject:
|
|
Je ne sais pas si c'est le cas en puppy 5.25.
Dans spup 310 la touche PrtScr (print screen) est lié à mtpaint snapshot.
Il suffit alors de faire la capture écran en sélectant une option dans la fenêtre.
Si ce n'est pas le cas en 5.25 il doit y avoir moyen de lié la touche PrtScr (ou une autre) à mtpaint snapshot.
_________________ Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
|
|
Back to top
|
|
 |
jopervasco
Joined: 25 Mar 2011 Posts: 186
|
Posted: Thu 14 Jul 2011, 08:22 Post subject:
|
|
merci non ça ne marche pas
mais ça m' intéresse la manip de lier un programme à un raccourci clavier !
_________________ Slacko 5.3.3 vraiment sympa
|
|
Back to top
|
|
 |
Dingo

Joined: 11 Dec 2007 Posts: 1397 Location: somewhere at the end of rainbow...
|
Posted: Thu 14 Jul 2011, 08:30 Post subject:
|
|
I recommend *snapall*
http://www.dokupuppylinux.co.cc/programs:screenshot
_________________ replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
|
|
Back to top
|
|
 |
jopervasco
Joined: 25 Mar 2011 Posts: 186
|
Posted: Thu 14 Jul 2011, 08:43 Post subject:
|
|
thanks,
sorry *snapall* does not work on my computer Puppy 5.25
_________________ Slacko 5.3.3 vraiment sympa
|
|
Back to top
|
|
 |
Béèm

Joined: 21 Nov 2006 Posts: 11782 Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
|
Posted: Thu 14 Jul 2011, 09:17 Post subject:
|
|
J'ai trouvé en /root/.jwm/jwmrc-personal: (spup)
| Code: | | <Key keycode="111">exec:mtpaintsnapshot.sh</Key> | quasi à la fin.
Essaie de l'ajouter.
_________________ Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
|
|
Back to top
|
|
 |
jopervasco
Joined: 25 Mar 2011 Posts: 186
|
Posted: Thu 14 Jul 2011, 09:29 Post subject:
|
|
bonjour j'ai essayé mais ça n'a pas l'air de fonctionner
ps je suis sur un portable, ce n'est peut-être pas le même code touche ?
_________________ Slacko 5.3.3 vraiment sympa
|
|
Back to top
|
|
 |
Béèm

Joined: 21 Nov 2006 Posts: 11782 Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
|
Posted: Thu 14 Jul 2011, 10:38 Post subject:
|
|
Vraisemblablement puisque tu n'a pas le script mtpaintsnapshot.sh.
Remplace dans le code mtpaintsnapshot.sh par mtpaint -s
_________________ Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
|
|
Back to top
|
|
 |
jopervasco
Joined: 25 Mar 2011 Posts: 186
|
Posted: Thu 14 Jul 2011, 11:00 Post subject:
|
|
bonjour
j'ai aussi essayé ce code dans le fichier
<Key key="F3">mtpaint -s</Key>
mais ça ne marche pas non plus...
en mode console | Code: | /usr/bin/mtpaintsnapshot.sh
| fonctionne
mais j'ai l'impression que aucun raccourci ne fonctionne.
_________________ Slacko 5.3.3 vraiment sympa
|
|
Back to top
|
|
 |
Béèm

Joined: 21 Nov 2006 Posts: 11782 Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
|
Posted: Thu 14 Jul 2011, 13:00 Post subject:
|
|
Je ne sais pas alors.
Je vais devoir aller en 5.25 pour voir plus loin.
_________________ Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
|
|
Back to top
|
|
 |
Béèm

Joined: 21 Nov 2006 Posts: 11782 Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
|
Posted: Thu 14 Jul 2011, 15:34 Post subject:
|
|
Voila que mon franc tombe.
Lucid utilise openbox/fbpanel n standard et pas JWM.
Les choses sont différents alors.
Je n'ai pas trouvé comment faire pour l'instant.
_________________ Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
|
|
Back to top
|
|
 |
vezuve

Joined: 24 Jan 2008 Posts: 1288
|
Posted: Thu 14 Jul 2011, 16:50 Post subject:
|
|
Hello,
Pour connaitre le key code d'une touche, il faut installer xev.
| fonctionnement wrote: | | Ouvrez le menu puis utilitaires et cliquez sur xev, une petit fenêtre appelé "envent tester" positionné sur celle de rxvt (console), si "envent tester" est déplacer, vous serez en mode console uniquement.La souris elle peut être positionner n'importe ou, toutefois la positionner dans rxvt sans cliquer dessus vous permet si vous voulez faire un copier coller en évitant de voir un défilement intempestif des événements et perdre votre keycode. |
@+
_________________ Recherche
sur PUPPY anglai + souven
PUPPY wikka tou sur tou anglai
|
|
Back to top
|
|
 |
Béèm

Joined: 21 Nov 2006 Posts: 11782 Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
|
Posted: Thu 14 Jul 2011, 17:22 Post subject:
|
|
Dans le fichier /root/.config/openbox/rc.xml chercher la section Keyboard et il faut y mettre
| Code: | | <keybind key="0x6f"><action name="Execute"><command>mtpaintsnapshot.sh</command></action></keybind> |
_________________ Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 2452 Location: Ontario
|
Posted: Thu 14 Jul 2011, 18:48 Post subject:
|
|
Pour comprendre le nombre associé à la touche
(en anglais le key code)....
http://www.murga-linux.com/puppy/viewtopic.php?t=68164
Je crois que Puppy Lucid a le programme xev à l'intérieur.
Vous associez la touche du clavier à la commande 'mtpaint -s'
| Code: | To get the number associated with a key you just have to type 'xev' in
the terminal. However if it is assigned to a program already you have to
quit from X server and get a prompt to type 'xev'
I got the following good info from wikipedia...
[code]
Using xev
Another way to get the keycodes of your keys is to use the graphical X program "xev" (without having to switch to a console environment). With the following line you can start xev and directly grep the important parts:
xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode /s/^.*keycode \([0-9]*\).* (.*, \(.*\)).*$/\1 \2/p'
In the example below I pressed the "a", "r", "c" and "h" keys and two of the media keys on my Dell keyboard. This gives me the following output:
38 a
27 r
54 c
43 h
153 NoSymbol
144 NoSymbol
This means that the "a", "r", "c" and "h" keys have the keycodes 38, 27, 54 and 43 and are properly bound while the media keys with the keycodes 153 and 144 have no function yet, which is indicated by "NoSymbol". If you press a key and nothing appears in the terminal, this means that the kernel doesn't see that key or that it is not mapped.[/code]
_______________________________________________________ |
Ainsi, la méthode pour découvrir le numéro de code est simple.
Juste expérimenter avec cette ligne de code dans le terminal
| Code: | xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode /s/^.*keycode \([0-9]*\).* (.*, \(.*\)).*$/\1 \2/p'
|
Quelques-unes des touches de commandes ont déjà des associations .
Comme F11 --> plein écran
J'ai obtenu cette information de wikipedia
https://wiki.archlinux.org/index.php/Extra_Keyboard_Keys
________________________________________________
|
|
Back to top
|
|
 |
Médor

Joined: 26 May 2011 Posts: 721
|
Posted: Fri 15 Jul 2011, 09:26 Post subject:
|
|
Bonjour,
Quel est le gestionnaire de fenêtres utilisé ?
S'il s'agit d'OpenBox :
Pour la touche Imprim écran (Print screen) le code "111" utilisé dans JWM
doit être remplacé par "0x6F" pour OpenBox.
Extrait de l'ASRI Educ V300 beta (Lucid 525) du fichier :
/root/.config/openbox/rc.xml
| Code: |
</keybind>
<keybind key="0x6F">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>ImpressionEcranComplet</name>
</startupnotify>
<command>fullshot</command>
</action> |
La commande "fullshot" utilisé ici est à remplacer par : mtpaint -s
ou bien par le script mtpaintsnapshot.sh si présent, à vérifier en le lançant
dans la Console...
Cordialement.
PS:
Relancer X après modification de rc.xml...
|
|
Back to top
|
|
 |
|