3
votes
4answers
2k views

How to send keystrokes (F5) from terminal to a process?

I'm using an Raspberry Pi in combination with Chromium (kiosk mode) to show up some stats. The Pi doesn't have an connected keyboard so I searched for a solution to send keystrokes from the terminal ...
3
votes
2answers
192 views

Get PID of the application running in the active terminal emulator

My end goal is to be able to open a new terminal window (urxvt) directly in the current working directory of the program running in the window currently active. I'm currently using the shell (Bash), ...
0
votes
1answer
199 views

Move terminal emulator process from xorg to tty? [duplicate]

Is it possible (and if so, how?) to move a process from a terminal emulator running in X to a different virtual terminal, so that I can restart the X server without killing the process running in the ...
2
votes
2answers
137 views

what happens when a window manager is put to background

I am trying to understand the situation why .xsession file expects the last process to be in foreground otherwise it is supposed to stop X11 session. I have a small stand-alone script. when I run ...
2
votes
1answer
455 views

What process created this window with no PID associated? [duplicate]

Possible Duplicate: What process created this X11 window? I need to kill a process that spawned a window which seems to have no PID associated with it. At least that is what xdotool says: ...
2
votes
1answer
163 views

How can I log what software I use the most?

I really like using open source software and would like to help fund further development. Unfortunately, I have limited funds to do so. Being somewhat greedy, I would like to donate to the projects I ...
17
votes
5answers
4k views

What process created this X11 window?

Given an X11 window ID, is there a way to find the ID of the process that created it? Of course this isn't always possible, for example if the window came over a TCP connection. For that case I'd ...