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

xdpyinfo and byzans-record errors on Ubuntu 14.04 #11

Open
ruslanosipov opened this issue Feb 2, 2015 · 5 comments
Open

xdpyinfo and byzans-record errors on Ubuntu 14.04 #11

ruslanosipov opened this issue Feb 2, 2015 · 5 comments

Comments

@ruslanosipov
Copy link

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.

@davidlowryduda
Copy link

This indicates that the $wx is empty. To confirm, you might try to type

$ wmctrl -l

It seems extremely likely to me that you will get an error about now receiving window properties. To fix, you would either need to find a different way of getting the dimensions of your window, or hardcode the byzanz-record call in mkcast.

@ruslanosipov
Copy link
Author

True, it returns Cannot open display.. The issue seem to be specific to terminator - it works in default gnome terminal. Would be nice to expand support to terminator.

@Aetet
Copy link

Aetet commented Feb 3, 2015

Same issue for xfce4-terminal 0.6.3

@sahat
Copy link

sahat commented Feb 3, 2015

Same issue on Mac OS X 10.10 and Fish terminal.

~ cd mkcast
➜ mkcast git:(master) ✗ newcast
/usr/local/bin/mkcast: line 55: xdpyinfo: command not found
/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 ...]
➜ mkcast git:(master) ✗ kill: 6082: No such process

@jghibiki
Copy link

jghibiki commented Apr 9, 2015

same issue on arch linux with urxvt 256 colors, xterm, and gnome-terminal

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

No branches or pull requests

5 participants