Solved XBMCBuntu take Screenshot via SSH
#1
Hi!

Actually i´m on XBMCBuntu 13.2 and i want to take a screenshot of xbmc via SSH,

When i try to do this vor example using scrot i get the following error

Code:
root@hometheater:/etc/X11# scrot -s /tmp/test.png
No protocol specified
giblib error: Can't open X display. It *is* running, yeah?

Cany anyone help me please?

thx in advance!

b0mb
Reply
#2
xbmc-send --action="TakeScreenshot"

for your above command to work you would need to set the display variable,

DISPLAY=:0 scrot -s /tmp/test.png
Reply
#3
(2014-11-29, 01:09)teeedubb Wrote: xbmc-send --action="TakeScreenshot"

for your above command to work you would need to set the display variable,

DISPLAY=:0 scrot -s /tmp/test.png

the first command did work for me in the past on openelec but this happens on xbmcbuntu

Code:
b0mb@hometheater:/etc$ xbmc-send --action="TakeScreenshot"
-bash: xbmc-send: command not found

and this happens with the second command...

Code:
b0mb@hometheater:/etc$ DISPLAY=:0 scrot -s /tmp/test.png
giblib error: couldn't grab pointer:Resource temporarily unavailable

hmmm....
Reply
#4
You need to install xbmc-send

EDIT its xbmc-eventclients-xbmc-send
Reply
#5
thx!

works like a charm! Wink
Reply

Logout Mark Read Team Forum Stats Members Help
XBMCBuntu take Screenshot via SSH0