Help regarding Sugar on Ubuntu
Waqas Toor
waqasnasirtoor at gmail.com
Fri May 23 08:03:18 EDT 2008
Hello,
On Fri, May 23, 2008 at 11:16 AM, Alex Belits <abelits at belits.com> wrote:
> Waqas Toor wrote:
>>
>> 1024x786 becomes full screen mode in my ubuntu, what I want to do to
>> make it a smaller screen size and the aspect ratio of the frame/canvas
>> should adjust accordingly, Full screen mode does wierd things :)
>
> If you use sugar-emulator, this is a problem (I wouldn't call it a bug
> because I have no idea what should be the desired behavior) in
> /usr/sugar/shell/emulator.py in code starting from the line
>
> "if gtk.gdk.screen_width()" ...
>
yup I have done the same thing, but this happens only for the Xephyr,
the emulation under the Xephyr wont adjust itself ,
The icons and frames remain of bigger size, they wont adjust according
to the Xephyrs' new size :(
> It determines if it should run Xephyr in fullscreen or windowed mode by the
> size of the screen, so to fix that behavior you can edit the line (that
> contains the condition for choosing the fullscreen mode) and subsequent
> lines that determine arguments to Xephyr.
>
> --
> Alex
>
--
Waqas Toor
member of OLPC Pakistan Team
member of Ubuntu Pakistan Team
More information about the Devel
mailing list