Help - Search - Members - Calendar
Full Version: Application Screen Orientations
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
stac
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
kmeaw
You need to fix -geometry argument, specified when launching applications. See the files in /usr/share/applications/
jcabrer
QUOTE(stac @ Oct 7 2005, 07:10 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
*



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.
adf
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.
stac
Thanks very much all - great suggestions!

Regards,
Stac
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.