The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

The configured command for this shortcut could not run successfully error?

asked 2015-11-19 13:59:20 +0000

Kaladin gravatar image

updated 2015-11-23 12:14:47 +0000

Adaephon gravatar image

I get the following error messages when trying to move windows to either of the workspaces "Web" and "Code":

ERROR: Expected one of these tokens: 'window', 'container', 'to', 'workspace', 'output', 'mark', 'scratchpad', 'left', 'right', 'up', 'down', 'position', 'absolute'
ERROR: Your command: move container to Web
ERROR:                                 ^^^
ERROR: Expected one of these tokens: 'window', 'container', 'to', 'workspace', 'output', 'mark', 'scratchpad', 'left', 'right', 'up', 'down', 'position', 'absolute'
ERROR: Your command: move container to Code 
ERROR:                                 ^^^^

Here is the part of my configuration where I configured these workspaces:

# move focused container to workspace
bindsym $mod+Shift+1 move container to Web
bindsym $mod+Shift+2 move container to Code

bindsym $mod+1 workspace Web
bindsym $mod+2 workspace Code
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-11-19 14:54:14 +0000

Airblader gravatar image

updated 2015-11-19 15:57:10 +0000

It should be

bindsym $mod+Shift+1 move container to workspace Web
bindsym $mod+Shift+2 move container to workspace Code

You're missing the keyword "workspace".

edit flag offensive delete link more

Question Tools

Stats

Asked: 2015-11-19 13:59:20 +0000

Seen: 1,081 times

Last updated: Nov 23