i3 automatically start the same application in different workspaces

Multi tool use
Multi tool use

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











up vote
0
down vote

favorite












I would like to start lxterminal in both workspace 1 and workspace 2.



The end of ~/.config/i3/config file looks like this:



exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/lxterminal'
exec --no-startup-id i3-msg 'workspace 2; exec /usr/bin/lxterminal'
exec --no-startup-id i3-msg 'workspace 3; exec /usr/bin/firefox'


Resulting in opening 2 instances of lxterminal in workspace 1







share|improve this question


















  • 1




    You can use i3's assign to make sure a window with some specific attributes always ends up on a specific workspace. I use this to make terminals appear on specific workspaces using assign [instance="term1"] → 1 and launch my terminal (st) with -c term1 to have that particular instance show up on workspace 1. However, I don't know if you can assign an instance name like this with lxterminal. Maybe look into its profile features and how it affects X properties (use xprop to find these), or consider using another terminal if that's an option.
    – Anonymouse
    Oct 20 '17 at 20:20










  • I had a similar problem at some point, and solved it simply by gathering the i3-msg commands, i.e. i3-msg 'workspace 1; exec /usr/bin/lxterminal; workspace 2; exec /usr/bin/lxterminal. I think this way of writing the commands will force i3 to execute them sequentially. Not sure this is actually the explanation or that it will work for you...
    – Rastapopoulos
    Oct 20 '17 at 22:17










  • @Rastapopoulos Could you please write it more precisely? I tried it exactly as you written it and it doesn't work.
    – xralf
    Oct 21 '17 at 15:05










  • I see that I forgot the final quote, but I guess that's not the error you encounter?
    – Rastapopoulos
    Oct 21 '17 at 22:13










  • @Rastapopoulos I haven't forgot the final quote.
    – xralf
    Oct 22 '17 at 8:57














up vote
0
down vote

favorite












I would like to start lxterminal in both workspace 1 and workspace 2.



The end of ~/.config/i3/config file looks like this:



exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/lxterminal'
exec --no-startup-id i3-msg 'workspace 2; exec /usr/bin/lxterminal'
exec --no-startup-id i3-msg 'workspace 3; exec /usr/bin/firefox'


Resulting in opening 2 instances of lxterminal in workspace 1







share|improve this question


















  • 1




    You can use i3's assign to make sure a window with some specific attributes always ends up on a specific workspace. I use this to make terminals appear on specific workspaces using assign [instance="term1"] → 1 and launch my terminal (st) with -c term1 to have that particular instance show up on workspace 1. However, I don't know if you can assign an instance name like this with lxterminal. Maybe look into its profile features and how it affects X properties (use xprop to find these), or consider using another terminal if that's an option.
    – Anonymouse
    Oct 20 '17 at 20:20










  • I had a similar problem at some point, and solved it simply by gathering the i3-msg commands, i.e. i3-msg 'workspace 1; exec /usr/bin/lxterminal; workspace 2; exec /usr/bin/lxterminal. I think this way of writing the commands will force i3 to execute them sequentially. Not sure this is actually the explanation or that it will work for you...
    – Rastapopoulos
    Oct 20 '17 at 22:17










  • @Rastapopoulos Could you please write it more precisely? I tried it exactly as you written it and it doesn't work.
    – xralf
    Oct 21 '17 at 15:05










  • I see that I forgot the final quote, but I guess that's not the error you encounter?
    – Rastapopoulos
    Oct 21 '17 at 22:13










  • @Rastapopoulos I haven't forgot the final quote.
    – xralf
    Oct 22 '17 at 8:57












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I would like to start lxterminal in both workspace 1 and workspace 2.



The end of ~/.config/i3/config file looks like this:



exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/lxterminal'
exec --no-startup-id i3-msg 'workspace 2; exec /usr/bin/lxterminal'
exec --no-startup-id i3-msg 'workspace 3; exec /usr/bin/firefox'


Resulting in opening 2 instances of lxterminal in workspace 1







share|improve this question














I would like to start lxterminal in both workspace 1 and workspace 2.



The end of ~/.config/i3/config file looks like this:



exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/lxterminal'
exec --no-startup-id i3-msg 'workspace 2; exec /usr/bin/lxterminal'
exec --no-startup-id i3-msg 'workspace 3; exec /usr/bin/firefox'


Resulting in opening 2 instances of lxterminal in workspace 1









share|improve this question













share|improve this question




share|improve this question








edited Oct 20 '17 at 19:49

























asked Oct 20 '17 at 19:41









xralf

1,8231865116




1,8231865116







  • 1




    You can use i3's assign to make sure a window with some specific attributes always ends up on a specific workspace. I use this to make terminals appear on specific workspaces using assign [instance="term1"] → 1 and launch my terminal (st) with -c term1 to have that particular instance show up on workspace 1. However, I don't know if you can assign an instance name like this with lxterminal. Maybe look into its profile features and how it affects X properties (use xprop to find these), or consider using another terminal if that's an option.
    – Anonymouse
    Oct 20 '17 at 20:20










  • I had a similar problem at some point, and solved it simply by gathering the i3-msg commands, i.e. i3-msg 'workspace 1; exec /usr/bin/lxterminal; workspace 2; exec /usr/bin/lxterminal. I think this way of writing the commands will force i3 to execute them sequentially. Not sure this is actually the explanation or that it will work for you...
    – Rastapopoulos
    Oct 20 '17 at 22:17










  • @Rastapopoulos Could you please write it more precisely? I tried it exactly as you written it and it doesn't work.
    – xralf
    Oct 21 '17 at 15:05










  • I see that I forgot the final quote, but I guess that's not the error you encounter?
    – Rastapopoulos
    Oct 21 '17 at 22:13










  • @Rastapopoulos I haven't forgot the final quote.
    – xralf
    Oct 22 '17 at 8:57












  • 1




    You can use i3's assign to make sure a window with some specific attributes always ends up on a specific workspace. I use this to make terminals appear on specific workspaces using assign [instance="term1"] → 1 and launch my terminal (st) with -c term1 to have that particular instance show up on workspace 1. However, I don't know if you can assign an instance name like this with lxterminal. Maybe look into its profile features and how it affects X properties (use xprop to find these), or consider using another terminal if that's an option.
    – Anonymouse
    Oct 20 '17 at 20:20










  • I had a similar problem at some point, and solved it simply by gathering the i3-msg commands, i.e. i3-msg 'workspace 1; exec /usr/bin/lxterminal; workspace 2; exec /usr/bin/lxterminal. I think this way of writing the commands will force i3 to execute them sequentially. Not sure this is actually the explanation or that it will work for you...
    – Rastapopoulos
    Oct 20 '17 at 22:17










  • @Rastapopoulos Could you please write it more precisely? I tried it exactly as you written it and it doesn't work.
    – xralf
    Oct 21 '17 at 15:05










  • I see that I forgot the final quote, but I guess that's not the error you encounter?
    – Rastapopoulos
    Oct 21 '17 at 22:13










  • @Rastapopoulos I haven't forgot the final quote.
    – xralf
    Oct 22 '17 at 8:57







1




1




You can use i3's assign to make sure a window with some specific attributes always ends up on a specific workspace. I use this to make terminals appear on specific workspaces using assign [instance="term1"] → 1 and launch my terminal (st) with -c term1 to have that particular instance show up on workspace 1. However, I don't know if you can assign an instance name like this with lxterminal. Maybe look into its profile features and how it affects X properties (use xprop to find these), or consider using another terminal if that's an option.
– Anonymouse
Oct 20 '17 at 20:20




You can use i3's assign to make sure a window with some specific attributes always ends up on a specific workspace. I use this to make terminals appear on specific workspaces using assign [instance="term1"] → 1 and launch my terminal (st) with -c term1 to have that particular instance show up on workspace 1. However, I don't know if you can assign an instance name like this with lxterminal. Maybe look into its profile features and how it affects X properties (use xprop to find these), or consider using another terminal if that's an option.
– Anonymouse
Oct 20 '17 at 20:20












I had a similar problem at some point, and solved it simply by gathering the i3-msg commands, i.e. i3-msg 'workspace 1; exec /usr/bin/lxterminal; workspace 2; exec /usr/bin/lxterminal. I think this way of writing the commands will force i3 to execute them sequentially. Not sure this is actually the explanation or that it will work for you...
– Rastapopoulos
Oct 20 '17 at 22:17




I had a similar problem at some point, and solved it simply by gathering the i3-msg commands, i.e. i3-msg 'workspace 1; exec /usr/bin/lxterminal; workspace 2; exec /usr/bin/lxterminal. I think this way of writing the commands will force i3 to execute them sequentially. Not sure this is actually the explanation or that it will work for you...
– Rastapopoulos
Oct 20 '17 at 22:17












@Rastapopoulos Could you please write it more precisely? I tried it exactly as you written it and it doesn't work.
– xralf
Oct 21 '17 at 15:05




@Rastapopoulos Could you please write it more precisely? I tried it exactly as you written it and it doesn't work.
– xralf
Oct 21 '17 at 15:05












I see that I forgot the final quote, but I guess that's not the error you encounter?
– Rastapopoulos
Oct 21 '17 at 22:13




I see that I forgot the final quote, but I guess that's not the error you encounter?
– Rastapopoulos
Oct 21 '17 at 22:13












@Rastapopoulos I haven't forgot the final quote.
– xralf
Oct 22 '17 at 8:57




@Rastapopoulos I haven't forgot the final quote.
– xralf
Oct 22 '17 at 8:57















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',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
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%2f399422%2fi3-automatically-start-the-same-application-in-different-workspaces%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f399422%2fi3-automatically-start-the-same-application-in-different-workspaces%23new-answer', 'question_page');

);

Post as a guest













































































0J yLjfIEUTNrswUbIh5LDMhYcFcV,mcdJY8hnrh0TMEFqfM5 1LKk DDpz0 aveBlrz5aC0p RfK6SI8CRz2qpB7a Dq1qxixu
dIvMEoGgLLFMu25SHGa7CR4U4LY8b 0WknQdL s,dfttoPs jGDCoelx91GkCNNM

Popular posts from this blog

How to check contact read email or not when send email to Individual?

How many registers does an x86_64 CPU actually have?

Displaying single band from multi-band raster using QGIS