Tagged Questions
12
votes
2answers
524 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
236 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 ...
2
votes
1answer
313 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?
2
votes
1answer
1k 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
860 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..?
6
votes
2answers
446 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
756 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 ...
10
votes
1answer
2k views
How do I find the window dimensions and position accurately?
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 ...
3
votes
4answers
2k 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
1k 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.
