View previous topic :: View next topic |
Author |
Message |
flickerfly l33t
Joined: 08 Nov 2002 Posts: 677 Location: Lanham, MD
|
Posted: Mon Feb 03, 2003 4:48 pm Post subject: Competition: How many keystrokes to create a screenshots? |
|
|
I'm looking (simply for curiosity sake) for the fewest keystrokes to a finalized screenshot and how many ways we can come up with for the creation of a screen shot.
I'd give away a prize for it, but I haven't anything to give except some chocolate covered pretzels and a dead 14" monitor. I'll share if you can figure out how to get them from me electronically. (No teleportation devices!!)
I was inspired by AutoBot's now famous "Gentoo Desktop--- Whats Yours Look Like ?" at https://forums.gentoo.org/viewtopic.php?t=2460.
Rules:
1) keystroke count doesn't include "emerge <program>" or whatever you do for general config of said program.
2) keystroke count doesn't include opening a terminal
3) mouse click = keystroke
Let the games begin !! |
|
Back to top |
|
|
perry Tux's lil' helper
Joined: 18 Nov 2002 Posts: 142 Location: Cornfields of Indiana
|
Posted: Mon Feb 03, 2003 5:02 pm Post subject: |
|
|
4
Click(1) the kmenu button
Navigate w/ the mouse, w/o clicking, to graphics, more programs
Click(2) on ksnapshot
Click(3) on save snapshot
Click(4) on save
I now have a file on my desktop named snapshotx.jpg (I've switched it to jpeg in the past, it defaults to png which is acceptable).
If I wanted just a particular window, say Mozilla, it would just be 2 more. One to check "Only grab the window containing the pointer", and a second to hit "new shapshot". Don't have to click the window, just move the mouse over it. |
|
Back to top |
|
|
flickerfly l33t
Joined: 08 Nov 2002 Posts: 677 Location: Lanham, MD
|
|
Back to top |
|
|
Matje l33t
Joined: 29 Oct 2002 Posts: 619 Location: Hasselt, Belgium
|
Posted: Mon Feb 03, 2003 5:16 pm Post subject: |
|
|
In Gnome :
Click actions ==> Screenshot ==> Type filename ==> Press Save _________________ Life is like a box of chocolates... Before you know it, it's empty... |
|
Back to top |
|
|
flickerfly l33t
Joined: 08 Nov 2002 Posts: 677 Location: Lanham, MD
|
|
Back to top |
|
|
fyerk Apprentice
Joined: 17 Sep 2002 Posts: 212 Location: Atlanta, GA
|
Posted: Mon Feb 03, 2003 5:55 pm Post subject: |
|
|
Note: You need ImageMagick for this to work.
Make a file called screenshot and put it in /usr/local/bin
Code: |
#!/bin/sh
if [ -f /usr/bin/import ]
then
import -window root ~/ss.jpg
fi
|
Make it executable:
Code: |
chmod 755 /usr/local/bin/screenshot
|
Add this to your .fluxbox/menu
Code: |
[exec] (Screen Shot) {screenshot}
|
Then, right click, pick screenshot and a file named ss.jpg will be in your home directory. _________________ -David |
|
Back to top |
|
|
Uranus Guru
Joined: 07 May 2002 Posts: 438 Location: Portugal, Braga
|
Posted: Mon Feb 03, 2003 6:08 pm Post subject: |
|
|
that's cheating!
I could just as easily put the same program on my gnome desktop (and have nautilus execute on 1 click)... and all I'd have to do is click once |
|
Back to top |
|
|
morbuz n00b
Joined: 27 Dec 2002 Posts: 9 Location: Norway
|
Posted: Mon Feb 03, 2003 6:17 pm Post subject: For fluxbox |
|
|
Find the keycode for the PrntScrn-key using xev (in my case "111") and map this to some (preferably non-existing) key in ~/.xinitrc:
Code: | ~/.xinitrc:
xmodmap -e 'keycode 111=F15' # PrntScrn
exec fluxbox # start fluxbox
|
After you have done this you can add this line in your ~/.fluxbox/keys file:
Code: | ~/.fluxbox/keys:
None F15 :execCommand import -w root ~/`date +%Y%m%d%H%M`.png |
This will save a screenshot with the date and time as filename in your homedir when you press PrntScr (requires imagemagick).
Of course, you could map this to some other key, but I since you probably have a PrntScr key on your keyboard, why not use it for (almost) the same purpose it was designed for. |
|
Back to top |
|
|
Mindstab Apprentice
Joined: 02 Jan 2003 Posts: 271 Location: Vancouver, Canada
|
Posted: Mon Feb 03, 2003 6:18 pm Post subject: GKrellM |
|
|
Using the GkrellM shoot plugin its one click and a gkrellm*****.jpg is in my home directory, its a screenhot. Do it again and again, the timestamp that is part of the file name will change and you ll soon have a collection of screenshots.
right click it to configure the time out and if you want it to just grab a window instead of the desktop.
This is what I use for enlightenment and wil work fine for flux box and what ever other wm you use |
|
Back to top |
|
|
idl Retired Dev
Joined: 24 Dec 2002 Posts: 1728 Location: Nottingham, UK
|
Posted: Mon Feb 03, 2003 6:37 pm Post subject: |
|
|
Asign your windows key to the above shell scripts, bingo 1 keystroke |
|
Back to top |
|
|
Malakin Veteran
Joined: 14 Apr 2002 Posts: 1692 Location: Victoria BC Canada
|
Posted: Mon Feb 03, 2003 6:44 pm Post subject: |
|
|
Mozilla mouse gesture? zero keystrokes... |
|
Back to top |
|
|
flickerfly l33t
Joined: 08 Nov 2002 Posts: 677 Location: Lanham, MD
|
Posted: Mon Feb 03, 2003 6:44 pm Post subject: This is some great stuff |
|
|
I really like that PrnScrn key hack for fluxbox. My hats off to Edge and Morbux.
Notice goes to Mindstab for bringing up the Gkrellm method. Where do I get that plugin you mention?
And for Uranus, go for it and publish your steps that others may benefit.
For Edge and Morbux:
Addition to your challenge:
Can it be adjusted to work with an "Alt + PrnScrn" combination catching just one window similar to the way that Windows PrnScrn works to catch just an open window?
I know where I work the win folks love to send screen shots of windows for diagnostics rather then typing out the error message. It might be a great thing to have available if gentoo or fluxbox makes a business desktop. _________________ An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A |
|
Back to top |
|
|
flickerfly l33t
Joined: 08 Nov 2002 Posts: 677 Location: Lanham, MD
|
|
Back to top |
|
|
morbuz n00b
Joined: 27 Dec 2002 Posts: 9 Location: Norway
|
Posted: Mon Feb 03, 2003 7:11 pm Post subject: Re: This is some great stuff |
|
|
flickerfly wrote: |
For Edge and Morbuz:
Addition to your challenge:
Can it be adjusted to work with an "Alt + PrnScrn" combination catching just one window similar to the way that Windows PrnScrn works to catch just an open window? |
Probably not, I think you would need to hack the fluxbox-source to make that work.
Don't forget to send your patch to the developers |
|
Back to top |
|
|
flickerfly l33t
Joined: 08 Nov 2002 Posts: 677 Location: Lanham, MD
|
|
Back to top |
|
|
S_aIN_t Guru
Joined: 11 May 2002 Posts: 488 Location: Ottawa
|
Posted: Mon Feb 03, 2003 8:24 pm Post subject: Re: This is some great stuff |
|
|
morbuz wrote: | flickerfly wrote: |
For Edge and Morbuz:
Addition to your challenge:
Can it be adjusted to work with an "Alt + PrnScrn" combination catching just one window similar to the way that Windows PrnScrn works to catch just an open window? |
Probably not, I think you would need to hack the fluxbox-source to make that work.
Don't forget to send your patch to the developers |
it is possible to do that with xv.. it allows you to pick which widows you want to take a shot of .. _________________ "That which is overdesigned, too highly
specific, anticipates outcome; the anicipation of
outcome guatantees, if not failure, the
absence of grace."
- William Gibson, "All Tomorrow's Parties"
----
http://petro.tanreisoftware.com |
|
Back to top |
|
|
Malakin Veteran
Joined: 14 Apr 2002 Posts: 1692 Location: Victoria BC Canada
|
Posted: Mon Feb 03, 2003 8:24 pm Post subject: |
|
|
Quote: | Is this available in Phoenix as well? Could you spell out the steps? I didn't realize Moz had guestures, thought that was still an Opera original. |
I don't know about Phoenix but here's the Mozilla page, it's been available for quite some time.
http://optimoz.mozdev.org/gestures/installation.html |
|
Back to top |
|
|
Mindstab Apprentice
Joined: 02 Jan 2003 Posts: 271 Location: Vancouver, Canada
|
|
Back to top |
|
|
flickerfly l33t
Joined: 08 Nov 2002 Posts: 677 Location: Lanham, MD
|
Posted: Mon Feb 03, 2003 8:57 pm Post subject: Thanks |
|
|
Thanks Malkin and S_aiN_t
FYI: Mouse Guestures are compatible w/ Phoenix.
Portion of the FAQ for installing:
Quote: | Permission issues in mozilla/bin/chrome are a larget issue with the Mozilla XPI system. Installing as root and chmod -R *' in the mozilla/chrome/mozgest directory will help non-root users use chrome add-ons. Exact details follow:
1. Launch mozilla as root and install Mouse Gestures.
2. Then issue the following commands:
* cd mozilla/chrome/mozgest #Note: up to you to figure out where the mozilla directory is
* chmod -R 755 * #Issue command as root |
Probably isn't an ebuild package for this... at least "emerge -S gestures" and emerge -S optimoz" gives 0 matches. Would be easier for us Gentoo users that way though. _________________ An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A |
|
Back to top |
|
|
flickerfly l33t
Joined: 08 Nov 2002 Posts: 677 Location: Lanham, MD
|
|
Back to top |
|
|
darktux Veteran
Joined: 16 Nov 2002 Posts: 1086 Location: Coimbra, Portugal
|
Posted: Tue Feb 04, 2003 1:59 am Post subject: |
|
|
Matje wrote: | In Gnome :
Click actions ==> Screenshot ==> Type filename ==> Press Save |
From the "Help Browser - Working With Menus"
Quote: |
You can take a screenshot in any of the following ways:
-----------------------------------------------------------
Use shortcut keysTo take a screenshot, use the following shortcut keys:Default Shortcut KeysFunctionPrint ScreenTakes a screenshot of the entire screen, and displays the Screenshot dialog. Use the Screenshot dialog to save the screenshot.Alt+Print ScreenTakes a screenshot of the window that has focus, and displays the Screenshot dialog. Use the Screenshot dialog to save the screenshot. You can use the Keyboard Shortcuts preference tool to modify the default shortcut keys
|
(Gnome) _________________ Lego my ego, and I'll lego your knowledge
www.tuxslare.org - My reborn website |
|
Back to top |
|
|
ChazeFroy n00b
Joined: 26 Sep 2002 Posts: 27
|
Posted: Tue Feb 04, 2003 2:25 pm Post subject: |
|
|
The one command I always use is "xwd" because it does not matter what window manager you are using. Sure, it's a few extra keystrokes; but it's good to use this command instead of KDE- or Gnome-specific screenshot commands:
xwd -root > foobar
Then just fire up Gimp and convert it to your favorite format. |
|
Back to top |
|
|
flickerfly l33t
Joined: 08 Nov 2002 Posts: 677 Location: Lanham, MD
|
|
Back to top |
|
|
Matje l33t
Joined: 29 Oct 2002 Posts: 619 Location: Hasselt, Belgium
|
Posted: Tue Feb 04, 2003 2:41 pm Post subject: |
|
|
I just had an idea
Add one of the scripts above to your crontab: no more keystrokes, just wait untill the next *ZAP* _________________ Life is like a box of chocolates... Before you know it, it's empty... |
|
Back to top |
|
|
flickerfly l33t
Joined: 08 Nov 2002 Posts: 677 Location: Lanham, MD
|
Posted: Tue Feb 04, 2003 2:52 pm Post subject: Continuation of an idea... |
|
|
Matje wrote: | I just had an idea
Add one of the scripts above to your crontab: no more keystrokes, just wait untill the next *ZAP* |
Maybe you could even set it up the script to place it in a web accessible folder and post a reply to "Gentoo Desktop--- Whats Yours Look Like ?". It would almost be like a webcam of your desktop.
NOTE:: Scarry to think what kind of information you would be giving away though. _________________ An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A |
|
Back to top |
|
|
|