Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. showFullScreen() doesn't works on ubuntu
Qt 6.11 is out! See what's new in the release blog

showFullScreen() doesn't works on ubuntu

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ivanicyI Offline
    ivanicyI Offline
    ivanicy
    wrote on last edited by
    #1

    Hello!

    I have an application that runs fullscreen. When I execute it in the terminal,

    ./myApp
    

    it doesn't show it in fullscreen but, if I execute it with sudo,

    sudo ./myApp
    

    it works in fullscreen.

    How can I execute it in fullscreen always?

    Thank you very much!

    jsulmJ JonBJ 2 Replies Last reply
    0
    • ivanicyI ivanicy

      Hello!

      I have an application that runs fullscreen. When I execute it in the terminal,

      ./myApp
      

      it doesn't show it in fullscreen but, if I execute it with sudo,

      sudo ./myApp
      

      it works in fullscreen.

      How can I execute it in fullscreen always?

      Thank you very much!

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @ivanicy How does your app switch to full screen?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • ivanicyI Offline
        ivanicyI Offline
        ivanicy
        wrote on last edited by
        #3

        When I execute it without "sudo" ubunto shows the toolbar. When I execute it with "sudo", ubuntu doesn't show the toolbar. I show all app windows with "showFullScreen()".

        jsulmJ 1 Reply Last reply
        0
        • ivanicyI ivanicy

          When I execute it without "sudo" ubunto shows the toolbar. When I execute it with "sudo", ubuntu doesn't show the toolbar. I show all app windows with "showFullScreen()".

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by jsulm
          #4

          @ivanicy It works for me on Xubuntu 18.04 with and without sudo

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • ivanicyI ivanicy

            Hello!

            I have an application that runs fullscreen. When I execute it in the terminal,

            ./myApp
            

            it doesn't show it in fullscreen but, if I execute it with sudo,

            sudo ./myApp
            

            it works in fullscreen.

            How can I execute it in fullscreen always?

            Thank you very much!

            JonBJ Online
            JonBJ Online
            JonB
            wrote on last edited by
            #5

            @ivanicy
            My suggestion: Google around for whatever desktop you are using (GNOME? Unity? Other?), it may have a setting preventing apps fullscreen-ing unless sudo?

            1 Reply Last reply
            1

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved