Hi Folks -
Having a lot of fun hacking around with pdaXrom - is there a way to tell an application that my 6000L is using portrait orientation so that when they launch, half the window isn't in timbuktu? In other words, is there a setting in the default WM that an app checks while launching to see what kind of size/orientation it should draw it's windows in? This'd be very helpful for those of us using 6000L's...
Thanks,
Stac
[div align=\"right\"][a href=\"index.php?act=findpost&pid=98550\"][{POST_SNAPBACK}][/a][/div]
Here is one solution that I used when packaging Crimson Fields:
I created a file called crimson.sh with the following...
#!/bin/sh
ROTA=`xrandr | grep 'Current rotation' | sed -e 's/Current rotation\ \-\ //g'`
case "$ROTA" in
normal)
crimson --fullscreen 1 --sound 1 --width 480 --height 640
;;
left)
crimson --fullscreen 1 --sound 1 --width 640 --height 480
;;
*)
crimson --fullscreen 1 --sound 1 --width 480 --height 640
;;
esac
Of course this works only if your application has a way of controling screen dimensions from the command line.