Graphical application, kiosk mode: fullscreen? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election Results Why I closed the “Why is Kali so hard” questionCan't run certain fullscreen applicationsHow to enable and disable X11 outside of initHow can I run a script that starts before my login screen?Need small distro without a desktop or windows manager, just to run a single graphical appStructure of graphical modules in Linux LubuntuRun a GUI application in background and reconnect laterLauncher on top of X11 as a window managerwhy would a command run at the prompt and not in a script?Screen resolution in X windows different from command lineCentOS 7 SDDM can't click GUI with mouse

Circuit to "zoom in" on mV fluctuations of a DC signal?

Is "Reachable Object" really an NP-complete problem?

Denied boarding although I have proper visa and documentation. To whom should I make a complaint?

Using audio cues to encourage good posture

Why are there no cargo aircraft with "flying wing" design?

For a new assistant professor in CS, how to build/manage a publication pipeline

How could we fake a moon landing now?

An adverb for when you're not exaggerating

What does "lightly crushed" mean for cardamon pods?

Delete nth line from bottom

What does this Jacques Hadamard quote mean?

Why are both D and D# fitting into my E minor key?

Is there any way for the UK Prime Minister to make a motion directly dependent on Government confidence?

Why do we bend a book to keep it straight?

When the Haste spell ends on a creature, do attackers have advantage against that creature?

What is implied by the word 'Desika'

What do you call the main part of a joke?

Chinese Seal on silk painting - what does it mean?

Can anything be seen from the center of the Boötes void? How dark would it be?

Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?

What does the "x" in "x86" represent?

Where are Serre’s lectures at Collège de France to be found?

How to find all the available tools in mac terminal?

How can I use the Python library networkx from Mathematica?



Graphical application, kiosk mode: fullscreen?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionCan't run certain fullscreen applicationsHow to enable and disable X11 outside of initHow can I run a script that starts before my login screen?Need small distro without a desktop or windows manager, just to run a single graphical appStructure of graphical modules in Linux LubuntuRun a GUI application in background and reconnect laterLauncher on top of X11 as a window managerwhy would a command run at the prompt and not in a script?Screen resolution in X windows different from command lineCentOS 7 SDDM can't click GUI with mouse



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I installed a debian system which automatically starts a graphical application (clementine) when logging in as a certain user. The command run at login is /usr/bin/startx /usr/bin/clementine, which works fine. However, the application is not filling the complete screen, i.e., there are black bars on the right and bottom. Has anybody an idea how to start the application full-screen? There is no command line option for the program (like --fullscreen). I also don't want to install a window manager since the system is supposed to run as kiosk mode.










share|improve this question




























    1















    I installed a debian system which automatically starts a graphical application (clementine) when logging in as a certain user. The command run at login is /usr/bin/startx /usr/bin/clementine, which works fine. However, the application is not filling the complete screen, i.e., there are black bars on the right and bottom. Has anybody an idea how to start the application full-screen? There is no command line option for the program (like --fullscreen). I also don't want to install a window manager since the system is supposed to run as kiosk mode.










    share|improve this question
























      1












      1








      1








      I installed a debian system which automatically starts a graphical application (clementine) when logging in as a certain user. The command run at login is /usr/bin/startx /usr/bin/clementine, which works fine. However, the application is not filling the complete screen, i.e., there are black bars on the right and bottom. Has anybody an idea how to start the application full-screen? There is no command line option for the program (like --fullscreen). I also don't want to install a window manager since the system is supposed to run as kiosk mode.










      share|improve this question














      I installed a debian system which automatically starts a graphical application (clementine) when logging in as a certain user. The command run at login is /usr/bin/startx /usr/bin/clementine, which works fine. However, the application is not filling the complete screen, i.e., there are black bars on the right and bottom. Has anybody an idea how to start the application full-screen? There is no command line option for the program (like --fullscreen). I also don't want to install a window manager since the system is supposed to run as kiosk mode.







      x11






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Oct 21 '15 at 21:23









      user236012user236012

      931916




      931916




















          1 Answer
          1






          active

          oldest

          votes


















          2














          Perhaps not what you ask but a workaround.
          Since Clementine don't look to respond to -geometry option nor similar, you can use xdotool to maximize the window.



          I think you will need to change the way to run clementine from startx arguments to a entry in a .xinitrc file in the user home directory but after a call to xdotool in the same file. Make a .xinitrc file in the user home directory with this content.



          /usr/bin/xdotool search "Clementine" -sync windowsize 100% 100%
          /usr/bin/clementine


          From now on when you run startx, it will load .xinitrc and run those commands.
          xdotool will search a window called Clementine, search "Clementine" , in the background, -sync.
          So with xdotool waiting for a window called Clementine, you call /usr/bin/clementine.
          Now when xdotool found the window immediately will change its size to fullscreen, windowsize 100% 100%.



          xdotool utility is included in xdotool Debian package.



          If above example reduce clementine's windows to 100x100, that is because your xdotool version doesn't support percentages.



          xdotool 2.20100818.* and above support percentages in 'windowsize'. So if you are below this still can get the root window resolution, to hardcode it, by sending the xwininfo -root and checking the -geometry line (last one).



          i.e. if you get a -geometry 1024x768+0+0 line, the resulting .xinitrc would be:



          /usr/bin/xdotool search "Clementine" -sync windowsize 1024 768
          /usr/bin/clementine





          share|improve this answer




















          • 1





            Didn't know about that tool. I'll have a look at it. Thanks!

            – user236012
            Oct 23 '15 at 9:48











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f237763%2fgraphical-application-kiosk-mode-fullscreen%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          Perhaps not what you ask but a workaround.
          Since Clementine don't look to respond to -geometry option nor similar, you can use xdotool to maximize the window.



          I think you will need to change the way to run clementine from startx arguments to a entry in a .xinitrc file in the user home directory but after a call to xdotool in the same file. Make a .xinitrc file in the user home directory with this content.



          /usr/bin/xdotool search "Clementine" -sync windowsize 100% 100%
          /usr/bin/clementine


          From now on when you run startx, it will load .xinitrc and run those commands.
          xdotool will search a window called Clementine, search "Clementine" , in the background, -sync.
          So with xdotool waiting for a window called Clementine, you call /usr/bin/clementine.
          Now when xdotool found the window immediately will change its size to fullscreen, windowsize 100% 100%.



          xdotool utility is included in xdotool Debian package.



          If above example reduce clementine's windows to 100x100, that is because your xdotool version doesn't support percentages.



          xdotool 2.20100818.* and above support percentages in 'windowsize'. So if you are below this still can get the root window resolution, to hardcode it, by sending the xwininfo -root and checking the -geometry line (last one).



          i.e. if you get a -geometry 1024x768+0+0 line, the resulting .xinitrc would be:



          /usr/bin/xdotool search "Clementine" -sync windowsize 1024 768
          /usr/bin/clementine





          share|improve this answer




















          • 1





            Didn't know about that tool. I'll have a look at it. Thanks!

            – user236012
            Oct 23 '15 at 9:48















          2














          Perhaps not what you ask but a workaround.
          Since Clementine don't look to respond to -geometry option nor similar, you can use xdotool to maximize the window.



          I think you will need to change the way to run clementine from startx arguments to a entry in a .xinitrc file in the user home directory but after a call to xdotool in the same file. Make a .xinitrc file in the user home directory with this content.



          /usr/bin/xdotool search "Clementine" -sync windowsize 100% 100%
          /usr/bin/clementine


          From now on when you run startx, it will load .xinitrc and run those commands.
          xdotool will search a window called Clementine, search "Clementine" , in the background, -sync.
          So with xdotool waiting for a window called Clementine, you call /usr/bin/clementine.
          Now when xdotool found the window immediately will change its size to fullscreen, windowsize 100% 100%.



          xdotool utility is included in xdotool Debian package.



          If above example reduce clementine's windows to 100x100, that is because your xdotool version doesn't support percentages.



          xdotool 2.20100818.* and above support percentages in 'windowsize'. So if you are below this still can get the root window resolution, to hardcode it, by sending the xwininfo -root and checking the -geometry line (last one).



          i.e. if you get a -geometry 1024x768+0+0 line, the resulting .xinitrc would be:



          /usr/bin/xdotool search "Clementine" -sync windowsize 1024 768
          /usr/bin/clementine





          share|improve this answer




















          • 1





            Didn't know about that tool. I'll have a look at it. Thanks!

            – user236012
            Oct 23 '15 at 9:48













          2












          2








          2







          Perhaps not what you ask but a workaround.
          Since Clementine don't look to respond to -geometry option nor similar, you can use xdotool to maximize the window.



          I think you will need to change the way to run clementine from startx arguments to a entry in a .xinitrc file in the user home directory but after a call to xdotool in the same file. Make a .xinitrc file in the user home directory with this content.



          /usr/bin/xdotool search "Clementine" -sync windowsize 100% 100%
          /usr/bin/clementine


          From now on when you run startx, it will load .xinitrc and run those commands.
          xdotool will search a window called Clementine, search "Clementine" , in the background, -sync.
          So with xdotool waiting for a window called Clementine, you call /usr/bin/clementine.
          Now when xdotool found the window immediately will change its size to fullscreen, windowsize 100% 100%.



          xdotool utility is included in xdotool Debian package.



          If above example reduce clementine's windows to 100x100, that is because your xdotool version doesn't support percentages.



          xdotool 2.20100818.* and above support percentages in 'windowsize'. So if you are below this still can get the root window resolution, to hardcode it, by sending the xwininfo -root and checking the -geometry line (last one).



          i.e. if you get a -geometry 1024x768+0+0 line, the resulting .xinitrc would be:



          /usr/bin/xdotool search "Clementine" -sync windowsize 1024 768
          /usr/bin/clementine





          share|improve this answer















          Perhaps not what you ask but a workaround.
          Since Clementine don't look to respond to -geometry option nor similar, you can use xdotool to maximize the window.



          I think you will need to change the way to run clementine from startx arguments to a entry in a .xinitrc file in the user home directory but after a call to xdotool in the same file. Make a .xinitrc file in the user home directory with this content.



          /usr/bin/xdotool search "Clementine" -sync windowsize 100% 100%
          /usr/bin/clementine


          From now on when you run startx, it will load .xinitrc and run those commands.
          xdotool will search a window called Clementine, search "Clementine" , in the background, -sync.
          So with xdotool waiting for a window called Clementine, you call /usr/bin/clementine.
          Now when xdotool found the window immediately will change its size to fullscreen, windowsize 100% 100%.



          xdotool utility is included in xdotool Debian package.



          If above example reduce clementine's windows to 100x100, that is because your xdotool version doesn't support percentages.



          xdotool 2.20100818.* and above support percentages in 'windowsize'. So if you are below this still can get the root window resolution, to hardcode it, by sending the xwininfo -root and checking the -geometry line (last one).



          i.e. if you get a -geometry 1024x768+0+0 line, the resulting .xinitrc would be:



          /usr/bin/xdotool search "Clementine" -sync windowsize 1024 768
          /usr/bin/clementine






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 10 hours ago









          Rui F Ribeiro

          42.1k1484142




          42.1k1484142










          answered Oct 23 '15 at 5:40









          bolichepbolichep

          313




          313







          • 1





            Didn't know about that tool. I'll have a look at it. Thanks!

            – user236012
            Oct 23 '15 at 9:48












          • 1





            Didn't know about that tool. I'll have a look at it. Thanks!

            – user236012
            Oct 23 '15 at 9:48







          1




          1





          Didn't know about that tool. I'll have a look at it. Thanks!

          – user236012
          Oct 23 '15 at 9:48





          Didn't know about that tool. I'll have a look at it. Thanks!

          – user236012
          Oct 23 '15 at 9:48

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f237763%2fgraphical-application-kiosk-mode-fullscreen%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          -x11

          Popular posts from this blog

          Creating 100m^2 grid automatically using QGIS?Creating grid constrained within polygon in QGIS?Createing polygon layer from point data using QGIS?Creating vector grid using QGIS?Creating grid polygons from coordinates using R or PythonCreating grid from spatio temporal point data?Creating fields in attributes table using other layers using QGISCreate .shp vector grid in QGISQGIS Creating 4km point grid within polygonsCreate a vector grid over a raster layerVector Grid Creates just one grid

          Nikolai Prilezhaev Bibliography References External links Navigation menuEarly Russian Organic Chemists and Their Legacy092774english translationRussian Biography

          How to link a C library to an Assembly library on Mac with clangHow do you set, clear, and toggle a single bit?Find (and kill) process locking port 3000 on MacWho is listening on a given TCP port on Mac OS X?How to start PostgreSQL server on Mac OS X?Compile assembler in nasm on mac osHow do I install pip on macOS or OS X?AFNetworking 2.0 “_NSURLSessionTransferSizeUnknown” linking error on Mac OS X 10.8C++ code for testing the Collatz conjecture faster than hand-written assembly - why?How to link a NASM code and GCC in Mac OS X?How to run x86 .asm on macOS Sierra