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

Workspace 1 not getting name set in config at startup

asked 2014-05-12 20:55:58 +0000

this post is marked as community wiki

This post is a wiki. Anyone with karma >100 is welcome to improve it.

I have set names for some workspaces (1-4) but at session startup I get the default workspace 1 (no name!). If I switch to it afterwards I get the correct name (1: some-Unicode-char). I tried to name all workspaces, using plain text for names instead of Unicode chars but result is always the same. Config parsing gives no errors and, anyway, workspace referencing works fine (I use "workspace number x") Is it actually meant to be this way or am I missing something? Edit: when I have only the first 4 workspaces named, first workspace created is number 5 (the first unnamed one).

Here is part of my configuration:

bindsym $mod+1 workspace number 1: 
bindsym $mod+2 workspace number 2: 
bindsym $mod+3 workspace number 3: 
bindsym $mod+4 workspace number 4: 
bindsym $mod+5 workspace 5
[...]
bindsym $mod+0 workspace 10
bindsym $mod+Shift+1 move container to workspace number 1: 
[...]
edit retag flag offensive close merge delete

Comments

Could you please add the relevant parts of your configuration?

Adaephon gravatar imageAdaephon ( 2014-05-13 07:27:34 +0000 )edit

```bindsym $mod+1 workspace number 1:  bindsym $mod+2 workspace number 2:  bindsym $mod+3 workspace number 3:  bindsym $mod+4 workspace number 4:  bindsym $mod+5 workspace 5``` same for wksp 6-10 (unnamed) and for move bindings: ```bindsym $mod+Shift+1 move container to workspace number 1: ```

Man from Mars gravatar imageMan from Mars ( 2014-05-13 09:07:06 +0000 )edit

1 answer

Sort by » oldest newest most voted
1

answered 2014-05-13 09:44:14 +0000

this post is marked as community wiki

This post is a wiki. Anyone with karma >100 is welcome to improve it.

You should use workspace number in conjunction only with the number, not the whole name. When using the name use just workspace.

The (initial) names are defined by the bindings for workspace, you should not use workspace number there:

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+0 workspace 10

You could use workspace number for the move commands:

bindsym $mod+Shift+1 move container to workspace number 1
edit flag offensive delete link more

Comments

Thanks! It worked like a charm! :-)

Man from Mars gravatar imageMan from Mars ( 2014-05-13 10:30:44 +0000 )edit

Question Tools

Stats

Asked: 2014-05-12 20:55:58 +0000

Seen: 809 times

Last updated: May 13 '14