1
vote
0answers
103 views

List/query Open X11 Display Connections?

I am hitting this bug: NEWT errors when closing sketch on Linux · Issue #1651 · processing/processing · GitHub, when using Processing on Linux (Ubuntu 11.04); my messages are: X11Util.Display: ...
2
votes
1answer
93 views

Getting the value of the clipboard

Is there a command to output the current value of the clipboard? Example (this command doesn't exists, it's just an example of what I'm looking for: cat clipboard > Hello world! Also, if the ...
2
votes
0answers
121 views

Xorg Setting checking from Command Line

How do I determined, whether Xorg is using Xinerama, DDC and Reduced Blanking ?? Just adding few options in Xorg.conf is sufficient ? If I have to check from command-line, then how can I check ...
6
votes
1answer
451 views

Is there a command such as xwininfo, xdpyinfo, xprop, or xlsclient that will tell me what font an X client window is using?

I'm trying to find a command that will report what font a given X window is configured to use. Does such a command exist? Looking through these tools I did not see an option that would give me this: ...
4
votes
1answer
74 views

How can I get information about my virtual desktops via the command line?

I'm curious how I can get information such as the dimensions of my desktop, which desktop is currently active, and what labels (if any) are set for my desktop enviornment (DE).
4
votes
1answer
74 views

Computing the visible area of a partly hidden window

I have to (scriptly) take screenshots of windows, some of which may be partially or fully hidden by other windows. Of course, in such a case the screenshot is useless, and I'd rather print a warning. ...
1
vote
1answer
181 views

How can I blank the desktop via the command line?

How can I programmatically make my desktop blank (i.e. remove the icons and make it black) from the command line? I'd also like to be able to restore it afterwards. Multiple solutions are OK, Ubuntu, ...
4
votes
2answers
540 views

Is there a way to simulate a “Close” event on various windows using the terminal?

I answered on Ask Ubuntu Quit all instances of gnome-terminal via a command but as you all can read gnome-terminal didn't seems to have a SIGcall I could use to simulate this "Close" event. So this ...
2
votes
2answers
169 views

How do I find out the pixel depth of my graphic card?

Is there a command that can tell me which my graphic card is and its pixel-depth? I am running vncserver and I would like to learn which is the best parameter for pixeldepth (-depth).
4
votes
3answers
316 views

Screenshot of non active window

How to take a screen shot of non active window? If I have 2 windows, I want to capture the screenshot of the one which is running in the background.
14
votes
2answers
1k views

Copying files from command line to clipboard

In a GUI file manager it is possible to select a few files, press Ctrl-C (which supposedly copies come info about the files to clipboard), then navigate to another folder and press Ctrl-V, which will ...
5
votes
1answer
1k views

Send a command from the console to a running X server

Is it possible to send a command from the console, say tty1, to the terminal currently occupied with X (in my case tty7 as I use Debian), to tell for example mplayer to play a movie? Edit - made a ...
3
votes
1answer
1k views

Switch to an application using its PID

I'm using Gnome. In vim, I want to map a key to switch to Firefox. I know that I should use bash commands (a command in form of !...). Is it possible to switch to an application using its PID?
3
votes
1answer
3k views

Error in R: Unable to open connection to X11

I just set up a fedora distribution on my computer and am slowly trying to learn how to work from the command line. I was testing R which went fine, except for some reason when I tried again I ...
0
votes
1answer
2k views

How to use bash control a keyboard

How to use bash command control a Keyboard. e.g. what is a command in bash for pressing ctrl+c, ctrl+l, etc..?
10
votes
2answers
759 views

Manipulating X key and pointer grabs on the command line

What command line tools exist to list and manage X server grabs? (That's grab as in key and pointer grabs, i.e. restricting the use of a particular key or mouse button to a particular application, or ...
3
votes
2answers
2k views

How to refresh a window by terminal? Or how to simulate `F5`?

I would like a way to refresh a specific window by the terminal. Probably I will need a comand to find the id or the name of the window and a command to refresh it. It looks like xrefresh cannot do ...
14
votes
3answers
5k views

How do I find the window dimensions and position accurately including decorations?

I've been trying to figure out the size of a window for use in a small script. My current technique is using wmctrl -lG to find out the dimensions. However, the problem is this: The x and y figures ...
4
votes
5answers
4k views

How can I logout from a graphical environment from the command line?

Part of the beauty of trying out alpha releases of operating systems is that things will break, including things we take for granted. Today it's the turn of the logout button. So, how do you log out ...
3
votes
1answer
2k views

xmessage over ssh

The following command prints a message over ssh : xmessage Message -display :0 & How does it work? there is no -display option in xmessage's man page.