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 05-04-2014, 01:20 PM   #1
julianvb
Member
 
Registered: Apr 2009
Posts: 390

Rep: Reputation: 3
Capturing display screen in Ubuntu 12.04 based on MacBook Pro laptop


I would like to capture the screen in Ubuntu 12.04 based on a MacBook Pro laptop, which does not feature a screenprint key. Any help will be much appreciated.

Julianvb

Last edited by julianvb; 05-05-2014 at 12:39 AM.
 
Old 05-04-2014, 06:53 PM   #2
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
1) what is Linux 12.04?
2) generally it depends on a window system you use, but try scrot or anything… anyway maybe this would be helpful: https://wiki.archlinux.org/index.php...g_a_screenshot
 
Old 05-04-2014, 06:54 PM   #3
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,112
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Type

Code:
scrot
in terminal and see what happens.

http://www.freesoftwaremagazine.com/...ots_with_scrot


or

https://www.youtube.com/watch?v=l4WmdpoNbCg
 
Old 05-04-2014, 07:10 PM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
If you have ImageMagick installed, then this command will do a full screen capture after a 5 second delay
Code:
sleep 5; import -window root ~/Desktop/snapshot.png
and this command will capture a single window selected with a mouse click
Code:
import -window $(xwininfo | awk '/Window id/{printf "%d", $4}') ~/Desktop/wsnapshot.png
 
Old 05-05-2014, 12:05 AM   #5
julianvb
Member
 
Registered: Apr 2009
Posts: 390

Original Poster
Rep: Reputation: 3
Answer to Post #2:

Sorry. I meant Ubuntu 12.04 instead of Linux 12.04.

Julianvb
 
Old 05-05-2014, 02:58 AM   #6
julianvb
Member
 
Registered: Apr 2009
Posts: 390

Original Poster
Rep: Reputation: 3
Hi, Ygrex, rockytnji and Allend,

I am happy to report that tonight I somehow re-discovered a very user-friendly screen-capturing program in Ubuntu 12.04 via Dash Home > Recent Apps > Screenshot. I works very well in capturing a screen or window. This seems to be the only way I can invoke it in my MacBook Pro-based Ubuntu 12.04 system. I think it is a GUI-only program since it cannot be called from the command line.

Thanks very much for your help.

Julianvb

Last edited by julianvb; 05-05-2014 at 03:01 AM.
 
  


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
Macbook Pro 6,2 screen is garbled during boot-up zaru Debian 4 10-15-2013 08:36 AM
Display MacBook Pro on Samsung television with Fedora tron_thomas Linux - Hardware 4 02-21-2010 07:13 PM
Linux on a macbook/macbook pro... any experiences/problems, or is it even necessary? enigma_0Z Linux - Laptop and Netbook 13 09-14-2007 10:29 PM

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

All times are GMT -5. The time now is 10:23 AM.

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