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

Error when attempting to rename workspace

asked Feb 14 '14

QuinnFTW gravatar image

updated Feb 14 '14

Adaephon gravatar image

I have tried using the example provided by the user guide which is:

bindsym $mod+r exec i3-input -F 'rename workspace to "%s"' -P 'New name: '

but that doesn't seem to work. So I went into the terminal and tried a simple

$ i3-msg 'rename workspace to "test"'

and that returned the following error

{"success":false, "error":"syntax error, unexpected $undefined at position 1"}

Anyone have ideas whats going on here?

1 answer

Sort by » oldest newest most voted
0

answered Feb 14 '14

Adaephon gravatar image

It seems that you are using an older version of i3, where renaming the focused workspace was not yet implemented. This feature was introduced with version 4.4.

Before that only explicit renaming was possible:

rename workspace "old_name" to "new_name"

Comments

Thanks for the insight, but I have one more quick question. I got i3 off the software center, is this not the latest version? [EDIT] it seems that I am unable to get the newest version because I am running 12.04, my bad. Is there anyway for me to get the latest version on my current distro? (12.04

QuinnFTW gravatar imageQuinnFTW (Feb 14 '14)edit

Yes. Instructions can be found on [the i3 website](http://i3wm.org/docs/repositories.html). At the moment stable packages are available for 12.04 and newer.

Adaephon gravatar imageAdaephon (Feb 17 '14)edit

Question Tools

Stats

Asked: Feb 14 '14

Seen: 274 times

Last updated: Feb 14 '14