Is there any way to launch gui application without gui? The 2019 Stack Overflow Developer...

What are these Gizmos at Izaña Atmospheric Research Center in Spain?

What force causes entropy to increase?

In horse breeding, what is the female equivalent of putting a horse out "to stud"?

Is above average number of years spent on PhD considered a red flag in future academia or industry positions?

Do warforged have souls?

Can the DM override racial traits?

He got a vote 80% that of Emmanuel Macron’s

Typeface like Times New Roman but with "tied" percent sign

What was the last x86 CPU that did not have the x87 floating-point unit built in?

What is this lever in Argentinian toilets?

Does Parliament hold absolute power in the UK?

University's motivation for having tenure-track positions

Why did all the guest students take carriages to the Yule Ball?

Why can't wing-mounted spoilers be used to steepen approaches?

Wall plug outlet change

Can a 1st-level character have an ability score above 18?

Would an alien lifeform be able to achieve space travel if lacking in vision?

Are my PIs rude or am I just being too sensitive?

How do you keep chess fun when your opponent constantly beats you?

Format single node in tikzcd

How to split my screen on my Macbook Air?

How to pronounce 1ターン?

Cooking pasta in a water boiler

The variadic template constructor of my class cannot modify my class members, why is that so?



Is there any way to launch gui application without gui?



The 2019 Stack Overflow Developer Survey Results Are In
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 ResultsIs there any (good) SQLite GUI for Linux?Run gui application on startupIs there any way to resize scale application GUI window?Custom GUI without desktop environmentHow do I test an untrusted GUI application?How to connect to a xserver from my system-wide terminal?Octave GUI doesn't launch on Ubuntu 16.04i3 - a hateful handful of font sizes for my desktopHow do I launch a GNOME GUI application as root?Launch a GUI app on Linux Core (without desktop)





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







0















I'm using Linux Mint MATE. I would like to launch a gui application without recognized by my eyes. I tried the following code which launches the application and moves it to another workspace with wmctrl right after the launch but that didn't work.



some_app_with_gui &
wmctrl -r title -t 1 #move window to another workspace (Say I'm in workspace 0 now)


As indicated here, the reason is that wmctrl is executed before some_app_with_gui's window appers. So the solution would be



some_app_with_gui &
sleep 0.8
wmctrl -r title -t 1 #move window to another workspace (Say I'm in workspace 0 now)


and this actually works.



With this solution, however, the window is recognized by my eyes for a moment (0.1 seconds or so). This is truly annoying and I'd like to avoid it.



Are there any solutions? It doesn't necessarily have to use wmctrl. Any other commands will be ok. And please note I don't access the window, i.e. the application is launched by a script and closed by the scripts, so completely hiding the window is ok.





How this question is different from ones with similar titles is




  • that only one machine is involved (not SSH-related)


  • and that I would like to launch gui application on a machine with a desktop environment without gui.











share|improve this question





























    0















    I'm using Linux Mint MATE. I would like to launch a gui application without recognized by my eyes. I tried the following code which launches the application and moves it to another workspace with wmctrl right after the launch but that didn't work.



    some_app_with_gui &
    wmctrl -r title -t 1 #move window to another workspace (Say I'm in workspace 0 now)


    As indicated here, the reason is that wmctrl is executed before some_app_with_gui's window appers. So the solution would be



    some_app_with_gui &
    sleep 0.8
    wmctrl -r title -t 1 #move window to another workspace (Say I'm in workspace 0 now)


    and this actually works.



    With this solution, however, the window is recognized by my eyes for a moment (0.1 seconds or so). This is truly annoying and I'd like to avoid it.



    Are there any solutions? It doesn't necessarily have to use wmctrl. Any other commands will be ok. And please note I don't access the window, i.e. the application is launched by a script and closed by the scripts, so completely hiding the window is ok.





    How this question is different from ones with similar titles is




    • that only one machine is involved (not SSH-related)


    • and that I would like to launch gui application on a machine with a desktop environment without gui.











    share|improve this question

























      0












      0








      0








      I'm using Linux Mint MATE. I would like to launch a gui application without recognized by my eyes. I tried the following code which launches the application and moves it to another workspace with wmctrl right after the launch but that didn't work.



      some_app_with_gui &
      wmctrl -r title -t 1 #move window to another workspace (Say I'm in workspace 0 now)


      As indicated here, the reason is that wmctrl is executed before some_app_with_gui's window appers. So the solution would be



      some_app_with_gui &
      sleep 0.8
      wmctrl -r title -t 1 #move window to another workspace (Say I'm in workspace 0 now)


      and this actually works.



      With this solution, however, the window is recognized by my eyes for a moment (0.1 seconds or so). This is truly annoying and I'd like to avoid it.



      Are there any solutions? It doesn't necessarily have to use wmctrl. Any other commands will be ok. And please note I don't access the window, i.e. the application is launched by a script and closed by the scripts, so completely hiding the window is ok.





      How this question is different from ones with similar titles is




      • that only one machine is involved (not SSH-related)


      • and that I would like to launch gui application on a machine with a desktop environment without gui.











      share|improve this question














      I'm using Linux Mint MATE. I would like to launch a gui application without recognized by my eyes. I tried the following code which launches the application and moves it to another workspace with wmctrl right after the launch but that didn't work.



      some_app_with_gui &
      wmctrl -r title -t 1 #move window to another workspace (Say I'm in workspace 0 now)


      As indicated here, the reason is that wmctrl is executed before some_app_with_gui's window appers. So the solution would be



      some_app_with_gui &
      sleep 0.8
      wmctrl -r title -t 1 #move window to another workspace (Say I'm in workspace 0 now)


      and this actually works.



      With this solution, however, the window is recognized by my eyes for a moment (0.1 seconds or so). This is truly annoying and I'd like to avoid it.



      Are there any solutions? It doesn't necessarily have to use wmctrl. Any other commands will be ok. And please note I don't access the window, i.e. the application is launched by a script and closed by the scripts, so completely hiding the window is ok.





      How this question is different from ones with similar titles is




      • that only one machine is involved (not SSH-related)


      • and that I would like to launch gui application on a machine with a desktop environment without gui.








      gui x






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 27 mins ago









      ynnynn

      9418




      9418






















          0






          active

          oldest

          votes












          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%2f512356%2fis-there-any-way-to-launch-gui-application-without-gui%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f512356%2fis-there-any-way-to-launch-gui-application-without-gui%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







          Popular posts from this blog

          Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

          Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

          Ciclooctatetraenă Vezi și | Bibliografie | Meniu de navigare637866text4148569-500570979m