I have installed both xterm and omxplayer and set a custom command line as nicely described here.
http://stevenhickson.blogspot.co.uk/201 ... ry-pi.html
However, when I quit the video with "q" I can't return to desktop as xterm is still running.
I have made a temporary workaround by excluding the -fulllscreen option from xterm and -r from omxplayer in the custom command line so I can move the cursor to the xterm title bar and select exit, which works but is somewhat inelegant.
I have done a search and can see lots of mentions of this with some fixes but I cannot get them to work.
Most seem to involve things around using a command
xrefresh -display :0
But my question how do I invoke this command when I have nowhere to type it that I can see.
And secondly, can I get it to run automatically when omxplayer exits
I guess another option would be to automatically run a exit of xterm too but similarly I don't really know how to do this.
I am guessing at a wrapper script of some type but this is brand new territory for me some am lost...
Please help. (Stepwise with as much detail and you can stomach