- Install recordmydesktop. I found this in Arch's Community repo. There are GTK and QT versions, but neither of them were useful for me.
- Compile
xrectsel.c
and put it on your path. This is used to select a screen region to record. - Get dropbox-cli. I found this in the AUR. This is how the script gets the URL to share.
- Run
record.sh
. It should let you select a region of your screen, and then it will immediately start recording. - When you are done recording, press Ctrl+Alt+S. This is the default stop key for recordmydesktop. It is probably customizable, but I couldn't figure it out.
- The script will print the public sharable url of your recording to stdout, and also put it on your clipboard.
- The script will use notify-send to notify you that the URL is on your clipboard. This is useful if you run the script from a keybinding or a launcher (I use dmenu). I use notify-osd-customizable to get notifications from send-notify.
This generates .ogv
files. Chrome and Firefox can both play this out