True Fullscreen With Ubuntu

gtzgtz
edited March 2018 in How To...

i have trouble running a processing sketch in true fulscreen with ubuntu. i searched the forums and a solution that generally seemed to work was to run the sketch in fullScreen(P2D) instead of the standard renderer. that appears to have worked for some people, but on my machine it doesn't, ubuntu's unity title bar is still visible.

i'd be greatful for any pointers on how to go about that.

a minimal sketch to reproduce the problem would be (i can't seem to figure out how to use code tags with this editor. sorry):

void setup(){
  fullScreen(P2D);
}

void draw(){
  background(0, 255, 0);
}

resulting in something like this:

fullscreen_fail

i'm running ubuntu 6.04 LTS on an Intel® Core™ i7-6600U CPU @ 2.60GHz × 4 with Intel® HD Graphics 520 (Skylake GT2)

thanks for your time.

Answers

  • Funny I'd not noticed this until now. I was convinced you were using two monitors (which I do normally) and doesn't work well with fullscreen. But, looks like it broke in 3.3.1 - I guess with this commit which stops calling JOGL's setFullscreen().

    There's a workaround there, though - try fullScreen(P2D, SPAN);

  • i am using to screens, unfortunately. i have status output on the console i need to keep an eye on.

    thanks for your intput, though.

  • Yes, it's never worked well with two screens - it used to work fine with one. Try a different window manager if you need to do that. Something lightweight like openbox?

    By the way, did you mean to tag that with Lubuntu?

  • fixed the taqgging. thanks.

  • Can you export your app and select the presentation mode in the process? Would that launch it in fullScreen properly? This is not a solution... but if it works, then it is possible to dig into the source code and see how the implemented that part of the import and manually added to your sketch.

    Kf

  • @kfrajer - that will have exactly the same problems.

    If you use xprop from the CLI and click on a window you can see the atoms attached to it. Assuming the workaround I posted around SPAN, using this with Processing when using one monitor correctly shows the fullscreen atom is set. With multiple monitors it isn't. Doing the same thing with Firefox or the image viewer in fullscreen mode shows that atom with multiple monitors too. That suggests this is a bug in JOGL.

Sign In or Register to comment.