Full Screen problems in Linux Ubuntu

  • Follow


It might seem to be a trivial problem to make the OpenGL graphics run in 
full screen in Linux Ubuntu, but so far it has caused me problems. When I 
write glutFullScreen() the graphic windows is extended to the limits of the 
screen, but the windows is still surrounded by a frame and the top and 
bottom bars is not removed.

How do I remove the frame and top/bottom bars and make the graphics run in 
true full screen???



The graphic card is a Nvidia Gforce Fx5200, and the OS is Linux Ubuntu.



/Henrik


0
Reply Henrik 4/20/2006 7:18:42 AM

Am Thu, 20 Apr 2006 09:18:42 +0200 schrieb Henrik:

> It might seem to be a trivial problem to make the OpenGL graphics run
> in full screen in Linux Ubuntu, but so far it has caused me problems.
> When I write glutFullScreen() the graphic windows is extended to the
> limits of the screen, but the windows is still surrounded by a frame
> and the top and bottom bars is not removed.
> 
> How do I remove the frame and top/bottom bars and make the graphics
> run in true full screen???
>
> The graphic card is a Nvidia Gforce Fx5200, and the OS is Linux
> Ubuntu.

Hi,

this is less a problem of your distribution or your graphic card. It's
more a problem with your window manager.

Which window manager do you use?

Did you try to use FreeGLUT instead of GLUT? Some distributions provide
an optional FreeGLUT package to replace GLUT. But with the Enlightenment
0.17 window manager there're also som fullscreen problems. But perhaps
this is because of the unfinished state of E17...

regards
Andreas
0
Reply Andreas 4/20/2006 8:05:43 AM


Henrik wrote:
> It might seem to be a trivial problem to make the OpenGL graphics run in 
> full screen in Linux Ubuntu, but so far it has caused me problems. When I 
> write glutFullScreen() the graphic windows is extended to the limits of the 
> screen, but the windows is still surrounded by a frame and the top and 
> bottom bars is not removed.
> 
> How do I remove the frame and top/bottom bars and make the graphics run in 
> true full screen???
> 
> 
> 
> The graphic card is a Nvidia Gforce Fx5200, and the OS is Linux Ubuntu.
> 
> 
> 
> /Henrik
> 
> 

Have you tried glutEnterGameMode()?

..Ivo.
0
Reply Jason 4/20/2006 11:14:12 AM

glutEnterGameMode solved this problem for me, so it might work ok in
your case too i suppose.

Johnny

0
Reply ivan 4/24/2006 3:19:19 AM

Thanks for the help - it did almost solve the problem. glutEnterGameMode 
does take control over the screen and removes the frame around the window. 
However the top bar of the window remains and it seems that the bottom part 
is cut off because the window is larger than the screen.

The mouse cursor is still shown on the screen. The first time the mouse 
cursor is moved down to the bottom, the screen "rolls" down, the top bar are 
removed, and it the screen works and acts as "true" full screen. Is there a 
way to solve this minor problem?



Henrik

<ivan.leben@gmail.com> skrev i en meddelelse 
news:1145848759.815584.256480@i39g2000cwa.googlegroups.com...
> glutEnterGameMode solved this problem for me, so it might work ok in
> your case too i suppose.
>
> Johnny
> 


0
Reply Henrik 4/24/2006 11:54:06 AM

4 Replies
305 Views

(page loaded in 0.07 seconds)

Similiar Articles:













7/22/2012 9:55:30 AM


Reply: