Posts

Showing posts from August 10, 2018

/lib/udev/findkeyboards missing

Image
Clash Royale CLAN TAG #URR8PPP up vote 1 down vote favorite I'm trying to follow the answer here to set up some key swaps ( Capslock as CTRL ) on external keyboards (Microsoft Natural Ergonomic 4000). First step is this. Get the details of your USB keyboard. Run this command with the keyboard plugged in: $ /lib/udev/findkeyboards | grep USB USB keyboard: input/event6 This doesn't work for me, as /lib/udev/findkeyboards doesn't exist on my system - from Googling I can't find anyone else with this issue! Any idea why not - and how I can acquire the right version? I'm running Xubuntu 16.04 64-bit, using the i3 window manager. uname -a gives me this: Linux will-ThinkPad-X220 4.13.0-45-generic #50~16.04.1-Ubuntu SMP Wed May 30 11:18:27 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux scripting keyboard udev usb-device share | improve this question edited Jul 5 at 20:48 slm ♦ 233k 65 479 651 asked Jul 3 at 11:54 William Osborne 8...

Track size of a directory over time

Image
Clash Royale CLAN TAG #URR8PPP up vote 4 down vote favorite I have a directory and I want to log, from now on, its size every day. That is, at some time of day, every day, I want to compute the size of this directory, and append it in some file along with the date. NOTE: By size of the directory I mean the size of the all the contents, recursively. What's the recommended way of doing this? logs directory size share | improve this question edited Jul 3 at 16:41 Jeff Schaller 30.8k 8 46 104 asked Jul 3 at 12:19 becko 514 2 7 16 add a comment  |  up vote 4 down vote favorite I have a directory and I want to log, from now on, its size every day. That is, at some time of day, every day, I want to compute the size of this directory, and append it in some file along with the date. NOTE: By size of the directory I mean the size of the all the contents, recursively. What's the recommended way of doi...