azmodean
Still Fresh
I ran across a neat tool called Xoo a while back and thought I'd set it up for use with Pandora. What it does is run a nested X server at the appropriate resolution and embed it in an image of the target hardware (a Pandora render in this case). Also if you click on the buttons it fowards them to the embedded X server and your mouse events if you move the mouse over the "scrren" of the "device" so you can just run your app and point it at the X server and have a Pandora lookalike environment.
Less words more pictures eh?
(linked for size, full-resolution screenshots)
first setup
I was puzzled a while about the blank border but eventually figured out that normal x apps aren't set up to display right on top of X, so I tried...
opera in gnome
which pointed out just why embedded devices like this need their own type of window manager, look at all that space that is taken up
fullscreen opera
but to be fair to opera, it still looks good fullscreened.
If you want to play with it yourself, (Sorry Win/Mac users, Linux only afaik) install Xoo and Xephyr (try xserver-xephyr if just "Xephyr" doesn't work for you), grab and decompress my configs, and run:
CODE
xoo -d pandora.xml --xnest-bin-options '-ac -screen 800x480'
in the directory you unzipped to.
Then you can launch X apps targeting the nested X server display 4 by default) and have them show up within the mockup.
Clicking on the buttons is mapped, with the exception of the three center buttons, the analog sticks, and the gaming buttons (X, Y, A, B and shoulder buttons), don't know what to map them to. Also the Fn+keys won't work without some xmodmap setup, I'll do it later if there is any interest.
xterm with some typing
P.S. The screenshot IS my normal desktop, it's a minimalist, keyboard-oriented window manager called ION3
P.P.S. Forgot to mention, the render I'm using isn't ideal (though I'm thankfull for it, thanks Mistabeen!) Ideally it would look like andora1: so you can see the keys more clearly, or perhaps somewhere in between the two so it doesn't take up so much space (it fills my whole screen) Another issue is that the resolution is correct, but the size of the screen depicted is most likely incorrect, if I find a way to work around this I'll post about it.
P.P.P.S. When running Xoo, do Ctrl+Shift+q to toggle mouse capture, this makes all mouse and keyboard events go directly to the embedded X server, which is particularly good if you run your native window manager in the embedded X and want to use keyboard shortcuts.
Less words more pictures eh?
(linked for size, full-resolution screenshots)
first setup
I was puzzled a while about the blank border but eventually figured out that normal x apps aren't set up to display right on top of X, so I tried...
opera in gnome
which pointed out just why embedded devices like this need their own type of window manager, look at all that space that is taken up
fullscreen opera
but to be fair to opera, it still looks good fullscreened.
If you want to play with it yourself, (Sorry Win/Mac users, Linux only afaik) install Xoo and Xephyr (try xserver-xephyr if just "Xephyr" doesn't work for you), grab and decompress my configs, and run:
CODE
xoo -d pandora.xml --xnest-bin-options '-ac -screen 800x480'
in the directory you unzipped to.
Then you can launch X apps targeting the nested X server display 4 by default) and have them show up within the mockup.
Clicking on the buttons is mapped, with the exception of the three center buttons, the analog sticks, and the gaming buttons (X, Y, A, B and shoulder buttons), don't know what to map them to. Also the Fn+keys won't work without some xmodmap setup, I'll do it later if there is any interest.
xterm with some typing
P.S. The screenshot IS my normal desktop, it's a minimalist, keyboard-oriented window manager called ION3
P.P.S. Forgot to mention, the render I'm using isn't ideal (though I'm thankfull for it, thanks Mistabeen!) Ideally it would look like andora1: so you can see the keys more clearly, or perhaps somewhere in between the two so it doesn't take up so much space (it fills my whole screen) Another issue is that the resolution is correct, but the size of the screen depicted is most likely incorrect, if I find a way to work around this I'll post about it.
P.P.P.S. When running Xoo, do Ctrl+Shift+q to toggle mouse capture, this makes all mouse and keyboard events go directly to the embedded X server, which is particularly good if you run your native window manager in the embedded X and want to use keyboard shortcuts.