I use three monitors with two of them used for the host (Win7) and one for linux (fullscreened VM). I grew tired of having to click inside the VM window to be able to send input to it so I chopped together this AutoHotkey script that will activate it on mouse over. This mimics how a separate PC setup with its own monitor and Synergy works and feels a lot more... correct/intuitive/good/blargh than having to click.
Labels
- linux (21)
- script (15)
- css (12)
- bash (9)
- cli (9)
- customize (8)
- stylish (7)
- windows (6)
- firefox (5)
- userchrome.css (5)
- xbmc (5)
- ahk (3)
- autohotkey (3)
- command line (3)
- tt-rss (3)
- ubuntu (3)
- SQL (2)
- automation (2)
- batch (2)
- config (2)
- google reader (2)
- javascript (2)
- mpd (2)
- photos (2)
- spotify (2)
- virtualbox (2)
- API (1)
- GW2 (1)
- Guild Wars 2 (1)
- SQL Server (1)
- android (1)
- animals (1)
- arch linux (1)
- backup (1)
- bukkit (1)
- c# (1)
- cross browser (1)
- curl (1)
- debian (1)
- deluge (1)
- ext.net (1)
- facebook (1)
- flexget (1)
- flowers (1)
- gentoo (1)
- greasemonkey (1)
- kodi (1)
- openbox (1)
- pidgin (1)
- python (1)
- raspberry (1)
- rpi (1)
- scriptish (1)
- tasker (1)
- tellstick (1)
- tmux (1)
- update (1)
- video (1)
- youtube (1)
Saturday, November 30, 2013
Sunday, November 03, 2013
Clear files from directory by age
Looping through all directories and files in a directory.
Directories are checked for video files. If found these are moved to the base directory and the directory, and any other files inside is then removed.
Files in base directory are checked for age and removed if older than 90 days.
Update 2014-06-20:
* Added control if we got a directory.
* Added simpler check if we could reach supplied directory or not.
* Removed deluge-console check as it would sometimes hang and wasn't very useful to begin with.
Directories are checked for video files. If found these are moved to the base directory and the directory, and any other files inside is then removed.
Files in base directory are checked for age and removed if older than 90 days.
Update 2014-06-20:
* Added control if we got a directory.
* Added simpler check if we could reach supplied directory or not.
* Removed deluge-console check as it would sometimes hang and wasn't very useful to begin with.
Subscribe to:
Posts (Atom)