说到在终端下截图,有人说,那还不简单,在 X 下开个虚拟终端,对窗口抓个图不就得了……
但是如果没有 X,在纯终端下面就没法这样干了……
解决的办法就是用 fbshot 这个小工具,他可以把终端的内容截取保存成 png 图片,使用非常方便,前提就是,你的终端已经配置成 framebuffer 的模式运行。
直接在 fbshot 后指定一个文件名,就可以了:
这样当前目录下会生成一个 shot.png,就是终端的截图。
fbshot 还有一个有用的参数 -s, -s 可以指定在抓图前等待几秒。如果你想 5 秒后抓图,只要:
不过这样一来,fbshot 就挂起了,你也无法运行别的程序,如果你想截取比如 top 这样的命令的运行界面,在这 5 秒内,你也没法运行 top,解决的办法是在 fbshot 命令后面加一个 &,让 fbshot 命令到后台去运行:
这样你就可以从容的启动想要的程序,等着 fbshot 帮你拍照了~
fbshot 生成图片的时候,会显示几行信息,诸如:“Grabing 1024x768....” 这样的信息,有时候会把这些文字也抓到图里去,只要把 fbshot 的输出定向到 /dev/null 就可以了:
此外,还有一个 fbgrab,和 fbshot 功能相同,用法也几乎一样,只不过在我的机子上,截出来的图片是花屏……
is-Programmer 是一个面向 Linux 爱好者与程序员的 Blog 系统,具有简洁的风格,方便的代码高亮和数学公式插入功能,适合撰写学习笔记和技术文档。
Host by is-Programmer.com | Power by Chito 1.3.3 beta
2008年1月14日 05:01 还可以试试 fbgrab : http://www.gracecode.com/Archive/Display/568
2008年1月14日 05:02 没有仔细看,不好意思 :D
2008年1月14日 05:10 我转,记得以前也用过另外一个,忘了名字,不过功能没有这么强大
2008年1月14日 05:16 @手气不错: 哇哈哈,阁下的blog我常去潜水~ @左倾45度: 加油想哈~
2008年1月15日 06:23 你的博客我可是每天都来的,呵呵
2023年8月16日 19:10
Almost all I can say is, I’m not sure what to express! Except certainly, for the great tips which have been shared within this blog. I’ll think of a million fun approaches to read the articles or blog posts on this site. I’m sure I will finally take a step employing your tips on those things I could not have been able to address alone. You are so innovative to let me be one of those to profit from your valuable information. Please know how much I enjoy the whole thing. NFL curtains vintage
2023年8月16日 21:07
Good post. I study one thing tougher on totally different blogs everyday. It can all the time be stimulating to learn content from different writers and observe a bit of something from their store. I’d favor to use some with the content material on my weblog whether or not you don’t mind. Natually I’ll offer you a link on your web blog. Thanks for sharing. openai
2023年8月19日 20:47
I thought it was going to be some boring old site, but I’m glad I visited. I will post a link to this page on my blog. I am sure my visitors will find that very useful. เว็บไซต์แทงบอล
2023年8月19日 23:34
Chances are you’ll even uncover a solution admirer for there are actually changes inside your like daily life and really like of everyday living – you have certainly not dreamed of, all without excessive effort in your portion! แทงบอลออนไลน์UFABET
2023年8月20日 17:41
You have remarked very interesting details! ps decent website. “Pray To ask that the laws of the universe be annulled in behalf of a single petitioner confessed unworthy.” by Ambrose Gwinett Bierce.. ทางเข้าUFABETดียังไง
2023年8月21日 14:40
I would like to thank you for the efforts you’ve put in writing this website. I am hoping the same high-grade site post from you in the upcoming also. In fact your creative writing abilities has inspired me to get my own website now. Actually the blogging is spreading its wings rapidly. Your write up is a great example of it. FLORIDA FAKE ID
2023年8月22日 18:26
It can be as well a considerable position i incredibly savored surfing around. Isn't really day by day that supply the candidate to watch a specific thing. buy scrap online
2023年8月23日 18:21
Can I just say that of a relief to locate someone who actually knows what theyre preaching about online. You definitely learn how to bring a problem to light and work out it important. The best way to ought to ought to see this and appreciate this side from the story. I cant believe youre less well-liked as you certainly possess the gift. เว็บบอลออนไลน์เว็บไหนดี
2023年8月23日 21:49
thank you for a really fascinating read, i hope you would do a follow up article considering i can never go through enough on this topic พนันออนไลน์ครบวงจร
2023年8月24日 15:20
Thank you for another informative blog. Where else could I get that kind of info written in such an ideal way? I’ve a project that I am just now working on, and I have been on the look out for such information. انترنت مجاني
2023年8月24日 19:52
It?s actually a cool and useful piece of info. I am satisfied that you simply shared this helpful info with us. Please stay us informed like this. Thanks for sharing. เว็บบอลออนไลน์UFA
2023年8月24日 20:55
You made some tight points there. I looked on the web for the difficulty and found most individuals will approve together with your blog. Miabet88
2023年8月25日 15:03
Nice post. I find out some thing very complicated on diverse blogs everyday. Most commonly it is stimulating to see content from other writers and employ a little something at their store. I’d choose to use some while using the content in my small blog no matter whether you don’t mind. Natually I’ll supply you with a link on your web blog. Many thanks for sharing. สมัครแทงบอลฟรี
2023年8月25日 18:39
magnificent issues altogether, you simply won emblem reader. What may you suggest in regards to your put up that you just made a few days in the past? Any positive? Nighty
2023年8月26日 23:03
This web page is actually a walk-through for all of the details you wished about it and didn’t know who to inquire about. Glimpse here, and you’ll absolutely discover it. Grand Cabin for rent in Islamabad
2023年8月27日 19:35
Intimately, the post is actually the freshest on that laudable topic. I match in with your conclusions and also definitely will thirstily look forward to your approaching updates. Just saying thanks can not simply be adequate, for the outstanding lucidity in your writing. I can immediately grab your rss feed to stay informed of any kind of updates. Solid work and much success in your business enterprize! 메이저사이트
2023年8月28日 16:04
My spouse and i like your content. It is usually good to watch any individual make clear throughout words and phrases over the heart as well as lucidity just for this important matter could possibly be speedily witnessed. login slot138
2023年8月28日 19:08
I adore each of the content, I seriously liked, I would really like details about it, since it is quite very good., Cheers intended for talking over. mawartoto login
2023年8月28日 23:15
We need many stories, Like genuinely appreciated, You want addiitional data over it, mainly because it can be reasonably exceptional., Take care exclusively for declaring. login panen138
2023年8月29日 22:08
All the great facts about News facts within few minutes. outdoor modular couch
2023年8月30日 16:02
Excellent blog! Do you have any recommendations for aspiring writers? I’m planning to start my own blog soon but I’m a little lost on everything. Would you recommend starting with a free platform like WordPress or go for a paid option? There are so many options out there that I’m totally confused .. Any ideas? Thanks! ANC headphones
2023年8月30日 18:39
Intimately, the post is actually the freshest on that laudable topic. I match in with your conclusions and also definitely will thirstily look forward to your approaching updates. Just saying thanks can not simply be adequate, for the outstanding lucidity in your writing. I can immediately grab your rss feed to stay informed of any kind of updates. Solid work and much success in your business enterprize! 메이저사이트
2023年8月31日 19:59
You could definitely see your enthusiasm within the work you write. The sector hopes for more passionate writers such as you who aren’t afraid to mention how they believe. All the time go after your heart. เกมแบบไหนหาได้จากเว็บพนันออนไลน์ไม่ผ่านเอเย่นต์
2023年9月01日 00:14
Attractive part of content. I just stumbled upon your web site and in accession capital to say that I get in fact enjoyed account your blog posts. Any way I will be subscribing for your feeds or even I achievement you get entry to constantly fast. buying gbl online
2023年9月04日 14:28
Quickly this site could indisputably generally always be dominant relating to every one of web site buyers, as a consequence of fastidious stories plus exams. how to buy tesla stock on etoro
2023年9月04日 14:37
My wife and i got so thrilled that Albert could do his researching via the precious recommendations he had out of your blog. It is now and again perplexing just to always be making a gift of techniques that many the others could have been selling. And we all fully grasp we need the writer to give thanks to for that. All of the explanations you’ve made, the simple blog navigation, the friendships you aid to foster – it’s got everything spectacular, and it’s helping our son in addition to the family know that that subject is satisfying, which is certainly extremely fundamental. Thanks for everything! 안전놀이터
2023年9月06日 20:47
Instantaneously the web page may irrefutably find popular very involving putting up shoppers, for the careful content pages or perhaps important testimonials. 토토사이트 추천
2023年9月07日 16:15
Saya suka cara Anda mengendalikan pancing dengan presisi menggunakan power handle. Itu pasti membuat pengalaman memancing lebih menyenangkan. REKOMENDASI REEL PANCING POWER HANDLE
2023年9月08日 23:53
Hey there just wanted to give you a quick heads up. The words in your article seem to be running off the screen in Safari. I’m not sure if this is a format issue or something to do with internet browser compatibility but I thought I’d post to let you know. The layout look great though! Hope you get the issue resolved soon. Cheers filmyzilla 2023
2023年9月09日 20:01
I got too much interesting stuff on your blog. I guess I am not the only one having all the enjoyment here! Keep up the good work. 토토사이트
2023年9月14日 22:16
When I originally commented I clicked the -Notify me when new surveys are added- checkbox and already every time a comment is added I buy four emails with the same comment. Perhaps there is that is you possibly can eliminate me from that service? Thanks! สล็อต
2023年9月20日 15:04
I also didn’t care for the over-the-top “final mission” where this particular platoon, led by the initially realistic but ultimately too heroic Aaron Cleftjaw, manages to locate (spoiler) and destroy the inevitable mothership. funny crocs slippers
2023年10月06日 19:48
Heya this is a good post. I’m going to e-mail this to my friends. I came on this while exploring on bing I’ll be sure to come back. thanks for sharing. chicken crocs clogs
2023年11月02日 19:13
Hello there, I discovered your site by way of Google whilst searching for a related topic, your website came up, it seems to be good. I’ve bookmarked it in my google bookmarks. Packers and Movers Kolkata to Kanpur
2023年11月08日 19:29
As i bought onto your web site nevertheless positioning focus purely a little bit little submits. Satisfying strategy for foreseeable future, I will be bookmarking each time receive people finish off arises in place. Nhà cái Fi88
2023年11月10日 23:16
Swiftly this web site can unquestionably become popular between almost all blogging and site-building folks, due to its meticulous posts or perhaps critiques. https://www.newapproach.org/play8oy2/
2023年11月11日 17:25
This amazing hearings completely acceptable. Most of simple facts are ready through great number connected with practical knowledge realistic expertise. Now i am confident the item all over again completely. OKEPLAY777
2023年11月11日 23:47
Their own acquired on your weblog even though deciding acknowledgement just a few tid little bit submits. Satisfying technique for future, I'll be book-marking before beginning get items summary spgs completely upward. go88
2023年11月13日 20:01
kantorbola99 , menyediakan beragam jenis permainan game slot online terbaru dengan RTP diatas 97 % . Sebagai link kantor bola resmi kami menyediakan beragam promo menarik mulai dari bonus harian , bonus mingguan serta bonus cashback . link kantor bola
2023年11月13日 23:03
I would recommend virtually any articles. It is usually great to work through you may describe inside terms coming from midsection not to mention image quality applying this beneficial articles is fairly basically identified. Buy weed wholesale in Australia
2023年11月14日 19:00
I’m not certain the place you are getting your information, however great topic. I must spend a while learning more or working out more. Thank you for magnificent info I was searching for this info for my mission. khuyến mãi f8bet
2023年11月16日 14:46
You need to take part in a contest personally of the most effective blogs over the internet. I’m going to suggest this web site! F8bet
2023年11月17日 20:36
I’ve recently started a web site, the information you offer on this site has helped me greatly. Thanks for all of your time & work. khuyến mãi 79king
2023年11月20日 18:49
Get daily teer result, shillong teer result, khanapara teer result, teer result common number daily success live teer result here. shillong teer result
2023年11月21日 20:58
Wanted posting. Loads of excellent writing here. I wish I saw it found the site sooner. Congrats! tỷ lệ bóng đá trực tuyến
2023年11月22日 19:06
I am usually to blogging and i genuinely appreciate your content regularly. This content has truly peaks my interest. I will bookmark your web site and maintain checking achievable details. f8bet casino
2023年11月23日 20:13
Quickly this site might irrefutably become well-known among most blogging and site-building people, because of the persistent posts as well as critiques. livescore7m
2023年11月25日 21:25
Youre so cool! I dont suppose Ive read anything in this way before. So nice to discover somebody with a few original thoughts on this subject. realy appreciation for beginning this up. this web site is something that is required over the internet, a person with a little originality. useful job for bringing something new to the web! Gates of Olympus slot
2023年11月26日 20:59
I have been browsing on-line more than three hours these days, yet I by no means found any interesting article like yours. It¡¦s beautiful worth sufficient for me. In my opinion, if all website owners and bloggers made excellent content as you probably did, the net will likely be much more helpful than ever before. UFABETสมัครแทงบอลฟรีไม่มีขั้นต่ำ
2023年11月28日 21:01
Quickly this particular web address may irrefutably wind up renowned between each and every composing lots of people, due to persistent content articles as well as evaluations as well as rankings. Alien Labs Disposable
2023年11月29日 18:16
Hello There. I found your blog the usage of msn. This is a very neatly written article. I will make sure to bookmark it and come back to read more of your helpful information. Thank you for the post. I will certainly return. 온라인카지노사이트
2023年11月29日 20:37
That'sthe valid reason promoting for which you desirable investigation before craft creating. It could be potential to write down upgraded post utilizing this. Dabwoods Vapes
2023年11月30日 16:22
I have seen a lot of useful points on your site about pc’s. However, I’ve the thoughts and opinions that notebooks are still not nearly powerful sufficiently to be a sensible choice if you frequently do jobs that require lots of power, for example video editing and enhancing. But for world wide web surfing, statement processing, and a lot other prevalent computer work they are just great, provided you do not mind the little screen size. Many thanks sharing your ideas. video sex
2023年11月30日 21:27
I have read a few excellent stuff here. Definitely price bookmarking for revisiting. I wonder how much attempt you set to create the sort of fantastic informative site. pappy van winkle for sale
2023年11月30日 23:11
Because of this , it truly is superior you can applicable research prior to providing. It will be possible to share larger document that way. pappy van winkle 10 year
2023年12月01日 20:15
Now i am attracted to people write-up. It can be best to locate persons verbalize within the cardiovascular system together with realizing in such a major topic is frequently purely observed. AutoPIPE Stress experts
2023年12月02日 16:29
There couple of intriguing points in time in this post but I do not know if I see these people center to heart. There is some validity but I most certainly will take hold opinion until I investigate it further. Great post , thanks and we want more! Included in FeedBurner likewise lunchtime result
2023年12月02日 20:44
Speedily this specific web page could without doubt become popular involving most writing a blog along with site-building persons, automobile thoughtful blogposts or possibly testimonials. daftar situs bokep
2023年12月02日 22:33
That's why it is best that you relevant researching previously penning. You're able to construct more desirable put up this way. video abg terbaru
2023年12月03日 18:33
Spot on with this write-up, I really believe this amazing site requirements far more consideration. I’ll more likely once again you just read a great deal more, many thanks that info. UFABETฟรีเครดิตแทงบอล
2023年12月04日 16:52
It’s quite hard to find a good site. And I think I am lucky enough to have come here. The posts are doing great and full of good insights. I would be glad to keep on coming back here to check for updates! đăng ký bong88
2023年12月04日 22:50
The main reason why it's always a lot better that one can significant researching preceding doing. You'll be able to share improved page using this method. children's smartwatch
2023年12月05日 14:17
The following is found 100 % most suitable. Every one of small-scale aspects are written and wide range of past recognizing. I want it plenty. skf bearing
2023年12月05日 17:35
Undeniably imagine that that you stated. Your favorite reason appeared to be at the internet the simplest thing to be aware of. I say to you, I definitely get irked whilst people consider concerns that they plainly don’t recognise about. You controlled to hit the nail upon the top and outlined out the whole thing with no need side-effects , people can take a signal. Will probably be back to get more. Thanks! trang chủ 8xbet
2023年12月06日 17:00
I like this site very much so much excellent information. đăng ký 78win
2023年12月08日 18:35
Excellent! I thank you your contribution to this matter. It has been insightful. my blog: how to turn a girl on THC Vape Pens
2023年12月08日 22:59
Great written content and great layout. Your blog deserves all the positive feedback it has been getting. ga179
2023年12月09日 00:19
thank you for a really fascinating read, i hope you would do a follow up article considering i can never go through enough on this topic News
2023年12月09日 15:00
I like prefer to reports, Generate liked, I will have a preference for extra information and facts making use of this, great deal of thought is particularly eye-catching., Bless you actually devised for crafting. dang ky jun88
2023年12月14日 17:25
When i ordered on your web page on the other hand setting concentration simply somewhat minor submits. Rewarding technique for near future, We are book-marking whenever get men and women down comes up available. 123b
2023年12月16日 15:15
Rapid each of our internet site probably will without doubt come to be reputed using the majority of functioning a new web site people, for the thoughtful content pieces as well as assessment content. Xo88
2023年12月21日 15:20
Hmm is anyone else having problems with the pictures on this blog loading? I’m trying to find out if its a problem on my end or if it’s the blog. Any feed-back would be greatly appreciated. plug and play pods
2023年12月22日 16:39
This is the most creative release from Guru Gang Starr and Solar. This classic Hip Hop album 7Grand Records
2024年1月03日 00:24
Just to follow up on the up-date of this subject on your web page and wish to let you know just how much I prized the time you took to publish this beneficial post. Within the post, you actually spoke regarding how to truly handle this challenge with all comfort. It would be my own pleasure to collect some more thoughts from your web-site and come up to offer other folks what I have benefited from you. Thanks for your usual good effort. bong da lu
2024年1月04日 19:26
Saya dan teman-teman saya sedang meninjau taktik bagus yang ditemukan di situs web Anda, lalu tiba-tiba timbul perasaan tidak enak karena saya tidak berterima kasih atas teknik tersebut. Oleh karena itu, anak-anak muda ini sudah bursa4d
2024年1月05日 20:54
Inilah sebabnya mengapa mendorong Anda untuk mencari yang tepat sebelum berkreasi. Tidak akan sulit untuk menuliskan artikel luar biasa dengan melakukan hal ini. Bali777
2024年1月06日 14:37
Substantially, the article is actually the freshest on that deserving topic. I harmonise with your conclusions and can eagerly look forward to your future updates. Saying thanks will not simply be enough, for the exceptional lucidity in your writing. I will certainly directly grab your rss feed to stay privy of any updates. Gratifying work and also much success in your business enterprize! #ไฮโลเว็บตรง
2024年1月06日 18:12
Promptly the internet site could possibly irrefutably receive credited extremely connected with placing people, to its diligent articles and reviews or maybe vital opinions. ufabet เว็บแม่ ไม่มี ขั้นต่ำ
2024年1月06日 21:33
I adore each of the content, I seriously liked, I would really like details about it, since it is quite very good., Cheers intended for talking over. พนันบอลออนไลน์ฟรี
2024年1月06日 23:10
This phenomenal hearings thoroughly correct. Most of low statistics are prepared by making usage of large number about feel effective skills. We're anxious the software once a whole lot. สล็อตบาคาร่า
2024年1月07日 01:53
Great website. Plenty of helpful information here. I am sending it to some buddies ans additionally sharing in delicious. And certainly, thanks in your effort! แทงบอล วอเลท
2024年1月08日 19:17
There is a number of other factors it is easy to do to halt the flood of comment spam, however the four concepts previously stated will contemplate cure with the most significant ingredient and make lifestyle so a lot simpler on you, and more tricky within the detrimental adult males. game vault login
2024年1月08日 21:35
People like numerous considerations, I actually essentially expert, I would personally have a preference for more information regarding the following, on the grounds that its magnificent., By using as a consequence of have dispersion. Affiliate Marketing Link Below