# Ubuntu fullscreen display on 2nd monitor

**URL:** <https://forum.inductiveautomation.com/t/ubuntu-fullscreen-display-on-2nd-monitor/17103>\
**Category:** Ignition\
**Created:** [February 23, 2018, 12:55am UTC](https://forum.inductiveautomation.com/t/ubuntu-fullscreen-display-on-2nd-monitor/17103 "2018-02-23T00:55:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![heybales](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/heybales/32/3358_2.png) [@heybales](https://forum.inductiveautomation.com/u/heybales)\
**Post date:** [February 23, 2018, 12:55am UTC](https://forum.inductiveautomation.com/t/ubuntu-fullscreen-display-on-2nd-monitor/17103/1 "2018-02-23T00:55:09Z")

</div>

I’m using system.gui.opendesktop to open a window on a second monitor. It does not open in full screen. Unity Menu Bar is displayed at the top. This is a dedicated HMI and we don’t want operators having access to menubar.

Does anyone have a suggestion to solve this?

Ignition 7.9.5  
Ubuntu 16.04 LTS

---

<div class="post-metadata">

**Author:** ![mrogers](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mrogers/32/4110_2.png) [@mrogers](https://forum.inductiveautomation.com/u/mrogers)\
**Post date:** [February 23, 2018, 1:30am UTC](https://forum.inductiveautomation.com/t/ubuntu-fullscreen-display-on-2nd-monitor/17103/2 "2018-02-23T01:30:55Z")

</div>

Hmm. I’m assuming you already have the window setup to open fullscreen and all that. Only other thing I can think of is to look into the JFrame methods since thats what openDesktop returns. Perhaps theres a maximize method there you can use?

---

<div class="post-metadata">

**Author:** ![Sanderd17](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sanderd17/32/8735_2.png) [@Sanderd17](https://forum.inductiveautomation.com/u/Sanderd17)\
**Post date:** [February 23, 2018, 9:04am UTC](https://forum.inductiveautomation.com/t/ubuntu-fullscreen-display-on-2nd-monitor/17103/3 "2018-02-23T09:04:14Z")

</div>

Perhaps you can try a different flavour? Unity was always a bit strange IMO (and the main reason why I left Ubuntu as a personal preference).

Lubuntu or Xubuntu should be a good choice. Those have light DE’s that don’t get in the way often.

---

<div class="post-metadata">

**Author:** ![heybales](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/heybales/32/3358_2.png) [@heybales](https://forum.inductiveautomation.com/u/heybales)\
**Post date:** [February 23, 2018, 6:46pm UTC](https://forum.inductiveautomation.com/t/ubuntu-fullscreen-display-on-2nd-monitor/17103/4 "2018-02-23T18:46:54Z")

</div>

Yes, the project is configured to open fullscreen, and that works correctly on the primary monitor. Thanks for the suggestion to look at JFrame methods. There are methods to accomplish this:

frame.setExtendedState(JFrame.MAXIMIZED\_BOTH)  
frame.setUndecorated(true)

Unfortunately setUndecorated must be called before the frame is displayed. So it would need to be called in the openDesktop code. At least this is my guess from hacking around.

---

<div class="post-metadata">

**Author:** ![heybales](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/heybales/32/3358_2.png) [@heybales](https://forum.inductiveautomation.com/u/heybales)\
**Post date:** [February 23, 2018, 6:51pm UTC](https://forum.inductiveautomation.com/t/ubuntu-fullscreen-display-on-2nd-monitor/17103/5 "2018-02-23T18:51:08Z")

</div>

I agree on Unity. But I chose ubuntu, because I can get my industrial PC shipped with it, and my goal is to minimize the steps from out of the box to functional HMI.

The good news is that 18.04 will use Gnome 3. But I have to deliver this one with 16.04.

---

<div class="post-metadata">

**Author:** ![pphillips](https://avatars.discourse-cdn.com/v4/letter/p/da6949/32.png) [@pphillips](https://forum.inductiveautomation.com/u/pphillips)\
**Post date:** [February 23, 2018, 7:44pm UTC](https://forum.inductiveautomation.com/t/ubuntu-fullscreen-display-on-2nd-monitor/17103/6 "2018-02-23T19:44:06Z")

</div>

Since I haven’t tried a second monitor yet, I can’t say if this would help, but on Ubuntu clients I always install Gnome Flashback. When you log in you can select it (Flashback not Metacity).

I also install dconf Editor. In dconf Editor, under org-\>gnome-\>gnome-panel-\>toplevels-\>bottom-panel (and top-panel) check auto-hide. This gets makes the top and bottom panels disappear. This has helped me before in getting clients to launch full-screen.

Maybe you have tried this. Hope it helps.

---

<div class="post-metadata">

**Author:** ![heybales](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/heybales/32/3358_2.png) [@heybales](https://forum.inductiveautomation.com/u/heybales)\
**Post date:** [February 27, 2018, 1:38am UTC](https://forum.inductiveautomation.com/t/ubuntu-fullscreen-display-on-2nd-monitor/17103/7 "2018-02-27T01:38:00Z")

</div>

I resolved this issue by switching to the Gnome desktop. Looking forward to 18.04 LTS.
