cwm questions

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

cwm questions

Dell Sanders
Hello,
I have recently installed OpenBSD snapshot 6.2.I created a simple ~/.cwmrc with a single line -
bind-key CM-r window-vtile
then I restarted cwm, opened a few windows and hit CTRL-ALT-r.
I expected the current window to move to the left half of the screen but it did not work.I tried this with xterm, firefox, keepassx and vim as current windows but nothing happened.Does anyone know why?
Is there a way to bind a key to move a window to specified position on the screen (for example coordinates 0,0)?

Reply | Threaded
Open this post in threaded view
|

Re: cwm questions

Kapfhammer, Stefan
Hey Dell,

I am working with cwm since OpenBSD 5.8

I inserted the command you mentioned in my
~/.cwmrc and restarted cwm with CMS-r
(The default for restarting cwm)

CM-r works as expected and moves the window,
the mouse cursor is in, to the left half of the screen.

Did you move the mouse cursor to the background
and then press the CMS-r to restart cwm?
Maybe some programs own keybindings surpress
the desired action in cwm.

I am using OpenBSD 6.1-stable.

There is a little difference with windows-vtile
between -current and 6.1-stable, as mentioned
below:

--------

Current:  http://man.openbsd.org/amd64/cwmrc.5#BIND_FUNCTION_LIST

"Current window is placed on the left of the screen, maximized vertically and resized to half of the horizontal screen space. Other windows in its group share remaining screen space."

--------

6.1-stable:  http://man.openbsd.org/OpenBSD-6.1/amd64/cwmrc.5#BIND_FUNCTION_LIST

"Current window is placed on the left of the screen and maximized vertically, other windows in its group share remaining screen space."

--------

Regards,

Stefan

Von: [hidden email]
Gesendet: 1. Oktober 2017 9:07 vorm.
An: [hidden email]
Antworten: [hidden email]
Betreff: cwm questions


Hello,
I have recently installed OpenBSD snapshot 6.2.I created a simple ~/.cwmrc with a single line -
bind-key CM-r window-vtile
then I restarted cwm, opened a few windows and hit CTRL-ALT-r.
I expected the current window to move to the left half of the screen but it did not work.I tried this with xterm, firefox, keepassx and vim as current windows but nothing happened.Does anyone know why?
Is there a way to bind a key to move a window to specified position on the screen (for example coordinates 0,0)?

Reply | Threaded
Open this post in threaded view
|

Fw: cwm questions

Dell Sanders
Thanks Stefan, but even after a reboot, CM-r (window-vtile) does not work. Perhaps CM-r is not bound to anything. Is there anyway to display the current key bindings in cwm?
Is there a way to bind a key to move a window to specified position on the screen (for example coordinates 0,0)?

    On Sunday, 1 October 2017, 13:13, "Kapfhammer, Stefan" <[hidden email]> wrote:
 

 Hey Dell,

I am working with cwm since OpenBSD 5.8

I inserted the command you mentioned in my
~/.cwmrc and restarted cwm with CMS-r
(The default for restarting cwm)

CM-r works as expected and moves the window,
the mouse cursor is in, to the left half of the screen.

Did you move the mouse cursor to the background
and then press the CMS-r to restart cwm?
Maybe some programs own keybindings surpress
the desired action in cwm.

I am using OpenBSD 6.1-stable.

There is a little difference with windows-vtile
between -current and 6.1-stable, as mentioned
below:

--------

Current:  http://man.openbsd.org/amd64/cwmrc.5#BIND_FUNCTION_LIST

"Current window is placed on the left of the screen, maximized vertically and resized to half of the horizontal screen space. Other windows in its group share remaining screen space."

--------

6.1-stable:  http://man.openbsd.org/OpenBSD-6.1/amd64/cwmrc.5#BIND_FUNCTION_LIST

"Current window is placed on the left of the screen and maximized vertically, other windows in its group share remaining screen space."

--------

Regards,

Stefan

Von: [hidden email]
Gesendet: 1. Oktober 2017 9:07 vorm.
An: [hidden email]
Antworten: [hidden email]
Betreff: cwm questions


Hello,
I have recently installed OpenBSD snapshot 6.2.I created a simple ~/.cwmrc with a single line -
bind-key CM-r window-vtile
then I restarted cwm, opened a few windows and hit CTRL-ALT-r.
I expected the current window to move to the left half of the screen but it did not work.I tried this with xterm, firefox, keepassx and vim as current windows but nothing happened.Does anyone know why?
Is there a way to bind a key to move a window to specified position on the screen (for example coordinates 0,0)?


   

   
Reply | Threaded
Open this post in threaded view
|

Re: cwm questions

Kapfhammer, Stefan
Hello Dell,

the current key bindings are displayed in cwm(1),
your settings in cwmrc(5) override these.

There is currently no way to move windows, to
a specified position, with a keyboard shortcut.

You can still move windows with ALT+M1 or resize with ALT+M1+M3. This is a faster way, than with
keyboard shortcuts.

Regards,

Stefan


Von: [hidden email]
Gesendet: 2. Oktober 2017 10:27 vorm.
An: [hidden email]
Antworten: [hidden email]
Betreff: Fw: cwm questions


Thanks Stefan, but even after a reboot, CM-r (window-vtile) does not work. Perhaps CM-r is not bound to anything. Is there anyway to display the current key bindings in cwm?
Is there a way to bind a key to move a window to specified position on the screen (for example coordinates 0,0)?

    On Sunday, 1 October 2017, 13:13, "Kapfhammer, Stefan" <[hidden email]> wrote:


 Hey Dell,

I am working with cwm since OpenBSD 5.8

I inserted the command you mentioned in my
~/.cwmrc and restarted cwm with CMS-r
(The default for restarting cwm)

CM-r works as expected and moves the window,
the mouse cursor is in, to the left half of the screen.

Did you move the mouse cursor to the background
and then press the CMS-r to restart cwm?
Maybe some programs own keybindings surpress
the desired action in cwm.

I am using OpenBSD 6.1-stable.

There is a little difference with windows-vtile
between -current and 6.1-stable, as mentioned
below:

--------

Current:  http://man.openbsd.org/amd64/cwmrc.5#BIND_FUNCTION_LIST

"Current window is placed on the left of the screen, maximized vertically and resized to half of the horizontal screen space. Other windows in its group share remaining screen space."

--------

6.1-stable:  http://man.openbsd.org/OpenBSD-6.1/amd64/cwmrc.5#BIND_FUNCTION_LIST

"Current window is placed on the left of the screen and maximized vertically, other windows in its group share remaining screen space."

--------

Regards,

Stefan

Von: [hidden email]
Gesendet: 1. Oktober 2017 9:07 vorm.
An: [hidden email]
Antworten: [hidden email]
Betreff: cwm questions


Hello,
I have recently installed OpenBSD snapshot 6.2.I created a simple ~/.cwmrc with a single line -
bind-key CM-r window-vtile
then I restarted cwm, opened a few windows and hit CTRL-ALT-r.
I expected the current window to move to the left half of the screen but it did not work.I tried this with xterm, firefox, keepassx and vim as current windows but nothing happened.Does anyone know why?
Is there a way to bind a key to move a window to specified position on the screen (for example coordinates 0,0)?





Reply | Threaded
Open this post in threaded view
|

Re: Fw: cwm questions

Rick Hanson
In reply to this post by Dell Sanders
On Mon, 02 Oct 2017 08:22 +0000, Dell Sanders wrote:
> Is there a way to bind a key to move a window to specified position on
> the screen (for example coordinates 0,0)?

Might have to resort to an external program like xdotool.