Tag Info

New answers tagged

-1

xdotool is good enough to do so. Run xdotool getactivewindow and you'll see the result (int) The window can be over ANY monitor. Just read where is located the x11 pointer waiting for a click :), and no matter if it's a remote window, a vncserver or the 3rd desktop of the cube desktop environment. Just works. You can play it using sleep for better testing ...


1

I keep all third-party sources in /usr/local/src, whether they come from a tarball or some third-party SCM host. (Why there? Because the default install prefix is /usr/local for most packages, so why not keep the sources alongside the binaries?) Thus, to set this up a new development machine, I simply say $ cd /usr/local/src $ sudo chown $USER . $ scp -r ...


1

myrepos could be appropriate here; it allows you to manage multiple source code repositories of different types. You can describe all your repositories in a single configuration file, and manage them simultaneously or separately as appropriate. I don't think a centralised configuration management tool such as Chef or Ansible would be a good fit here...



Top 50 recent answers are included