Resize mode not working

Hello all. My resize keybinding is not working.
I am using Xfce4 with i3 as window manager. My old Xfce keybinds are all deleted.

My config is here:

$Mod4+R wasn’t working, so to be sure it wasn’t a conflicting keybind I changed it to:
$Mod4+Shift+R (which does not activate the mode either.)
Can anyone spot what I’ve done wrong?

just use

# resize window (you can also use the mouse for that):
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the window’s width.
# Pressing right will grow the window’s width.
# Pressing up will shrink the window’s height.
# Pressing down will grow the window’s height.
#        bindsym j resize shrink width 10 px or 10 ppt
#        bindsym k resize grow height 10 px or 10 ppt
#        bindsym l resize shrink height 10 px or 10 ppt
#        bindsym ntilde resize grow width 10 px or 10 ppt

# same bindings, but for the arrow keys
	bindsym Left resize shrink width 10 px or 10 ppt
        bindsym Down resize grow height 10 px or 10 ppt
        bindsym Up resize shrink height 10 px or 10 ppt
        bindsym Right resize grow width 10 px or 10 ppt

# back to normal: Enter or Escape
	bindsym Return mode "default"
        bindsym Escape mode "default"
}

bindsym $mod+r mode "resize"

I pasted exactly that and it still isn’t working. I tried a few more tweaks but no dice. I’ll probably have to start over again after backing up my config which is fine, and expected

I feel like I was having a similar issue, and what resolved it was mapping the $mod+ctrl+[arrow-keys]

Obviously you’d need to map each arrow key, and I’m not sure if that is the proper syntax for the control key, but just use the preset stuff and replace/add ctrl as appropriate.

I’m out of town and don’t have access to my config files, but I’ll see if you fixed it when I get home tomorrow and share the exact snippet.

Here’s from mine (sorry I didn’t see this thread earlier)

# resize window (you can also use the mouse for that):
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the window’s width.
# Pressing right will grow the window’s width.
# Pressing up will shrink the window’s height.
# Pressing down will grow the window’s height.
#        bindsym j resize shrink width 10 px or 10 ppt
#        bindsym k resize grow height 10 px or 10 ppt
#        bindsym l resize shrink height 10 px or 10 ppt
#        bindsym ntilde resize grow width 10 px or 10 ppt

# same bindings, but for the arrow keys
        bindsym Right resize shrink width 10 px or 10 ppt
       bindsym Down resize grow height 10 px or 10 ppt
       bindsym Up resize shrink height 10 px or 10 ppt
       bindsym Left resize grow width 10 px or 10 ppt

# back to normal: Enter or Escape
        bindsym Return mode "default"
       bindsym Escape mode "default"
}

bindsym $mod+r mode "resize"

Ah yeah, I forgot there is a “resize mode”. I don’t remember how I did it but I mapped the keys so that I don’t need to enter into resize mode. Holding down the super key and control, and then using arrows just does it. I couldn’t get the resize mode to work either, plus it seemed inefficient.

Hmm I like that. I think if you skip the resize mode and just bindsym the mod+shift+ right/left arrow . . .

I’m waking the pup but I like that. I will give it a try shortly

1 Like

I use mod+shift for moving windows around.

Try mod plus right click

That will work, I think. But for me it would only be a temporary fix. If I’m using a tiling window manager, I want to minimize my interaction with the mouse.

Instead of resize mode I just set it up for a keybinding so now it just works

#resize windows
bindsym $mod+ctrl+Right resize shrink width 10 px or 10 ppt
bindsym $mod+ctrl+Down resize grow height 10 px or 10 ppt
bindsym $mod+ctrl+Up resize shrink height 10 px or 10 ppt
bindsym $mod+ctrl+Left resize grow width 10 px or 10 ppt

Oddly enough, I like xfce+i3 because it ads more mouse functions to i3.

1 Like

That’s the thing right there. I knew someone would pop up with it eventually.

––––––––

I would prefer not to use my mouse for anything, but unfortunately every app has different keybindings so any new app requires a mouse at least at first.

1 Like

So true !! :+1: :innocent: less mouse better

1 Like

I mean, that’s what I called it. You can name it anything you want. . .

1 Like

I was just trying to quote your post without repeating the whole thing. I meant your code is exactly what I was talking about and what I use. Not sure what my comment says in my config, I don’t have it handy.

1 Like