How can it be did using Python(in Ubuntu)?
screen = wnck.screen_get_default()
window = screen.get_active_window()
pid = window.get_pid()
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
2 years ago