You are not logged in.
I'm i3 user and I'd like to know if I can execute my program in a expecific workspace.
I already use assign [class="^Termite$"] $WS1 for launch on workspace 1.
But I would like to do a command for launch Termine in workspace 5 with another command.
The command could be something like: $mod+Shift+Return exec...
I tried to use that command: bindsym $mod+Shift+Return exec i3-msg 'workspace $WS5; exec /usr/bin/termite' and
bindsym $mod+Shift+i exec i3-msg 'workspace 5: ; exec /usr/bin/termite'.
But it didn't work.
Thanks for any help and sorry for my bad english.
Offline
Try something linke this,
bindsym $mod+Shift+Return exec i3-msg workspace 5 && exec /usr/bin/termite Do you have $ in your workspace name ?? Just use actual workspace name in place of 5. ( I am not sure why you are using $ )
Arch is home!
https://github.com/Docbroke
Offline
Try something linke this,
bindsym $mod+Shift+Return exec i3-msg workspace 5 && exec /usr/bin/termiteDo you have $ in your workspace name ?? Just use actual workspace name in place of 5. ( I am not sure why you are using $ )
It did not work. When I use the command, the terminal opens in workspace 1 and I'm moved to workspace 5.
I use $WS5 because I've renamed all my workspace. Below is shown how I've renamed them.
set $WS1
set $WS2
set $WS3
set $WS4
set $WS5
set $WS6
set $WS7
set $WS8
set $WS9
set $WS10 HDMILast edited by tyudemetry (2017-04-04 20:25:25)
Offline
That happens because you have assigned class Termite to $WS1. You may try
/usr/bin/termite --class=ws5termWhile assigning class ws5term to $WS5 (not mandatory), as your command already takes you to $WS5 before launching termite.
Note: I am not using termite so, I am not sure if it has --class option or not, just check it's man page.
Arch is home!
https://github.com/Docbroke
Offline