Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to record entire window #2

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

edridgedsouza
Copy link

I made a couple of changes:

  1. if you click the unity titlebar, it'll record the entire screen, including the titlebar and dock (Unity only, not tested on other DE's)

  2. Uses espeak instead of a notification sound

  3. Changed some notifications to simple terminal outputs so they don't interfere with the recording

@rhcarvalho
Copy link
Owner

@edridgedsouza thanks for the PR. Sorry I did not reply earlier, I was not receiving notifications for this repo.

Copy link
Owner

@rhcarvalho rhcarvalho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the improvements. There is still a conflict, to solve it you can rebase on top of rhcarvalho/master. If you need help with that, I'd be happy to assist you.

@@ -17,16 +18,11 @@ TIME=$(date +"%Y-%m-%d_%H%M%S")
DELAY=10

# Standard screencast folder
FOLDER="$HOME/Pictures"
FOLDER=$(xdg-user-dir PICTURES 2>/dev/null || echo "$HOME/Pictures")/ByzanzGif
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was it a problem to drop the files into ~/Pictures? I'd prefer to keep ~/Pictures or have it configurable. We could make all of these "constants" read from the environment and use user-provided input if that's something useful.

Example:

FOO="${FOO-default}"

FOLDER="${FOLDER-$(xdg-user-dir PICTURES 2>/dev/null || echo "$HOME/Pictures")}"

(note: I didn't test the above, there might be a mistake or two ;) )

@@ -3,6 +3,7 @@
# AUTHOR: (c) Rob W 2012
# modified by MHC (http://askubuntu.com/users/81372/mhc)
# and by Rodolfo Carvalho
# and by Edridge D'Souza
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think here we might have a case of tabs x spaces, that's why it looks misaligned?


#Actual recording
espeak "Starting in $DELAY seconds."
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like espeak! 👍

beep
espeak "Start"

if [ $TITLE = "unity-panel" ]; then
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way we could check for DE/WM == unity, in addition to the window title?

Could you please add a note about this feature to the README? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants