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.
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 ...