You are not logged in.

#51 2013-01-05 09:50:48

bloom
Member
Registered: 2010-08-18
Posts: 749
Website

Re: bspwm — A tiling window manager based on binary space partitioning

findus28 wrote:

I cannot simply refocus the window below the cursor by moving the mouse.

Unfortunately, focus_follows_mouse is based on enter notify events and not on motion notify events.

I'll see if I can fix this once I'm done with sxhkd.


gh · da · ds · cr · ab · fkr

Offline

#52 2013-01-05 19:19:35

findus28
Member
Registered: 2013-01-02
Posts: 4

Re: bspwm — A tiling window manager based on binary space partitioning

Alright. Thank you for having a look a it. smile

One more question: On the root window the cursor always appears as a black cross. Is this the intended behavior or is there a problem with my configuration?

Offline

#53 2013-01-05 19:39:49

bloom
Member
Registered: 2010-08-18
Posts: 749
Website

Re: bspwm — A tiling window manager based on binary space partitioning

findus28 wrote:

One more question: On the root window the cursor always appears as a black cross. Is this the intended behavior or is there a problem with my configuration?

You can change the aspect of the pointer over the root window with xsetroot.

You could add this line in you ~/.xinitrc for example:

xsetroot -cursor_name left_ptr

gh · da · ds · cr · ab · fkr

Offline

#54 2013-01-06 10:40:37

cippaciong
Member
Registered: 2010-06-21
Posts: 104
Website

Re: bspwm — A tiling window manager based on binary space partitioning

I'm trying to use bspwm but whenever I run bspc I get this error:

failed to connect to socket

This obviously affects also sxhkd wm-related shortcuts which are not working at all.

Offline

#55 2013-01-06 11:26:50

bloom
Member
Registered: 2010-08-18
Posts: 749
Website

Re: bspwm — A tiling window manager based on binary space partitioning

cippaciong wrote:

I'm trying to use bspwm but whenever I run bspc I get this error:

failed to connect to socket

What's the output of

    ls -l /tmp/bspwm-socket "$BSPWM_SOCKET"

?


gh · da · ds · cr · ab · fkr

Offline

#56 2013-01-06 13:43:41

cippaciong
Member
Registered: 2010-06-21
Posts: 104
Website

Re: bspwm — A tiling window manager based on binary space partitioning

bloom wrote:
cippaciong wrote:

I'm trying to use bspwm but whenever I run bspc I get this error:

failed to connect to socket

What's the output of

    ls -l /tmp/bspwm-socket "$BSPWM_SOCKET"

?

ls: cannot access /tmp/bspwm-socket: No such file or directory
ls: cannot access /tmp/bspwm-socket: No such file or directory

P.S. BSPWM_SOCKET is set to /tmp/bspwm-socket in my .xinitrc just to avoid the relative warning.

Last edited by cippaciong (2013-01-06 14:24:48)

Offline

#57 2013-01-06 17:40:10

bloom
Member
Registered: 2010-08-18
Posts: 749
Website

Re: bspwm — A tiling window manager based on binary space partitioning

cippaciong wrote:
ls: cannot access /tmp/bspwm-socket: No such file or directory

I've added some error checking code to the server: normally bspwm should now fail with a socket related error if you try to run it.

Last edited by bloom (2013-01-06 17:47:51)


gh · da · ds · cr · ab · fkr

Offline

#58 2013-01-06 17:47:19

bloom
Member
Registered: 2010-08-18
Posts: 749
Website

Re: bspwm — A tiling window manager based on binary space partitioning

I have removed the code related to the mouse bindings. You now have to define those bindings via sxhkd.

Example:

super + @button{1,2,3}
    bspc mouse {move,focus,resize}

The mouse actions are entered and left by mouse released events.


gh · da · ds · cr · ab · fkr

Offline

#59 2013-01-06 18:26:06

cippaciong
Member
Registered: 2010-06-21
Posts: 104
Website

Re: bspwm — A tiling window manager based on binary space partitioning

bloom wrote:
cippaciong wrote:
ls: cannot access /tmp/bspwm-socket: No such file or directory

I've added some error checking code to the server: normally bspwm should now fail with a socket related error if you try to run it.

I think the problem was that xinit actually started X (wallpaper too) but not bspwm. I managed to open a terminal and run bspwm manually. How should I run bspwm from .xinitrc? I used

exec bspwm

but I saw in your dotfiles that you use the "wm" script

Offline

#60 2013-01-06 20:26:06

bloom
Member
Registered: 2010-08-18
Posts: 749
Website

Re: bspwm — A tiling window manager based on binary space partitioning

cippaciong wrote:
exec bspwm

That should work fine.

I mentioned the wm script and its purpose here.


gh · da · ds · cr · ab · fkr

Offline

#61 2013-01-08 17:28:58

bloom
Member
Registered: 2010-08-18
Posts: 749
Website

Re: bspwm — A tiling window manager based on binary space partitioning

sxhkd is now required to be able to trigger the track_pointer message.

You might want to use the following hotkeys in sxhkdrc:

super + button{1,2,3}
    bspc grab_pointer {move,focus,resize}

super + !button{1,3}
    bspc {track_pointer,track_pointer} %i %i

super + @button{1,3}
    bspc {ungrab_pointer,ungrab_pointer}

focus_follows_mouse is now known as focus_follows_pointer and is based on pointer motion events, which should fix the last reported issue regarding this setting.


gh · da · ds · cr · ab · fkr

Offline

#62 2013-01-10 15:29:03

findus28
Member
Registered: 2013-01-02
Posts: 4

Re: bspwm — A tiling window manager based on binary space partitioning

bloom wrote:

You can change the aspect of the pointer over the root window with xsetroot.

You could add this line in you ~/.xinitrc for example:

xsetroot -cursor_name left_ptr

Thank you, that’s really useful information.

I have just updated bspwm and started to use sxhkd. The new "focus_follows_pointer" setting works perfectly e.g. for multiple rxvt-unicode windows, but it behaves like the old "focus_follows_mouse" setting e.g. with a Thunderbird window and the corresponding address book. Apart from that, I love to see bspwm impoving so fast.

Offline

#63 2013-01-21 10:51:53

bloom
Member
Registered: 2010-08-18
Posts: 749
Website

Re: bspwm — A tiling window manager based on binary space partitioning

findus28 wrote:

The new "focus_follows_pointer" setting works perfectly e.g. for multiple rxvt-unicode windows, but it behaves like the old "focus_follows_mouse" setting e.g. with a Thunderbird window and the corresponding address book.

As stated in the commit comment, I'm aware of that problem.

It can be reproduced with zenity:

  • Launch a terminal window.

  • Issue zenity --question.

  • Put the pointer inside the zenity window.

  • Give the focus back to the terminal window (by using the keyboard).

  • Move the pointer inside the zenity window.

What happens is that zenity is not allowing other clients to receive pointer events (i.e. the owner_events of the grab is 0), and no enter notify events are generated.

There might also be a bug in X itself:
    https://bugs.freedesktop.org/show_bug.cgi?id=54238


gh · da · ds · cr · ab · fkr

Offline

#64 2013-01-21 10:58:42

bloom
Member
Registered: 2010-08-18
Posts: 749
Website

Re: bspwm — A tiling window manager based on binary space partitioning

The compton-shadow branch was merged into master.

The apply_shadow_property will only have an effect if compton is launched with the --respect-prop-shadow option.

I recommend to use the richardgv-dev branch of compton.


gh · da · ds · cr · ab · fkr

Offline

#65 2013-01-25 21:28:31

rennis250
Member
Registered: 2009-07-26
Posts: 16

Re: bspwm — A tiling window manager based on binary space partitioning

I'm very intrigued by bspwm, but I'm have a lot of difficulty with starting it.  Here is my setup:

-Using your default bspwm_autostart (saved as /home/rje/.config/bspwm/autostart).  I commented any lines that called applications that I do not have installed.

-Using your wm script (called in .xinitrc like so: "exec /home/rje/bin/wm")

-Using your default sxhkdrc.

bspwm and sxhkdrc are installed via owl.

When I start X, I am left with a blank screen, aside from my background that is set with bgs, and there is no mouse pointer to be seen.

BTW, I really like your work.  Very well designed and pleasant to use.  Awesome job! (Nice website, too!)

--Rob

Offline

#66 2013-01-25 23:05:10

taylorchu
Member
Registered: 2010-08-09
Posts: 405

Re: bspwm — A tiling window manager based on binary space partitioning

@rennis250
same problem here.

@bloom
great work. but bspwm really needs a good documentation and manual.


"After you do enough distro research, you will choose Arch."

Offline

#67 2013-01-26 10:21:36

bloom
Member
Registered: 2010-08-18
Posts: 749
Website

Re: bspwm — A tiling window manager based on binary space partitioning

@rennis250 and @taylorchu:

Please try with

  • An empty autostart.

  • A simple .xinitrc:

    sxhkd &
    exec bspwm

gh · da · ds · cr · ab · fkr

Offline

#68 2013-01-26 19:08:23

taylorchu
Member
Registered: 2010-08-09
Posts: 405

Re: bspwm — A tiling window manager based on binary space partitioning

still does not work sad
what is default keybind that I should test on?
what will see if one starts bspwm?


"After you do enough distro research, you will choose Arch."

Offline

#69 2013-01-26 19:27:19

bloom
Member
Registered: 2010-08-18
Posts: 749
Website

Re: bspwm — A tiling window manager based on binary space partitioning

taylorchu wrote:

still does not work sad

No mouse pointer?

taylorchu wrote:

what is default keybind that I should test on?

You should make your own based on the one mentioned in bspwm's README.

taylorchu wrote:

what will see if one starts bspwm?

Nothing besides your mouse pointer.


gh · da · ds · cr · ab · fkr

Offline

#70 2013-01-26 19:35:12

rennis250
Member
Registered: 2009-07-26
Posts: 16

Re: bspwm — A tiling window manager based on binary space partitioning

It must have been working all along, but I was pressing the wrong key combo to start my terminal.   All good here!  Thanks, bloom!

@taylorchu, make sure to edit the following line in sxhkdrc:

super + ctrl + Return
              {urxvtc, urxvtc cd $incoming}

This should be changed to your default terminal.  For example,

super + ctrl + Return
              {xterm}

Then, make sure that sxhkdrc is in ~/.config/sxhkd and autostart is in ~/.config/bspwm.  The sxhkdrc and autostart files should NOT have a "." at the beginning of their filenames.

I've found that when bspwm is started, I receive a blank screen with no mouse pointer, but once a terminal is opened, the mouse pointer appears.  This might lead others to believe that the window manager isn't working.

NOTE: Also, make sure that the XDG_CONFIG_HOME envirnoment variable is properly defined and exported at login.

--Rob

Last edited by rennis250 (2013-01-26 19:36:27)

Offline

#71 2013-01-26 20:01:42

bloom
Member
Registered: 2010-08-18
Posts: 749
Website

Re: bspwm — A tiling window manager based on binary space partitioning

rennis250 wrote:

@taylorchu, make sure to edit the following line in sxhkdrc:
super + ctrl + Return
    {urxvtc, urxvtc cd $incoming}

Actually:

super + ctrl + {slash,shift + slash}
    {urxvtc,urxvtc -cd "$HOME/incoming"}
rennis250 wrote:

This should be changed to your default terminal.  For example,
super + ctrl + Return
    {xterm}

This should be:

super + ctrl + Return
    xterm

gh · da · ds · cr · ab · fkr

Offline

#72 2013-01-26 20:39:01

taylorchu
Member
Registered: 2010-08-09
Posts: 405

Re: bspwm — A tiling window manager based on binary space partitioning

@bloom
super + ctrl + Return
    xterm
saves me.

btw, how do you use manual mode by default?


"After you do enough distro research, you will choose Arch."

Offline

#73 2013-01-26 21:59:55

rennis250
Member
Registered: 2009-07-26
Posts: 16

Re: bspwm — A tiling window manager based on binary space partitioning

Curious...  using {xterm} works here.  Although, I corrected it and removed the curly brackets (apologies for the typos).   Perhaps curly brackets around a single term should be registered as a syntax error, since it's an ambiguity to the parser?

--Rob

Offline

#74 2013-01-27 09:57:08

bloom
Member
Registered: 2010-08-18
Posts: 749
Website

Re: bspwm — A tiling window manager based on binary space partitioning

taylorchu wrote:

btw, how do you use manual mode by default?

I don't see how the manual mode could be used by default: it is entered by specifying where the next window should appear.


gh · da · ds · cr · ab · fkr

Offline

#75 2013-01-27 10:01:17

bloom
Member
Registered: 2010-08-18
Posts: 749
Website

Re: bspwm — A tiling window manager based on binary space partitioning

rennis250 wrote:

Perhaps curly brackets around a single term should be registered as a syntax error

No they shouldn't:

bash -c 'echo {0..10}'

gh · da · ds · cr · ab · fkr

Offline

Board footer

Powered by FluxBB