tckmn / mkcast Goto Github PK
View Code? Open in Web Editor NEW[OBSOLETE - see readme] A tool for creating GIF screencasts of a terminal, with key presses overlaid.
License: Other
[OBSOLETE - see readme] A tool for creating GIF screencasts of a terminal, with key presses overlaid.
License: Other
When I run...
$ mkcast Terminal 10 -c reset
...output:
/usr/local/bin/mkcast: line 54: 1776/2-/2: syntax error: operand expected (error token is "/2")
/usr/local/bin/mkcast: line 55: 952-: syntax error: operand expected (error token is "-")
Wrong option: Cannot parse integer value '-y' for -x
usage: byzanz-record [OPTIONS] filename
byzanz-record --help
Hi, any plans for making a brew package?
$ mkcast plop 30
$ Option erronée : Impossible d'analyser la valeur entière « duration » pour -d
utilisation : byzanz-record [OPTIONS] fichier
byzanz-record --help
GIF is great. I think we all know that. However, it's old, outdated, and bloated. I'd really love to see webm support for this project.
On Fedora 20 byzanz-record doesn't have an --exec argument. This makes newcast
inherently broken.
You cannot run the setup script twice
$ sudo ./setup.sh
$ sudo ./setup.sh
ln: impossible de créer le lien symbolique «mkcast»: Le fichier existe
ln: impossible de créer le lien symbolique «newcast»: Le fichier existe
The error message is in French but I think you get the idea :)
Get an error when running this on Ubuntu 14.04.
$ newcast
xdpyinfo: unable to open display "".
/usr/local/google/home/ruslano/bin/mkcast: line 52: wmctrl: command not found
/usr/local/google/home/ruslano/bin/mkcast: line 54: /2-/2: syntax error: operand expected (error token is "/2-/2")
/usr/local/google/home/ruslano/bin/mkcast: line 55: -: syntax error: operand expected (error token is "-")
/usr/local/google/home/ruslano/bin/mkcast: line 56: wmctrl: command not found
Wrong option: Cannot parse integer value '-y' for -x
usage: byzanz-record [OPTIONS] filename
byzanz-record --help
Error persists after installing missing wmctrl
:
$ newcast
xdpyinfo: unable to open display "".
Cannot open display.
/usr/local/google/home/ruslano/bin/mkcast: line 54: /2-/2: syntax error: operand expected (error token is "/2-/2")
/usr/local/google/home/ruslano/bin/mkcast: line 55: -: syntax error: operand expected (error token is "-")
Cannot open display.
Wrong option: Cannot parse integer value '-y' for -x
usage: byzanz-record [OPTIONS] filename
byzanz-record --help
I use Tmux from within Terminator, if that has any value.
Do you plan to provide this as a pypi package? If you don't want to do it yourself I could make a pr that takes care of the necessary stuff and, if you want, push the releases to pypi.
Edit: Nvm - I assumed wrongly that it was a python script (the code-counter went pretty wrong through the screenkey-package being included).
I use the LXDE desktop environment. My default terminal emulator is evilvte.
I changed "gnome-terminal" to "evilvte" in newcast script and the program did record a gif. The quality is good. However, it recorded the whole desktop instead of just the terminal. I believe fetching the dimensions of the evilvte window failed.
This might be reproducible with any terminal emulator other than gnome-terminal. Can you please add support for some more terminal emulators other than gnome-terminal?
Hello, I think will be awesome if put the translations on Transifex and get contributions for another languages (inclusive my language portuguese).
Hi!
I've using screenkey too, but I've found that it's working awfully (especially in the tile window managers).
Also, I've fixed a number of corner cases.
Changes are listed here in the beginning of README file: https://github.com/seletskiy/screenkey
$ mkcast Terminal 5 -o newfile.gif
Warning: out.gif already exists.
Continue? [y/n]
I propose to package mkcast for debian (and maybe fedora, if it runs successfully on it). I am a beginner and would love to package it. Also I think of creating a docker image for mkcast. What do you think?
➜ sudo ./setup.sh
➜ mkcast
zsh: too many levels of symbolic links: mkcast
This is what the links look like:
➜ ls -la /usr/local/bin/
drwxr-xr-x 2 root root 4096 Feb 2 11:05 .
drwxr-xr-x 12 root root 4096 Dec 10 13:24 ..
lrwxrwxrwx 1 root root 6 Feb 2 11:05 mkcast -> mkcast
lrwxrwxrwx 1 root root 7 Feb 2 11:05 newcast -> newcast
Does this suggest the links are pointing to themselves?
Not sure if you're worried about Mac at this point, but I get the following error when running the specified command on OS X 10.10.2:
$ sudo ./setup.sh
$ newcast
xdpyinfo: unable to open display "/private/tmp/com.apple.launchd.a93K09UjyA/org.macosforge.xquartz:0".
/usr/local/bin/mkcast: line 57: wmctrl: command not found
/usr/local/bin/mkcast: line 59: /2-/2: syntax error: operand expected (error token is "/2-/2")
/usr/local/bin/mkcast: line 60: -: syntax error: operand expected (error token is "-")
/usr/local/bin/mkcast: line 61: wmctrl: command not found
$ readlink: illegal option -- f
usage: readlink [-n] [file ...]
kill: 86355: No such process
After this, it just waits forever and nothing happens. I'm guessing this because wmctrl is for X Windows, but I felt like I'd post here to show my support for mkcast and to show interest on the Mac side.
It looks as though something is adding extra quotes to escape, but doing it badly. Running the newcast script with -x, I get the following (right before it blows up):
+ ENDCMD='--exec "bash -c '\''while kill -0 25811; do :; done'\''" '
+ echo ENDCMD= --exec '"bash' -c ''\''while' kill -0 '25811;' do ':;' 'done'\''"'
ENDCMD= --exec "bash -c 'while kill -0 25811; do :; done'"
+ byzanz-record -x 279 -y 230 -w 808 -h 538 --exec '"bash' -c ''\''while' kill -0 '25811;' do ':;' 'done'\''"' out.gif
Notice the extra quotes in the byzanz-record commandline; this is what's causing me grief, I believe.
Any ideas? Running ubuntu 14.04
Thanks!
Byzanz's duration argument bothers me every time I have to use it. Here's how I got rid of it in my own script: https://github.com/sagotsky/.dotfiles/blob/master/scripts/byzanz-gif.sh
tl;dr use the --exec flag instead of duration to end byzanz via shell commands. The shell commands I use check if a dzen is still running. Instead I'd suggestion spawning the terminal to record and having exec check if that's still up. When someone ctrl-d's out of it, end the recording.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.