This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Capture a Selection to the Clipboard

34

Votes
34
0
Tags: ksnapshot, screenshot ksnapshot, screenshot ksnapshot, screenshot
(comma "," separated)
majoraccent
Registered Member
Posts
2
Karma
0
On MacOSX, there is a feature called "Capture a selection to the Clipboard", where the key combination Shift-Control-Command-4 allows a selection box to be placed over any area of the screen, which is then copied to the clipboard. This allows a much more streamlined approached to pasting small screen areas into documents:

"new" current method: with "ksnapshot --region"

1) hit shortuct
2) select needed area
3) hit enter
4) hit copy to clipboard
5) paste into final document


Suggested Method:
1) keyboard shortcut for capture selection
2) select needed area
3) paste into final document

A command line option for ksnapshot that will allow the command "ksnapshot -region -clipboard" to automatically send the selection to the clipboard will allow this more streamlined option.

Update: Ideally, there will be three options: clipboard, save, open with. By assigning the appropriate command line setting to the desired keybinding, any functionality can be created with minimal effort.

Last edited by majoraccent on Wed Aug 25, 2010 3:09 pm, edited 6 times in total.
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS
ksnapshot has a "screen region" option and a "copy to clipboard" option, so the current method is more like:

1) open ksnapshot
2) set capture method to region
3) click "new snapshot"
3) select needed area
4) hit enter
5) hit copy to clipboard
6) paste into final document

If you set "ksnapshot --region" to the a keyboard shortcut, it is even easier:

1) hit shortuct
2) select needed area
3) hit enter
4) hit copy to clipboard
5) paste into final document

I think a better suggestion would be to have command-line options in ksnapshot for the various results, "save as", "open with...", and "copy to clipboard".

Although your idea is technically valid, I think it would be better if you modified your idea to make it about ksnapshot having those command-line options.


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965
majoraccent
Registered Member
Posts
2
Karma
0
Original post updated to reflect ksnapshot's options.
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS
As I said, I think it would be better if all of the three options (clipboard, save, open with) were available from the commandline as opposed to just one.


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965
User avatar
Vistaus
Registered Member
Posts
109
Karma
0
OS

Capture a Selection to the Clipboard

Wed Aug 25, 2010 11:06 am
TheBlackCat wrote:As I said, I think it would be better if all of the three options (clipboard, save, open with) were available from the commandline as opposed to just one.


Not that I want to copy all things of Mac, but the Mac OSX-method for doing this is more user-friendly than a command-line option.
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS
The point about command-line options is that they can then be assigned to keyboard shortcuts. Once that is done there is no need to worry about the commandline at all.


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965
pablofeldman90
Registered Member
Posts
9
Karma
0
OS

Capture a Selection to the Clipboard

Sat Aug 28, 2010 11:58 pm
I think must be a shurtcut for each of this options.... in gnome with compiz, you could configure it


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]