Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "screenkey"]
path = screenkey
url = https://gitlab.com/wavexx/screenkey
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
PREFIX = /usr/local

#install:
#install -Dm 755 mkcast $(DESTDIR)$(PREFIX)/bin/mkcast
#install -Dm 755 newcast $(DESTDIR)$(PREFIX)/bin/newcast

install:
install -Dm 755 mkcast $(DESTDIR)$(PREFIX)/bin/mkcast
install -Dm 755 newcast $(DESTDIR)$(PREFIX)/bin/newcast
ln -s $(shell pwd)/mkcast $(DESTDIR)$(PREFIX)/bin/mkcast
ln -s $(shell pwd)/newcast $(DESTDIR)$(PREFIX)/bin/newcast

uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/mkcast
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# OBSOLETE
# NO MORE OBSOLETE

mkcast is no longer being maintained (by me, at any rate). It's really just a bundle of hackiness and kludges, so I've essentially rewritten it from scratch: [KeyboardFire/xscast](https://github.com/KeyboardFire/xscast).

Expand Down
2 changes: 2 additions & 0 deletions install_debian.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
apt update && apt install -y python-gtk2 python-cairo slop fonts-font-awesome python-appindicator wmctrl byzanz
make install
7 changes: 4 additions & 3 deletions mkcast
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ wmctrl -r $win -e 0,$wx,$wy,$ww,$wh

(
# start screenkey
"$(dirname "$(readlink -f "$0")")/screenkey/screenkey" $@ >/dev/null 2>&1
"$(dirname "$(readlink -f "$0")")/screenkey/screenkey" $@ & >/dev/null 2>&1

if [[ $duration == W* ]]
then
Expand All @@ -72,8 +72,9 @@ else
fi

# start recording the window
byzanz-record -x $wx -y $wy -w $ww -h $wh $ENDCMD "$outfile" 2> /dev/null
echo "byzanz-record -x $wx -y $wy -w $ww -h $wh $ENDCMD "$outfile" 2> /dev/null" | bash

# finished
ps ax | grep 'screenkey' | grep -o '^[0-9 ]*' | head -n1 | xargs kill
#ps ax | grep 'screenkey' | grep -o '^[0-9 ]*' | head -n1 | xargs kill
pkill -f screenkey
) &
1 change: 1 addition & 0 deletions screenkey
Submodule screenkey added at 0c3454
3 changes: 0 additions & 3 deletions screenkey/.bzr/README

This file was deleted.

1 change: 0 additions & 1 deletion screenkey/.bzr/branch-format

This file was deleted.

1 change: 0 additions & 1 deletion screenkey/.bzr/branch/branch.conf

This file was deleted.

1 change: 0 additions & 1 deletion screenkey/.bzr/branch/format

This file was deleted.

1 change: 0 additions & 1 deletion screenkey/.bzr/branch/last-revision

This file was deleted.

Empty file removed screenkey/.bzr/branch/tags
Empty file.
1 change: 0 additions & 1 deletion screenkey/.bzr/checkout/conflicts

This file was deleted.

Binary file removed screenkey/.bzr/checkout/dirstate
Binary file not shown.
1 change: 0 additions & 1 deletion screenkey/.bzr/checkout/format

This file was deleted.

Empty file removed screenkey/.bzr/checkout/views
Empty file.
1 change: 0 additions & 1 deletion screenkey/.bzr/repository/format

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file removed screenkey/.bzr/repository/pack-names
Binary file not shown.
Binary file not shown.
14 changes: 0 additions & 14 deletions screenkey/LICENSE

This file was deleted.

7 changes: 0 additions & 7 deletions screenkey/Screenkey/__init__.py

This file was deleted.

Loading