Re: How can I get Display Resolution in N900 maemo5?

2010-08-10 Thread Ian Stirling

praveen koduru wrote:

Hi Ian,
I have tried "apt-get install xrandr" on my N900, Errror: couldnt find 
the package.
Can you tell me which package you installed to make xrandr work for you 
on N900?


I diddn't.
open a terminal on the phone.
ssh -X yourdesktop
xrandr

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


VS: How can I get Display Resolution in N900 maemo5?

2010-08-10 Thread Kimmo.Hamalainen
The window manager does it by checking the dimensions of the root window. You 
could do the same...
See http://tronche.com/gui/x/xlib/ for Xlib reference.

-Kimmo


Lähettäjä: maemo-developers-boun...@maemo.org 
[maemo-developers-boun...@maemo.org] käyttäjän ext praveen 
koduru [prawin1...@gmail.com] puolesta
Lähetetty: 10. elokuuta 2010 9:08
Vastaanottaja: maemo-developers@maemo.org
Aihe: How can I get Display Resolution in N900 maemo5?

I know that Display Resolution is 800x480, But I need to see from software the 
display resolution.
I used to check Display Resolution in fedora using xrandr -q.  But maemo doesnt 
have xrandr.

Does maemo has similiar command to print Display resolution?
or Can I install xrandr on maemo N900?

Praveen
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: How can I get Display Resolution in N900 maemo5?

2010-08-10 Thread praveen koduru
Thanks Koos,

This will help me. but I thought some program like xrandr will be nice to
have on maemo. If so, we can quickly check the resolution. I dont know why
they have removed the "xrandr" binary.

For getting the display resolution itself you should write X11 code, doesnt
look fare?

-Praveen

On Tue, Aug 10, 2010 at 12:47 PM, koos vriezen wrote:

> 2010/8/10 praveen koduru :
> > I know that Display Resolution is 800x480, But I need to see from
> software
> > the display resolution.
>
> I've googled it for you and in the Xlib Programming Manual, chapt_03
> there are three methods described getting the screen dimensions.
> (found this one http://www.sbin.org/doc/Xlib/chapt_03.html)
>
> Koos
>
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: How can I get Display Resolution in N900 maemo5?

2010-08-10 Thread koos vriezen
2010/8/10 praveen koduru :
> I know that Display Resolution is 800x480, But I need to see from software
> the display resolution.

I've googled it for you and in the Xlib Programming Manual, chapt_03
there are three methods described getting the screen dimensions.
(found this one http://www.sbin.org/doc/Xlib/chapt_03.html)

Koos
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: How can I get Display Resolution in N900 maemo5?

2010-08-10 Thread praveen koduru
Hi Ian,
I have tried "apt-get install xrandr" on my N900, Errror: couldnt find the
package.
Can you tell me which package you installed to make xrandr work for you on
N900?
-Praveen

On Tue, Aug 10, 2010 at 11:55 AM, Ian Stirling  wrote:

> praveen koduru wrote:
>
>> I know that Display Resolution is 800x480, But I need to see from software
>> the display resolution. I used to check Display Resolution in fedora using
>> xrandr -q.  But maemo doesnt have xrandr.
>>
>> Does maemo has similiar command to print Display resolution?
>> or Can I install xrandr on maemo N900?
>>
>
> While yes, you could install it.
>
> ssh -x u...@phone
> ssh -X u...@yourdesk
> xrandr -q
> Screen 0: minimum 480 x 480, current 800 x 480, maximum 800 x 800
> LCD connected 800x480+0+0 (normal left inverted right x axis y axis) 0mm x
> 0mm
>   800x48057.2*+
>
> xrandr is run on the desktop, with X forwarded to the X server on the
> phone.
>
> You can also if you're feeling silly run any X app like this, from xlander
> to firefox.
> X performance blows if you don't turn off powersave though.
>
>
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: How can I get Display Resolution in N900 maemo5?

2010-08-09 Thread Ian Stirling

praveen koduru wrote:
I know that Display Resolution is 800x480, But I need to see from 
software the display resolution. 
I used to check Display Resolution in fedora using xrandr -q.  But maemo 
doesnt have xrandr.


Does maemo has similiar command to print Display resolution?
or Can I install xrandr on maemo N900?


While yes, you could install it.

ssh -x u...@phone
ssh -X u...@yourdesk
xrandr -q
Screen 0: minimum 480 x 480, current 800 x 480, maximum 800 x 800
LCD connected 800x480+0+0 (normal left inverted right x axis y axis) 0mm 
x 0mm

   800x48057.2*+

xrandr is run on the desktop, with X forwarded to the X server on the phone.

You can also if you're feeling silly run any X app like this, from 
xlander to firefox.

X performance blows if you don't turn off powersave though.

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


How can I get Display Resolution in N900 maemo5?

2010-08-09 Thread praveen koduru
I know that Display Resolution is 800x480, But I need to see from software
the display resolution.
I used to check Display Resolution in fedora using xrandr -q.  But maemo
doesnt have xrandr.

Does maemo has similiar command to print Display resolution?
or Can I install xrandr on maemo N900?

Praveen
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers