5
votes
2answers
643 views

Taking a screenshot (within X)

How can I take a screenshot in X.org? I am unsure if the Print Screen button will "just work" and I don't know how I would go about testing it.
4
votes
2answers
365 views

How to list all running X applications?

I'd like to get a list of all of the apps (across all users) on my machine that are talking to the X server. What's the most reliable way to do that? Find the socket X runs on and lsof for connections ...