SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-11-10 23:55:14

mf
Member
From: Slovenia
Registered: 2013-10-28
Posts: 37

Window related keybinds

Hey guys.

I know the current keybinds W-a-(left) and W-a-(right) stretch the windows over half of screen, but is it possible to do it verticaly? So I could quickly move one terminal to the top left section of my screen, another one to bottom left and one over the full right side. Is that possible?

Offline

Be excellent to each other!

#2 2013-11-11 00:04:49

dura
Bloated Gimp
From: interzone
Registered: 2012-09-15
Posts: 2,108

Re: Window related keybinds

It's possible... you'd have to fiddle with corenomnoms rc.xml I guess, right around where the special window actions are...but you could also try installing a tiling window manager if you're feeling frisky

Offline

#3 2013-11-11 00:09:30

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Window related keybinds

Look for "GrowTo...", "MoveTo..." etc actions - Openbox wiki

I can get a tiling result with "GrowToEdgeNorth" bound to C-Up etc


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#4 2013-11-11 00:19:09

VDP76
#! Bean Roaster
Registered: 2012-04-12
Posts: 840

Re: Window related keybinds

mf, I use the Super (Win) key to grow the windows, I have these keybindings in my rc.xml

    <keybind key="W-Right">
      <action name="GrowToEdgeEast"/>
    </keybind>
    <keybind key="W-Left">
      <action name="GrowToEdgeWest"/>
    </keybind>
    <keybind key="W-Down">
      <action name="GrowToEdgeSouth"/>
    </keybind>
    <keybind key="W-Up">
      <action name="GrowToEdgeNorth"/>
    </keybind>

#!#!#! Forum etiquette #!#!#!
Are you a new member!? Have you introduced yourself?!
CLI basics | LVM | smxi | chrooting | multiarch

Offline

#5 2013-11-11 14:27:03

mf
Member
From: Slovenia
Registered: 2013-10-28
Posts: 37

Re: Window related keybinds

Thanks guys, but those shortcuts are unable to move the window up and down if the window is maximized. Will try to figure something out tho smile

Offline

#6 2013-11-11 14:32:52

VDP76
#! Bean Roaster
Registered: 2012-04-12
Posts: 840

Re: Window related keybinds

^ so you want to move windows around!?
what about this!?

<keybind key="W-S-Right">
   <action name="MoveRelative">
      <x>30</x>
      <y>0</y>
   </action>
</keybind>
<keybind key="W-S-Up">
   <action name="MoveRelative">
      <x>0</x>
      <y>-30</y>
   </action>
</keybind>

btw, I am no expert, but rereading your first post it really look like your looking for a tiling WM...


#!#!#! Forum etiquette #!#!#!
Are you a new member!? Have you introduced yourself?!
CLI basics | LVM | smxi | chrooting | multiarch

Offline

#7 2013-11-11 14:40:36

mf
Member
From: Slovenia
Registered: 2013-10-28
Posts: 37

Re: Window related keybinds

VDP76 wrote:

^ so you want to move windows around!?
what about this!?

<keybind key="W-S-Right">
   <action name="MoveRelative">
      <x>30</x>
      <y>0</y>
   </action>
</keybind>
<keybind key="W-S-Up">
   <action name="MoveRelative">
      <x>0</x>
      <y>-30</y>
   </action>
</keybind>

btw, I am no expert, but rereading your first post it really look like your looking for a tiling WM...

Yea, tiling is an option, but I already tried (dwm and awesome) but I don't really like tiling WMs. Will try your method. Currently I solved my issue by using split terminator, since I want to use the positioning only with terminal apps. smile

adrsJVSr.jpg

Offline

#8 2013-11-11 14:51:15

VDP76
#! Bean Roaster
Registered: 2012-04-12
Posts: 840

Re: Window related keybinds

I see, anyway you might be interested a script packaged by Corenominal: cb-wmhacks, it is good especially when used in combination with cb-hotcorners (or you can also make keybindings for it)...

Last edited by VDP76 (2013-11-11 14:51:48)


#!#!#! Forum etiquette #!#!#!
Are you a new member!? Have you introduced yourself?!
CLI basics | LVM | smxi | chrooting | multiarch

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo