Take a screenshot of a login screen

chvt 7 ; sleep 2 ; DISPLAY=:0.0 import -window root screenshot.png
when using Gnome or KDE, you will have a hard time getting a screenshot of something like a login screen, or any other screen that occurs before the desktop environment is up and monitoring the printscreen key. (this probably applies for other DEs as well, but I haven't used them) What this command is meant to do is take a screenshot of an X window using a command you can run from your virtual terminals (actual text terminals, not just an emulator) To do this: Press CTRL+ALT+F1 to go to a virtual (text) terminal once your login window comes up Login to the virtual terminal and enter the command (you'll have to type it in) You should now have a file called screenshot.png in your home directory with your screenshot in it. For those of you who are new to the virtual terminal thing, you can use CTRL+ALT+F7 to get back to your regular GUI From http://www.gnome.org

3
2010-08-20 17:28:49

What Others Think

Doesnt work. I get error: import: unable to open x server I guess I need to set XAUTHORITY but all my efforts have failed. I am using linux mint 13 kde . any suggestions ?
gmc · 355 weeks and 2 days ago
I had a premium account on Commandment.com and the last day, I forgot my password. I wasn’t being able to reset, then essayshift.com helped me to get rid of this problem.
Jerinsch · 110 weeks ago
AAA battery bigbasket http://mientaynet.com/advclick.php?o=textlink&u=15&l=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket aaa battery bigbasket http://www.castellodivezio.it/lingua.php?lingua=EN&url=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket http://www.lanrenmb.com/goto.php?url=aaa battery bigbasket http://www.avitop.com/aviation/link.asp?snd=294&url=https://www.bigbasket.com/pd/40264001/victorpro-intense-aaa-alkaline-battery-with-dual-anti-leak-seals-long-lasting-2-pcs" rel="dofollow">aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket http://gorodnews.ru/jumplink.php?url=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket http://soeisha.bona.jp/?wptouch_switch=desktop&redirect=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket http://monarchbeachmembers.play18.com/ViewSwitcher/SwitchView?mobile=False&returnUrl=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket http://archive.cym.org/conference/gotoads.asp?url=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket http://blog.newzgc.com/go.asp?url=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket http://www.publicbroadcasting.net/wrti/.jukebox?action=viewPodcast&podcastId=7003&url=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket aaa battery bigbasket http://cleopatraschoice.practicaldatacore.com/mod_email/services/pdClickTracking.php?messageId=00056x001fdaad&redirect=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket http://x.webdo.cc/global_outurl.php?now_url=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket http://id-api.nm.ftd.com.br/logout?url=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket http://www.shippingchina.com/pagead.php?id=RW4uU2hpcC5tYWluLjE=&tourl=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket http://www.anastasiasaffiliate.com/aw.aspx?B=177&A=114623&Task=Click&TargetURL=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket http://wayi.com.tw/wayi_center.aspx?flag=banner&url=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/&idno=443" rel="dofollow">aaa battery bigbasket http://server.tongbu.com/tbcloud/gmzb/gmzb.aspx?appleid=699470139&from=tui_jump&source=4001&url=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket http://airetota.w24.wh-2.com/BannerClic.asp?CampMail=N&CampId=19&url=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket http://www.gioventuserviziocivilenazionale.gov.it/umbraco/newsletterstudio/tracking/trackclick.aspx?nid=019098041150212080233251243158013164091152066154&e=136230108200032083192062168039010178178045226182102021156245003066150193106117056122142226206160&url=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket http://sandbox.vtcmobile.vn/accounts/sso/logout/?ur=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket http://tracer.blogads.com/click.php?zoneid=131231_RosaritoBeach_landingpage_itunes&rand=59076&url=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket aaa battery bigbasket http://cc.naver.jp/cc?a=dtl.topic&r=&i=&bw=1024&px=0&py=0&sx=-1&sy=-1&m=1&nsc=knews.viewpage&u=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket http://sportsinsights.actionnetwork.com/affiliatewiz/aw.aspx?B=53&A=188&Task=Click&TargetURL=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket http://bemidji.bigdealsmedia.net/include/sort.php?return_url=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/&sort=a:3:{s:9:%E2%80%9Ddirection%E2%80%9D;s:3:%E2%80%9DASC%E2%80%9D;s:5:%E2%80%9Dfield%E2%80%9D;s:15:%E2%80%9DItems.PriceList%E2%80%9D;s:5:%E2%80%9Dlabel%E2%80%9D;s:9:%E2%80%9Dvalue_asc%E2%80%9D;}" rel="dofollow">aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket
AAA11111 · 15 weeks ago
aaa battery Bigbasket aaa battery bigbasket http://www.nbsmedia.ru/bitrix/rk.php?goto=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket http://blog.ganprevoyance.fr/?wptouch_switch=desktop&redirect=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket aaa battery bigbasket http://lavoro.provincia.como.it/portale/LinkClick.aspx?link=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/&mid=935" rel="dofollow">aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket www.bigbasket.com/pd/40264001/victorpro-intense-aaa-alkaline-battery-with-dual-anti-leak-seals-long-lasting-2-pcs/" rel="dofollow">aaa battery bigbasket www.bigbasket.com/pd/40264001/victorpro-intense-aaa-alkaline-battery-with-dual-anti-leak-seals-long-lasting-2-pcs/" rel="dofollow">aaa battery bigbasket http://store.baberuthleague.org/changecurrency/1?returnurl=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket http://site1548.sesamehost.com/blog/?wptouch_switch=mobile&redirect=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket http://www.china-lottery.net/Login/logout?return=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket aaa battery bigbasket http://www.cycleni.com/Accessibility/SetTextSize.ashx?r=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket aaa battery bigbasket http://win.edscuola.eu/gotoURL.asp?url=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket http://rank-now.com/13/rl_out.cgi?id=hpafw&url=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket http://www.miningusa.com/adredir.asp?url=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket www.bigbasket.com/pd/40264001/victorpro-intense-aaa-alkaline-battery-with-dual-anti-leak-seals-long-lasting-2-pcs/" rel="dofollow">aaa battery bigbasket http://www.ktpusan.com/NEW/bin/search/jump.php?url=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket http://mobo.osport.ee/Home/SetLang?lang=cs&returnUrl=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket http://hotel.ybtour.co.kr/Common/Login/SignIn.aspx?returnUrl=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/&memberYn=Y" rel="dofollow">aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket http://ww.ypassociation.org/Click.aspx?url=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket aaa battery bigbasket http://clicks.questline.com/StandardCampaigns.ashx?redirectUrl=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/&email=TACMEDICWIFE@YAHOO.COM&linkOrdinal=6&standardCampaignSendId=bf7e4552-4dc5-4d8b-806b-def18da8df44&subscriberId=846f20cc-4150-4ea7-851d-2d0029d10a3f&isTest=False" rel="dofollow">aaa battery bigbasket
AAA11111 · 15 weeks ago
AAA battery bigbasket aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket http://track.ieema.org/skm/link/load/?uid=59fc532e1f2b1d245b8b457f-59fc5412ffa23e5f798bf0f8-59fc533f1f2b1d245b8b4580&uri=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket aaa battery bigbasket http://esvc000614.wic059u.server-web.com/includes/fillFrontArrays.asp?return=https://www.bigbasket.com/pd/40264001/victorpro-intense-aaa-alkaline-battery-with-dual-anti-leak-seals-long-lasting-2-pcs" rel="dofollow">aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket http://www.ediagroup.it/adredir.asp?url=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket http://elistingtracker.olr.com/redir.aspx?id=113771&sentid=165578&email=j.rosenberg1976@gmail.com&url=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket http://rtb-asiamax.tenmax.io/bid/click/1462922913409/e95f2c30-1706-11e6-a9b4-a9f6fe33c6df/3456/5332/?rUrl=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket aaa battery bigbasket http://www.sl-360.com/inc/gotourl.asp?url=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket aaa battery bigbasket http://www.thewebcomiclist.com/phpmyads/adclick.php?bannerid=653&zoneid=0&source=&dest=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket http://go.gomtv.com/rd?link_id=10805&code=SHARE_DREAMWIZ&send=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket aaa battery bigbasket http://campaign.unitwise.com/click?emid=31452&emsid=ee720b9f-a315-47ce-9552-fd5ee4c1c5fa&url=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket http://p113831.typo3server.info/index.php?id=34&type=0&jumpurl=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket aaa battery bigbasket http://manoeksportas.vz.lt/invitePage.do?id=309782144&url=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket aaa battery bigbasket http://epaper.dhf.org.tw/epapercounter/clicklink.aspx?epaper={0}&sno={1}&link=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket aaa battery bigbasket http://navi-mxm.dojin.com/cgi-bin/ys/rank.cgi?mode=link&id=3385&url=https://www.bigbasket.com/pd/40264001/victorpro-intense-aaa-alkaline-battery-with-dual-anti-leak-seals-long-lasting-2-pcs" rel="dofollow">aaa battery bigbasket aaa battery bigbasket aaa battery bigbasket http://vospitatel.deti-club.ru/redirect?url=https://www.bigbasket.com/pd/40199536/victor-ultra-gold-battery-aaa-10-pcs/" rel="dofollow">aaa battery bigbasket www.bigbasket.com/pd/40264001/victorpro-intense-aaa-alkaline-battery-with-dual-anti-leak-seals-long-lasting-2-pcs/" rel="dofollow">aaa battery bigbasket aaa battery bigbasket
AAA11111 · 15 weeks ago
Pug Puppies for Sale Near Me pugs puppies for sale teacup pugs for sale pug puppies for sale by owner pug puppies ohio PUG PUPPY FOR SALE NEAR ME PUG PUPPIES FOR SALE pug puppies for sale in kentucky Pug Puppies for Sale Under $500 Near Me pug puppies for sale in texas pug puppies for sale $200 pugs for sale near me under $500 pugs for sale under $400 near me pugs for sale near me puppies for sale near me under $500 pug puppies for sale under $1,000 near me pug for sale pug puppies for sale under $300 Brindle Pug Pitbull Pug Mix Pugs for sale cheap Cheap pug affordable pug puppies for sale near me black pugs for sale near me White Pugs for sale pug dog for sale free pug puppies pug puppies for sale in my area mn pug breeders pug puppies indiana pugs for sale michigan PUG PUPPY ADOPTION Pug puppies for sale Pug puppies for sale near me Pug puppies near me Pug Puppies for Sale Under $500 Near Me Cute Pug Puppies Black pug puppies Black pug puppies for sale pug puppies for adoption black pug puppies for sale near me chihuahua pug mix puppies how much is a pug puppy teacup pug puppies baby pug puppies pictures of pug puppies pug puppies for sale in Ohio pug puppies price pug mix puppies teacup pug puppies for sale best food for pug puppy newborn pug puppies pug puppies craigslist pug puppies for sale craigslist adorable pug puppies how much does a pug puppy cost Pitbull pug mix puppies pug pit mix puppy pug puppies for sale $200 pug puppies for sale in NJ Pug puppies for sale in Wisconsin pug puppy cost pug puppy food royal canin pug puppy royal canin pug puppy food fawn pug puppy pug puppies for sale florida pug puppies for sale in Indiana pug puppies for sale in KY pug puppies for sale in NC pug dog puppy AKC Registered Pug Puppies For sale cheap pug puppies for sale near me cheap pug puppies for sale in California cheap pug puppies for sale in nj Black Pug Puppies for sale pugs puppies for sale pug puppies indiana Amazing! This blog looks just like my old one! It's on a completely different subject but it has pretty much the same layout and design. Wonderful choice of colors!
rahimhh21 · 12 weeks and 6 days ago
Pug Puppies for Sale Near Me pugs puppies for sale teacup pugs for sale pug puppies for sale by owner pug puppies ohio PUG PUPPY FOR SALE NEAR ME PUG PUPPIES FOR SALE pug puppies for sale in kentucky Pug Puppies for Sale Under $500 Near Me pug puppies for sale in texas pug puppies for sale $200 pugs for sale near me under $500 pugs for sale under $400 near me pugs for sale near me puppies for sale near me under $500 pug puppies for sale under $1,000 near me pug for sale pug puppies for sale under $300 Brindle Pug Pitbull Pug Mix Pugs for sale cheap Cheap pug affordable pug puppies for sale near me black pugs for sale near me White Pugs for sale pug dog for sale free pug puppies pug puppies for sale in my area mn pug breeders pug puppies indiana pugs for sale michigan PUG PUPPY ADOPTION Pug puppies for sale Pug puppies for sale near me Pug puppies near me Pug Puppies for Sale Under $500 Near Me USA USA USA USA USA USA Cute Pug Puppies Black pug puppies Black pug puppies for sale pug puppies for adoption black pug puppies for sale near me chihuahua pug mix puppies how much is a pug puppy teacup pug puppies baby pug puppies baby pug puppies for sale pictures of pug puppies pug puppies for sale in Ohio pug puppies price pug mix puppies teacup pug puppies for sale best food for pug puppy newborn pug puppies pug puppies craigslist pug puppies for sale craigslist adorable pug puppies how much does a pug puppy cost Pitbull pug mix puppies pug pit mix puppy pug puppies for sale $200 pug puppies for sale in NJ Pug puppies for sale in Wisconsin pug puppy cost pug puppy food royal canin pug puppy royal canin pug puppy food fawn pug puppy pug puppies for sale florida pug puppies for sale in Indiana pug puppies for sale in KY pug puppies for sale in NC pug dog puppy AKC Registered Pug Puppies For sale cheap pug puppies for sale near me cheap pug puppies for sale in California cheap pug puppies for sale in nj Black Pug Puppies for sale pugs puppies for sale
Perfecthomepugs · 4 weeks ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: