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

Issue: moving a window creates a new workspace [closed]

asked 2013-12-26 02:38:43 +0000

dual gravatar image

updated 2013-12-26 18:48:20 +0000

Hello,

I just installed i3 and ran into an issue with moving a window (leaf??) to another workspace located on another monitor.

example: workspace 1 (monitor 1) has a window (leaf) I want to move to workspace 2 (monitor 2). Focused on the window I want moved, mod+shift+2 creates workspace 2 on monitor 1 instead of sending it to the correct workspace on monitor 2. Now I have two instances of workspace 2 and my hot keys can only access the original workspace 2 (monitor 2) not the newly created one from the move.

Is this a known issue or anything that can be done to correct this?

System info:

  • OS: Linux Mint 14 / 64bit / 3.5.0-40-generic
  • i3: 4.6 (installed from the repose on the i3 site)
  • Two monitors
  • 9500gt (driver: nvidia-experimental-310)

# This file has been auto-generated by i3-config-wizard(1). # It will not be overwritten, so edit it as you like. # # Should you change your keyboard layout somewhen, delete # this file and re-run i3-config-wizard(1). #

# i3 config file (v4) # #

set $mod Mod1

# font for window titles. ISO 10646 = Unicode font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1

# Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod

# start a terminal bindsym $mod+Return exec urxvt #i3-sensible-terminal

# kill focused window bindsym $mod+Shift+Q kill

# start dmenu (a program launcher) #bindsym ctrl+space exec dmenurun bindsym ctrl+space exec dmenurun -nb '#111111' -nf '#555555' -sb '#111111' -sf '#7d7875'

##################################### # Make the currently focused window a scratchpad bindsym $mod+Shift+minus move scratchpad

# Show the first scratchpad window bindsym $mod+minus scratchpad show

# new window default border #newwindow pixel 3 #newfloat pixel

#colors client.focused #9fbc00 #9fbc00 #111111

#CHANGING BORDER STYLE bindsym $mod+t border normal bindsym $mod+y border pixel 4 bindsym $mod+u border none

#Auto Start exec --no-startup-id nitrogen --restore exec --no-startup-id xfce4-volumed exec --no-startup-id xfsettingsd exec --no-startup-id xscreensaver

#Floating apps for_window [class="Guake"] floating enable

# change focus bindsym $mod+h focus left bindsym $mod+j focus down bindsym $mod+k focus up bindsym $mod+l focus right

# alternatively, you can use the cursor keys: bindsym $mod+Left focus left bindsym $mod+Down focus down bindsym $mod+Up focus up bindsym $mod+Right focus right

# move focused window bindsym $mod+Shift+h move left bindsym $mod+Shift+j move down bindsym $mod+Shift+k move up bindsym $mod+Shift+l move right

# alternatively, you can use the cursor keys: bindsym $mod+Shift+Left move left bindsym $mod+Shift+Down move down bindsym $mod+Shift+Up move up bindsym $mod+Shift+Right move right

# split in horizontal orientation bindsym $mod+Shift+v split h

# split in vertical orientation bindsym $mod+v split v

# enter fullscreen mode for the focused container bindsym $mod+f fullscreen

# change container layout (stacked, tabbed, default) bindsym $mod+s layout stacking bindsym $mod+w layout tabbed bindsym $mod+e layout default

# toggle tiling / floating bindsym $mod+Shift+space floating toggle

# change focus between tiling / floating windows bindsym $mod+space focus mode_toggle

# focus ...

(more)
edit retag flag offensive reopen merge delete

Closed for the following reason not a real question by Michael
close date 2014-01-04 21:35:49.769366

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-12-31 02:42:48 +0000

dual gravatar image

Issue has been Solved.

On closer examination of my config file, there are spaces after the first few workspaces. This causes the move function to create a new workspace as they do not match. (e.g "1 " vs "1")

Dang white spaces... >.<

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-12-26 02:38:43 +0000

Seen: 417 times

Last updated: Dec 31 '13