You are not logged in.

#126 2013-03-12 20:40:50

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

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

cippaciong wrote:

Doesn't work

Works here.

cippaciong wrote:

If I run

bspc reload_autostart

then $BSPWM_STATUS_FIFO is doubled

It could be avoided but the reload_* messages are somehow useless and will be removed.

The correct way to restart bspwm is to use something along the wm_restart script.

Last edited by bloom (2013-03-13 09:36:27)


gh · da · ds

Offline

#127 2013-03-12 23:48:40

Starfall
Member
From: /home/
Registered: 2011-05-24
Posts: 209
Website

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

I've been using bspwm for all of about 2 hours, and I think it's safe to say; I fucking love this window manager.
I've been infatuated with i3 for quite some time, but I really do think I'm already settled in bspwm. I haven't fully configured it, but, the basics are already proving extremely useful and efficient, there's some really nifty features!

Bastien, loving it so far, keep up the incredible work. I haven't done a blog post in a while due to lack of interesting material, bspwm seems to be the perfect candidate for a new write-up! I'll try and do it justice wink


Visit my blog and my DeviatArt page

Offline

#128 2013-03-13 06:19:55

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

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

Starfall wrote:

I've been using bspwm for all of about 2 hours, and I think it's safe to say; I fucking love this window manager.
I've been infatuated with i3 for quite some time, but I really do think I'm already settled in bspwm. I haven't fully configured it, but, the basics are already proving extremely useful and efficient, there's some really nifty features!

Bastien, loving it so far, keep up the incredible work. I haven't done a blog post in a while due to lack of interesting material, bspwm seems to be the perfect candidate for a new write-up! I'll try and do it justice wink

Thumb up wink

Offline

#129 2013-03-13 10:05:49

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

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

Starfall wrote:

I've been using bspwm for all of about 2 hours, and I think it's safe to say; I fucking love this window manager.

Thanks!

Would you consider it a good match for your stunning keyboard?


gh · da · ds

Offline

#130 2013-03-13 10:12:00

Starfall
Member
From: /home/
Registered: 2011-05-24
Posts: 209
Website

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

Absolutely, a match made in heaven (for lack of a better term).


Visit my blog and my DeviatArt page

Offline

#131 2013-03-14 21:32:34

Starfall
Member
From: /home/
Registered: 2011-05-24
Posts: 209
Website

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

I feel a bit retarded asking, as everything else has been completely hassle-free (still loving it), but I'm unable to get move and resize_corner working with mouse1 and mouse2 hmm

Here's how I have it set in my sxhkdrc:

super + button{1,2}
    bspc grab_pointer {move,resize_corner}

Any ideas? Probably something stupid I'm doing on my part.


Visit my blog and my DeviatArt page

Offline

#132 2013-03-14 23:32:22

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

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

Starfall wrote:

I feel a bit retarded asking, as everything else has been completely hassle-free (still loving it), but I'm unable to get move and resize_corner working with mouse1 and mouse2 hmm

Here's how I have it set in my sxhkdrc:

super + button{1,2}
    bspc grab_pointer {move,resize_corner}

Any ideas? Probably something stupid I'm doing on my part.

You also need:

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

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

Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#133 2013-03-14 23:37:59

Starfall
Member
From: /home/
Registered: 2011-05-24
Posts: 209
Website

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

Stebalien wrote:

You also need:

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

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

Well... that makes a lot of sense! That got it working! Thanks smile I also needed to change button2 to button3 (for right-click re-sizing)

Last edited by Starfall (2013-03-14 23:39:44)


Visit my blog and my DeviatArt page

Offline

#134 2013-03-14 23:59:27

Shinryuu
Member
From: /dev/urandom
Registered: 2010-02-27
Posts: 339

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

I'm still trying to figure out how to spawn panel around. I'm using panel_bar from examples and this is my .xinitrc file

#!/bin/sh
export PATH=/home/shn/bin/:${PATH}

xsetroot -cursor_name left_ptr
setxkbmap -option terminate:ctrl_alt_bksp
setxkbmap fi
nitrogen --restore &
nvidia-load-settings &> /dev/null
xmodmap .xmodmap
loliclip -d
dunst -t 3 &
unclutter -root -idle 2 &
sxhkd &
(sleep 8 && wv.sh) &

[ -e "$BSPWM_STATUS_FIFO" ] && rm "$BSPWM_STATUS_FIFO"
mkfifo "$BSPWM_STATUS_FIFO"
exec bspwm -s "$BSPWM_STATUS_FIFO" | bspanel | bar

Offline

#135 2013-03-15 11:11:30

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

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

Shinryuu wrote:
exec bspwm -s "$BSPWM_STATUS_FIFO" | bspanel | bar

That won't work, you need to make a panel script.

But first correct the aforementioned line to:

exec bspwm -s "$BSPWM_STATUS_FIFO"

Then create a panel script with the following content:

#! /bin/dash

cat "$BSPWM_STATUS_FIFO" | panel_bar | bar

You shall launch that panel script from your autostart with:

panel &

gh · da · ds

Offline

#136 2013-03-15 14:51:41

Shinryuu
Member
From: /dev/urandom
Registered: 2010-02-27
Posts: 339

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

No wonder something felt a bit off and thanks for the correction.

Offline

#137 2013-03-15 17:29:11

mkaito
Member
From: Spain
Registered: 2010-06-12
Posts: 126
Website

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

How do you guys live without panels? Well, I guess you could, but I really would be very anxious if nothing told me there's an urgent window on another tag. Can you handle that without a panel?

Last edited by mkaito (2013-03-15 17:29:32)


Fear me! I have root! Sometimes...

Offline

#138 2013-03-15 17:36:40

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

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

I still can't get why I can't diplay the clock in bar..
I do everything like you: same .xinitrc exec line, same panel_bar, etc.. hmm

Offline

#139 2013-03-15 18:00:21

netfun81
Member
Registered: 2008-07-20
Posts: 32

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

I like bspwm and keep trying it when new things are updated, however I have one issue that prevents me from using it full-time.   I frequently use a program that uses nearly 100% of one core cpu.  In other window managers i can switch virtual desktops while this program is running and the cpu usage goes down to about 20%, when I switch back to the program's desktop it goes back to 100% as I would expect.

  The issue is that when I change desktop in bspwm the cpu % stays at 100% on the new desktop as if I am on the same desktop as the program.  Ive tried this in various window managers and most behave well, so I hope its something that can be fixed in bspwm?

Last edited by netfun81 (2013-03-15 18:04:12)

Offline

#140 2013-03-15 18:57:00

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

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

cippaciong wrote:

I still can't get why I can't display the clock in bar...

Remove your clock binary.

And install this: https://aur.archlinux.org/packages/sutils-git.

Last edited by bloom (2013-03-15 19:51:07)


gh · da · ds

Offline

#141 2013-03-15 19:55:58

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

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

netfun81 wrote:

I frequently use a program that uses nearly 100% of one core cpu.  In other window managers i can switch virtual desktops while this program is running and the cpu usage goes down to about 20%

What's the program you're referring to?

What are the WMs for which the CPU behavior is expected?


gh · da · ds

Offline

#142 2013-03-15 20:24:38

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 still can't get why I can't display the clock in bar...

Remove your clock binary.

And install this: https://aur.archlinux.org/packages/sutils-git.

Aaaaaaaaaaaaand...
it works.

Thanks smile

Offline

#143 2013-03-16 00:53:58

netfun81
Member
Registered: 2008-07-20
Posts: 32

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

bloom wrote:

What's the program you're referring to?

What are the WMs for which the CPU behavior is expected?

The program I was referring to is called kokua, its a secondlife viewer.  The same issue happens with other viewers and graphic intensive programs.  The other window managers I tested where cpu performed as expected are: openbox, dwm, notion, and herbstluftwm.   I had the stuck cpu issue with evilwm also if that helps.   I believe that changing desktops on most wm's is like minimizing the programs on the other desktops thereby freeing cpu usage.

Offline

#144 2013-03-16 18:41:17

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

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

netfun81 wrote:

The other window managers I tested where cpu performed as expected are: openbox, dwm, notion, and herbstluftwm.

Could you try with monsterwm?


gh · da · ds

Offline

#145 2013-03-17 20:17:48

netfun81
Member
Registered: 2008-07-20
Posts: 32

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

monsterwm is working fine, cpu usage goes down when switching virtual desktops.  I tested again with bspwm and if i have xterm open on the same desktop as kokua cpu usuage reduces when focusing the xterm.  if i close that xterm and just switch desktops cpu stays at 100

Offline

#146 2013-03-17 21:39:33

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

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

netfun81 wrote:

I tested again with bspwm and if i have xterm open on the same desktop as kokua cpu usuage reduces when focusing the xterm.

Please try the fix-cpu branch.


gh · da · ds

Offline

#147 2013-03-17 21:57:35

Starfall
Member
From: /home/
Registered: 2011-05-24
Posts: 209
Website

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

So I started trying to implement a bar into my setup. Forgive my naivety, but it seems the fifo for bspwm isn't being created. I'm sure it's something I've misconfigured along the way. Any help'd be greatly appreciated. Here's how I'm starting bspwm with xinitrc:

# Start bspwm  
sxhkd -c ~/.config/bspwm/sxhkdrc &

[ -e "$BSPWM_STATUS_FIFO" ] && rm "$BSPWM_STATUS_FIFO"
mkfifo "$BSPWM_STATUS_FIFO"
exec bspwm -s "$BSPWM_STATUS_FIFO"

When trying to call bar with particular scripts, any line on which the fifo is referenced, the shell complains that there's no such file or directory.


Visit my blog and my DeviatArt page

Offline

#148 2013-03-17 22:29:08

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

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

Starfall wrote:

So I started trying to implement a bar into my setup. Forgive my naivety, but it seems the fifo for bspwm isn't being created. I'm sure it's something I've misconfigured along the way. Any help'd be greatly appreciated. Here's how I'm starting bspwm with xinitrc:

# Start bspwm  
sxhkd -c ~/.config/bspwm/sxhkdrc &

[ -e "$BSPWM_STATUS_FIFO" ] && rm "$BSPWM_STATUS_FIFO"
mkfifo "$BSPWM_STATUS_FIFO"
exec bspwm -s "$BSPWM_STATUS_FIFO"

When trying to call bar with particular scripts, any line on which the fifo is referenced, the shell complains that there's no such file or directory.

Did you set the $BSPWM_STATUS_FIFO variable so that it points to some file? Like /tmp/bspwm-fifo for example.

Offline

#149 2013-03-17 22:54:58

Starfall
Member
From: /home/
Registered: 2011-05-24
Posts: 209
Website

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

cippaciong wrote:

Did you set the $BSPWM_STATUS_FIFO variable so that it points to some file? Like /tmp/bspwm-fifo for example.

Ah, I didn't. Wasn't sure I'd have to set that myself, not to worry then, I'll do that big_smile


Visit my blog and my DeviatArt page

Offline

#150 2013-03-17 23:00:55

Starfall
Member
From: /home/
Registered: 2011-05-24
Posts: 209
Website

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

cippaciong wrote:

Did you set the $BSPWM_STATUS_FIFO variable so that it points to some file? Like /tmp/bspwm-fifo for example.

How would you suggest I go about doing so?

**EDIT** I got it working, though I'd still appreciate an answer on how you set yours? smile

Last edited by Starfall (2013-03-17 23:31:37)


Visit my blog and my DeviatArt page

Offline

Board footer

Powered by FluxBB