How do I programatically take a screenshot of an application in Linux? I'm using c++. Any idea? For windows there are a lot of resources but I can't find anything for linux
Any help?
Thanks
Already answered here:
Screenshot of a windows application running under wine (linux)
Edit: if you want to do it in C, try Xlib.
Some links:
http://tronche.com/gui/x/xlib/
http://www.roard.com/docs/cookbook/cbsu19.html
If you just want a screen recorder, try using xvidcap. If you want to make your own, try looking at the sources. I'm not really sure how it works though. My guess is that it uses the XShm extension somehow.
Can't you just do this with http://www.imagemagick.org/script/index.php ?
It's usually onboard the linux repos, and you can do a lot more than just take a screen shot with it... http://tips.webdesign10.com/how-to-take-a-screenshot-on-ubuntu-linux
Related
I want to implement a browser based on Xilium.CefGlue that works on Windows and on Linux
I found a solution with Chromely. I implemented the Browser according to this Chromely tutorial and it works fine on Windows and on Linux.
Now I want to have more than one tabs. It seems to be possible, but chromely have to be extended as mentioned here.
I tried to use Avalonia and Chromely, but the are not compatible.
I found this question talking about a "Chromely.CefGlue.Gtk.Linux.Demo"-Project but no code of that project.
Can someone help me please?
I'm new to programming in general, and I'm currently working on a little game project in Python + pygame. One day I might want to work on my laptop, and the other day on my desktop.
How could I make it so that I can continue on my code from whatever computer I'll be working on?
You could compare it to working in the same document in Google Drive, from whatever device you want.
I've seen services like Github, Google Cloud Code, Microsoft Azure... could they be what I'm looking for?
Would it work storing my project folder in something like Microsoft Onedrive?
GitHub is exactly what you are looking for :)
Google: Version Control Systems
Try github desktop.
It works very well for me.
I am using VSTS 2012 for UI Automation on client machine which is connected through VMware.
The problem is with UI Test map. Whenever I try to capture or locate an object, VSTS takes long time to locate it. This is terribly consuming time.
Can someone please assist on how to overcome or this is something to do with VSTS behaviour?
Please assist ASAP.
Regards,
Start the remote session using this command:
mstsc /console.
You still get all the benefits like dynamic screen resolution, but control identification will be much faster.
I too came across this issue.
Im my experience, it was because of more number of controls been added in UIMap. If so, just create another UIMap and move some controls to the another UIMap.
I would like to hear from you after trying this. :)
We've just started to used bugzilla and I found the web interface quite slow and not user-friendly.
I'm wondering if anyone have a suggestion for a client desktop or a browser add-on running under windows.
I found the following page: https://wiki.mozilla.org/Bugzilla:Addons
Which one of these clients (or any other) is the best ? Any other suggestions ?
I already tried Deskzilla Lite, which seem pretty good. However, there is a lot of field (edit bug) that we don't use (i.e. hardware, os, url, depends on, etc). Is there a desktop client that allow to remove and customize the field used in the bug entry form? On this one, please do not answer I can customize the bugzilla templates, we don't want to use the web interface anyway.
Well it depends on your Bugzilla Version. Since I updated to 4.0 I've got no alternative to Deskzilla since MyZilla is not running anymore. LiveProject looks pretty neat but I never tested it, so... Deskzilla lite. :/
It's not quite a "programming" question, but I hope its related closely enough.
Do you know if it is possible to configure the browser in Linux (e.g. Firefox) to use Wine to create ActiveX objects? I would like to handle web pages that use:
var xmlDocument = new ActiveXObject( Msxml2.DOMDocument.4.0 )
etc. in Javascript.
I think you can only do that in Internet Explorer on Wine
ActiveXObject is part of the Windows Script host, and not available in Linux unless you can use Wine to install it.
As a side issue, the actual ActiveXObject is an instance of a windows application, and not generally available in Linux (especially not the MS Office suite).
Links:
Windows Scripting Host
Wine
Edit: Had Wine confused with Mono. Fixed now.
If you just want an xml document you can do that via standard javascript. Their is no need for ActiveX. Simply ask the document to parse the xml for you. Have a look on Mozilla Developers Centre. They have very good JS docs.
On another note, if you want cross browser web pages steer clear of ActiveX. Especailly with all its security holes.
you can see flash in firefox of linux. try used flash.