LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-12-2010, 07:01 AM   #1
centguy
Member
 
Registered: Feb 2008
Posts: 627
Blog Entries: 1

Rep: Reputation: 48
software to highlight an area in the screen and drop the content in openoffice


Is there a software that can capture a rectangle on the screen defined by a mouse click and drag in which the content is saved the buffer somewhere in png format and then I can cut and paste it to openoffice in one step ? This way I don't have to use a screencapture the whole screen and then pop up imagemagic and then crop the image, save it and read it from openoffice.

I just need to find a software to increase my productivity. Thanks!
 
Old 01-12-2010, 07:13 AM   #2
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
I use xfce 4.6,
there is a plugin, named "Take Screenshot"

Using this I don't have to grab the whole desktop, I grab only what i want and immediately it gets saved in a png.

Last edited by Aquarius_Girl; 01-12-2010 at 07:16 AM.
 
Old 01-12-2010, 07:24 AM   #3
centguy
Member
 
Registered: Feb 2008
Posts: 627

Original Poster
Blog Entries: 1

Rep: Reputation: 48
ummm.. can the content be saved in the mouse buffer ? Can you define the rectangle on the fly ? I just want to
drop it straight onto openoffice without intermediate steps.
I am using gnome where Applications -> Accessories -> Take Screenshots
is your xcfe equivalent I think.
 
Old 01-12-2010, 07:30 AM   #4
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by centguy
Can you define the rectangle on the fly
What do you mean by defining a rectangle on the fly ?

I have configured this plugin !

Any way, when I click on this plugin, the cursor changes to a '+' sign and then I can take screenshots of whatever thing i want and it saves it to png file (AND THAT'S THE ONLY INTERMEDIATE STEP)!

Last edited by Aquarius_Girl; 01-12-2010 at 07:31 AM.
 
Old 01-12-2010, 08:05 AM   #5
centguy
Member
 
Registered: Feb 2008
Posts: 627

Original Poster
Blog Entries: 1

Rep: Reputation: 48
Define a rectangle on the fly as in click and drag a rectangle (as in
display of imagemagic).

I don't know how to configure a plugin for gnome. Is it possible ?
What application is that ? There must be a name for it.

Thanks!
 
Old 01-12-2010, 08:19 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
The only time I have seen a function to capture part of the screen is in GIMP. Very nice feature that they have added.

Before putting an image into a text document, I would always want to "tune it up" in GIMP or equivalent.
 
Old 01-12-2010, 08:29 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
These scripts use ImageMagick and provide a cross hair
to define a rectangle : 1) RANDOM_jpg
Code:
#!/bin/sh
import screen$RANDOM.jpg;
exit 0;
2) TIME_jpg
Code:
#!/bin/sh
import $time `date '+%Y-%m-%d-%T'`.jpg;
exit 0;
Make the script(s) executable and click the script ..
.....

Last edited by knudfl; 01-12-2010 at 08:31 AM.
 
1 members found this post helpful.
Old 01-12-2010, 05:35 PM   #8
centguy
Member
 
Registered: Feb 2008
Posts: 627

Original Poster
Blog Entries: 1

Rep: Reputation: 48
knudfl,

The first scripts is wonderful. I used import before to capture the entire window. Now I know that I can actually define a rectangle with that !
Thanks!!

My system does not know $time, so I don't know what the second script is trying to do.

Last edited by centguy; 01-12-2010 at 05:38 PM.
 
Old 01-12-2010, 05:53 PM   #9
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
"take screenshot" available lots of places

Both Gnome and KDE, in addition to the xfce mentioned, have utilities (applets, plug-ins, ...) that grap part of the GUI screen into an image format. One can then drop this image into any rich text document.

If you have desktop terminal (xterm, konsole, ...) output that you want to add to your document, this is a simple cut or copy and paste. Each terminal application has its own dance, but in general (1) highlight with your mouse, (2) keystroke to copy or cut, (3) navigate to the other application, (4) keystroke or right-click to paste.

Enjoy,
~~~ 0;-Dan
 
Old 01-13-2010, 12:30 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The command :

import $time `date '+%Y-%m-%d-%T'`.jpg

.. will create : 2010-01-13-07:29:37.jpg
.. in this very second.

TIME should be usable on any Linux. I guess.

May be
import $TIME `date '+%Y-%m-%d-%T'`.jpg
will work for you ?
.....

Last edited by knudfl; 01-13-2010 at 12:33 AM.
 
Old 01-13-2010, 06:32 AM   #11
phunkymunky
Member
 
Registered: Aug 2003
Location: Glasgow, Scotland
Distribution: Slackware 14.0, Debian 7.0
Posts: 60

Rep: Reputation: 22
The screenshot app in KDE (kscreenshot ?? possibly) allows you to select an area of screen to capture by using the mouse. I use this a lot to put images into my documents(OpenOffice) for college.
 
Old 01-13-2010, 09:43 AM   #12
centguy
Member
 
Registered: Feb 2008
Posts: 627

Original Poster
Blog Entries: 1

Rep: Reputation: 48
knudfl:

I like you down to earth approach. I tried

import `date '+%Y-%m-%d-%T'`.png

it worked. I believe there is no need to use $time or $TIME.

Frankly I still don't know exactly what others are trying to say,
I can only summarize what I have learned:

(1) just issue "import a.png", click and drag to create a rectangle. a.png is saved on the harddrive.

(2)In openoffice, use Insert -> From File -> Navigate and get a.png
to read it to openoffice.


Through the discussions, I only save one step i.e. I don't have to do a screen capture of the ENTIRE screen and run "display a.png" to crop
and save the trimmed image.

Ideally I want to save the image in a buffer and then a Clt-v to paste
it straight onto openoffice. I don't even want to name a temporary file
called a.png ! Question: Can this be done ? Be more explicit please (I don't know what plugins except those in firefox). Thanks!
 
Old 02-07-2010, 10:20 PM   #13
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by centguy
Define a rectangle on the fly as in click and drag a rectangle (as in
display of imagemagic).

I don't know how to configure a plugin for gnome. Is it possible ?
What application is that ? There must be a name for it.
Now I remember, that tool's called "Screenshot" and hereby I have attached one of its preferences window !

Today I saw that it has the option to copy the contents to the clipboard and I suppose you can paste it also somewhere then, Have a look at the attached png.

Last edited by Aquarius_Girl; 02-16-2015 at 11:57 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
text highlight color in openoffice mcd Linux - Software 4 07-28-2010 06:50 PM
OpenOffice Writer and automatically configure content page. Azazwa Linux - Software 1 05-25-2009 09:32 AM
taskbar extends below screen area verbose Linux - General 1 07-11-2006 10:42 PM
Screen area really small worldgnat Linux - Hardware 2 06-09-2006 02:59 PM
How to change screen area? Asif Linux - Newbie 1 01-08-2002 01:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration