# Desktop numbers beyond 10

I'd love to be able to number desktops beyond 10 (the current maximum). Is there a way to do this?

thanks!

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

I'd love to be able to number desktops beyond 10 (the current maximum). Is there a way to do this?

thanks!

add a comment

I guess the principle here is to reach a workspace with a single shortcut command ($mod+{number}), so you can't simply hit $mod+11 because the $mod+1 will be triggered first.

A nicer way to overcome this is to use a second auxiliary key:

```
# workspaces from 1-10
bindsym $mod+1 workspace 1
bindsym $mod+2 workspace 2
bindsym $mod+3 workspace 3
bindsym $mod+4 workspace 4
bindsym $mod+5 workspace 5
bindsym $mod+6 workspace 6
bindsym $mod+7 workspace 7
bindsym $mod+8 workspace 8
bindsym $mod+9 workspace 9
bindsym $mod+0 workspace 10
# workspaces from 11-20
bindsym $mod+Control+1 workspace 11
bindsym $mod+Control+2 workspace 12
bindsym $mod+Control+3 workspace 13
bindsym $mod+Control+4 workspace 14
bindsym $mod+Control+5 workspace 15
bindsym $mod+Control+6 workspace 16
bindsym $mod+Control+7 workspace 17
bindsym $mod+Control+8 workspace 18
bindsym $mod+Control+9 workspace 19
bindsym $mod+Control+0 workspace 20
```

Works fine for me!

(Note that you must adapt this if you are already using the $mod+Control for something else)...

Here is my way of doing this. I use 20 workspaces, and I use 1 through 0 as the left screen and q through p as the left one (numbered 11 to 20)

```
# switch to workspace
bindsym $mod+1 workspace 1
bindsym $mod+2 workspace 2
bindsym $mod+3 workspace 3
bindsym $mod+4 workspace 4
bindsym $mod+5 workspace 5
bindsym $mod+6 workspace 6
bindsym $mod+7 workspace 7
bindsym $mod+8 workspace 8
bindsym $mod+9 workspace 9
bindsym $mod+0 workspace 10
# switch to workspace
bindsym $mod+q workspace 11
bindsym $mod+w workspace 12
bindsym $mod+e workspace 13
bindsym $mod+r workspace 14
bindsym $mod+t workspace 15
bindsym $mod+y workspace 16
bindsym $mod+u workspace 17
bindsym $mod+i workspace 18
bindsym $mod+o workspace 19
bindsym $mod+p workspace 20
```

This way I can still use the same behavior for moving stuff between workspaces. For the keys that are used in the top row, I just rebound, for example quit is now Z not Q.

- copy the line saying “bindsym $mod+0 workspace 10”
- paste the line
- change 10 to 11
- change “$mod+0” to something else.

Repeat for the number of workspaces you want to have.

Just find an alternative way to do this task in Vim like style (or like in screen):

```
mode "wswitch" {
# You entering in mode where you can choose additional workspaces
bindsym 1 workspace 11; mode "default"
bindsym 2 workspace 12; mode "default"
bindsym 3 workspace 13; mode "default"
bindsym 4 workspace 14; mode "default"
# .....
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+Mod1+space mode "wswitch"
```

By pressing Win+Alt+space (in my case) we entering mode that allow us to switch workspaces with single key.

Asked: **
2013-02-27 23:17:56 +0000
**

Seen: **764 times**

Last updated: **Mar 12 '13**

Copyright i3, 2012 Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.