How to start application in specific workspace programmatically (Ubuntu 17) [duplicate]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite
1













This question already has an answer here:



  • Initialize start-up applications in certain workspaces?

    2 answers



I'd like to write bash script that starts certain application on startup. I would like to have for example Firefox opened in first workspace, Slack on second, spotify on third. I know how to start these applications, but don't know how to place them in specific workspace. Is it possible in Ubuntu 17 ?










share|improve this question













marked as duplicate by Byte Commander, karel, user535733, Eric Carvalho, muru bash
Users with the  bash badge can single-handedly close bash questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Feb 26 at 14:39


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















    up vote
    1
    down vote

    favorite
    1













    This question already has an answer here:



    • Initialize start-up applications in certain workspaces?

      2 answers



    I'd like to write bash script that starts certain application on startup. I would like to have for example Firefox opened in first workspace, Slack on second, spotify on third. I know how to start these applications, but don't know how to place them in specific workspace. Is it possible in Ubuntu 17 ?










    share|improve this question













    marked as duplicate by Byte Commander, karel, user535733, Eric Carvalho, muru bash
    Users with the  bash badge can single-handedly close bash questions as duplicates and reopen them as needed.

    StackExchange.ready(function()
    if (StackExchange.options.isMobile) return;

    $('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
    var $hover = $(this).addClass('hover-bound'),
    $msg = $hover.siblings('.dupe-hammer-message');

    $hover.hover(
    function()
    $hover.showInfoMessage('',
    messageElement: $msg.clone().show(),
    transient: false,
    position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
    dismissable: false,
    relativeToBody: true
    );
    ,
    function()
    StackExchange.helpers.removeMessages();

    );
    );
    );
    Feb 26 at 14:39


    This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
















      up vote
      1
      down vote

      favorite
      1









      up vote
      1
      down vote

      favorite
      1






      1






      This question already has an answer here:



      • Initialize start-up applications in certain workspaces?

        2 answers



      I'd like to write bash script that starts certain application on startup. I would like to have for example Firefox opened in first workspace, Slack on second, spotify on third. I know how to start these applications, but don't know how to place them in specific workspace. Is it possible in Ubuntu 17 ?










      share|improve this question














      This question already has an answer here:



      • Initialize start-up applications in certain workspaces?

        2 answers



      I'd like to write bash script that starts certain application on startup. I would like to have for example Firefox opened in first workspace, Slack on second, spotify on third. I know how to start these applications, but don't know how to place them in specific workspace. Is it possible in Ubuntu 17 ?





      This question already has an answer here:



      • Initialize start-up applications in certain workspaces?

        2 answers







      bash 17.10 17.04 workspaces






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 25 at 11:05









      lusarz

      61




      61




      marked as duplicate by Byte Commander, karel, user535733, Eric Carvalho, muru bash
      Users with the  bash badge can single-handedly close bash questions as duplicates and reopen them as needed.

      StackExchange.ready(function()
      if (StackExchange.options.isMobile) return;

      $('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
      var $hover = $(this).addClass('hover-bound'),
      $msg = $hover.siblings('.dupe-hammer-message');

      $hover.hover(
      function()
      $hover.showInfoMessage('',
      messageElement: $msg.clone().show(),
      transient: false,
      position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
      dismissable: false,
      relativeToBody: true
      );
      ,
      function()
      StackExchange.helpers.removeMessages();

      );
      );
      );
      Feb 26 at 14:39


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






      marked as duplicate by Byte Commander, karel, user535733, Eric Carvalho, muru bash
      Users with the  bash badge can single-handedly close bash questions as duplicates and reopen them as needed.

      StackExchange.ready(function()
      if (StackExchange.options.isMobile) return;

      $('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
      var $hover = $(this).addClass('hover-bound'),
      $msg = $hover.siblings('.dupe-hammer-message');

      $hover.hover(
      function()
      $hover.showInfoMessage('',
      messageElement: $msg.clone().show(),
      transient: false,
      position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
      dismissable: false,
      relativeToBody: true
      );
      ,
      function()
      StackExchange.helpers.removeMessages();

      );
      );
      );
      Feb 26 at 14:39


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote













          Not exactly a "programmatic" solution, but you may use a GNOME shell extension called Auto Move Windows to achieve your goal (assuming you meant Ubuntu 17.10 with GNOME shell). This extension lets you




          Move applications to specific workspaces when they create windows.




          Once the extension is installed and activated, open its settings and click on "Add Rule" to select an application and a workspace for the application.



          enter image description here






          share|improve this answer



























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote













            Not exactly a "programmatic" solution, but you may use a GNOME shell extension called Auto Move Windows to achieve your goal (assuming you meant Ubuntu 17.10 with GNOME shell). This extension lets you




            Move applications to specific workspaces when they create windows.




            Once the extension is installed and activated, open its settings and click on "Add Rule" to select an application and a workspace for the application.



            enter image description here






            share|improve this answer
























              up vote
              1
              down vote













              Not exactly a "programmatic" solution, but you may use a GNOME shell extension called Auto Move Windows to achieve your goal (assuming you meant Ubuntu 17.10 with GNOME shell). This extension lets you




              Move applications to specific workspaces when they create windows.




              Once the extension is installed and activated, open its settings and click on "Add Rule" to select an application and a workspace for the application.



              enter image description here






              share|improve this answer






















                up vote
                1
                down vote










                up vote
                1
                down vote









                Not exactly a "programmatic" solution, but you may use a GNOME shell extension called Auto Move Windows to achieve your goal (assuming you meant Ubuntu 17.10 with GNOME shell). This extension lets you




                Move applications to specific workspaces when they create windows.




                Once the extension is installed and activated, open its settings and click on "Add Rule" to select an application and a workspace for the application.



                enter image description here






                share|improve this answer












                Not exactly a "programmatic" solution, but you may use a GNOME shell extension called Auto Move Windows to achieve your goal (assuming you meant Ubuntu 17.10 with GNOME shell). This extension lets you




                Move applications to specific workspaces when they create windows.




                Once the extension is installed and activated, open its settings and click on "Add Rule" to select an application and a workspace for the application.



                enter image description here







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 25 at 11:26









                pomsky

                23.3k77299




                23.3k77299












                    Popular posts from this blog

                    pylint3 and pip3 broken

                    Missing snmpget and snmpwalk

                    How to enroll fingerprints to Ubuntu 17.10 with VFS491