OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: stac on October 07, 2005, 10:10:09 am
-
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
-
You need to fix -geometry argument, specified when launching applications. See the files in /usr/share/applications/
-
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.
-
icewm handles portrait mode apps, and so does xfce.
My solution has been to use one or the other instead of the default.
Icewm is part of the feed, chero did xfce--there are a couple threads on it.
-
Thanks very much all - great suggestions!
Regards,
Stac