You are not logged in.

#901 2013-11-18 19:54:05

moist
Member
Registered: 2013-04-21
Posts: 12

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

I'm having some issues getting dzen2 to display workspaces.
I'm using the current example scripts, clock/title show just fine.
Running cat "$PANEL_FIFO" in a terminal just returns the clock.

Any idea as to what I might be missing?

*edit:
Tried passing "bspc control --subscribe" to a text file, but it doesn't seem to return anything.

Last edited by moist (2013-11-18 20:16:41)

Offline

#902 2013-11-18 20:17:07

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

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

Are you sure you're piping the status to the FIFO? You should have the following somewhere:

bspc control --subscribe > "$PANEL_FIFO" &

(bspwm no longer writes to a status FIFO directly).
-- edit:
Obviously you have... What did you do exactly?

Last edited by Stebalien (2013-11-18 20:18:08)


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

Offline

#903 2013-11-18 20:37:25

moist
Member
Registered: 2013-04-21
Posts: 12

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

I'm such an idiot, sorry for wasting your time.
Had the regular 'bspwm' aur package installed in stead of the 'bspwm-git' one on a clean arch install.

Offline

#904 2013-11-18 22:14:12

DrKillPatient
Member
Registered: 2011-07-28
Posts: 85

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

Just installed bspwm after using xmonad for quite a while -- definitely an improvement! I've one issue -- the normal_frame_opacity and focused_frame_opacity settings don't seem to affect anything; as far as I can tell, borders aren't opaque (focused frame is 0.05 and normal frame is 0.0). I do have compton running. What am I missing here?

Offline

#905 2013-11-18 22:49:48

earsplit
Member
Registered: 2012-03-31
Posts: 187
Website

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

DrKillPatient wrote:

Just installed bspwm after using xmonad for quite a while -- definitely an improvement! I've one issue -- the normal_frame_opacity and focused_frame_opacity settings don't seem to affect anything; as far as I can tell, borders aren't opaque (focused frame is 0.05 and normal frame is 0.0). I do have compton running. What am I missing here?

Frames are the blank spaces shown below, not window borders.

2013_11_18_172621_1920x1848_scrot.jpg

The terminology is taken from "frames" in herbstluftswm which are spaces that hold winows. This feature is pretty new. I use it to make room for floating windows in a tiled layout.


((( configs :: website )))

Offline

#906 2013-11-19 10:32:02

Almehdin
Member
Registered: 2012-05-05
Posts: 31

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

I am trying to make a autostart script. Where I have scripted some predefined desktops. I have tried a lot of different ways but I always seem to get into race conditions. Where the bspc command are executed at the wrong time rendering in wrong set up.

Does anyone see anything obvious I have missed or doing wrong? http://ix.io/94J http://ix.io/94K (sorry if they look a bit unclean at the moment)

Offline

#907 2013-11-19 13:09:07

tedbell
Member
Registered: 2012-08-04
Posts: 167

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

I haven't really found any solutions in search but I have a couple questions:

1) Is it possible to set this up so I can scroll through desktops with the mouse wheel?

2) Can someone provide detailed instruction on how to set up this "loop"? I would like to be able to reconfigure bspwm without having to log out/in.

Thanks smile

Offline

#908 2013-11-19 13:17:19

tonk
Member
Registered: 2013-05-15
Posts: 38

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

tedbell wrote:

1) Is it possible to set this up so I can scroll through desktops with the mouse wheel?

Yes, with sxhkd. Just add this to your sxhkdrc:

super + button{4,5}
    bspc desktop -f {prev,next}

Offline

#909 2013-11-19 13:29:30

tedbell
Member
Registered: 2012-08-04
Posts: 167

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

worked like a charm thanks! big_smile

Offline

#910 2013-11-20 00:48:32

Almehdin
Member
Registered: 2012-05-05
Posts: 31

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

I am still trying to solve the script I mentioned previously. I realized I could merge some of the commands. I am still unable to get it to work. Neither this bspc window -f ${sel_vlc} -s ${mv_vlc} nor this bspc window -f ${sel_vlc} && bspc window ${sel_vlc} -s ${mv_vlc} works within the script. I can understand why the first does not but the later If run from terminal it works. It's like the focus command never gets executed when I have it in the script. The launch script http://ix.io/95l.

Is it a bug or am I doing something wrong?

Last edited by Almehdin (2013-11-20 00:49:16)

Offline

#911 2013-11-20 01:37:07

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

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

Why are you trying to start then move the programs?  Just use the rules to tell it where to go, then just start them.

Offline

#912 2013-11-20 07:15:21

Almehdin
Member
Registered: 2012-05-05
Posts: 31

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

@WonderWoofy: I use the rules (http://ix.io/95q) but maybe I have missed something? I haven's seen any documentation where this could be made more precise.

[SOLVED] Vlc had a delay I couldn't circumpass.. so was force to put an 'sleep' after all. http://ix.io/95T

Last edited by Almehdin (2013-11-21 10:35:22)

Offline

#913 2013-11-20 10:29:36

LiamMcCalloway
Member
Registered: 2013-03-19
Posts: 23

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

Hi,

On IRC yesterday I asked how to pass position and size argument to floating windows ; my use case was bringing a terminal window to the center of the screen for i.a. composing an email in mutt. I found a trick I am posting here in case it is useful to someone else and/or there is a better way to achieve the same result.

I installed wmctrl from the community repos and added this:

 super + s
      wmctrl -r :ACTIVE: -e 0,360,180,720,480;\
      bspc window -t floating

to my sxhkdrc

Offline

#914 2013-11-22 20:15:03

tedbell
Member
Registered: 2012-08-04
Posts: 167

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

Can anyone give me a tutorial on this "loop" in the examples. I think I set it up correctly but all it does for me is kill my tint2 panel with (Super + Alt + Escape) and exit bspwm with (Super + Alt + Shift + Esc).
Thanks

EDIT:
I am also havign issues with browsers in bspwm...

1) After rebooting the computer, Firefox does not display correctly as seen here:
screen755.jpg

2) Chromium is sent to desktop 2 first and not desktop 1 (the current desktop). I can only go to desktop 2 and send it to desktop one after it is launched.

Last edited by tedbell (2013-11-22 23:06:58)

Offline

#915 2013-11-22 22:52:48

agahnim
Member
Registered: 2013-07-03
Posts: 151

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

Does anyone think it would be possible to run BSPWM under KDE. I really like KDE, although it is kinda heavy. Since BSPWM is the only tiling window manager that really works well for me, I wanted to see if I could set up a cool environment and use the two together. I do not know if I would intend to do it permanently, but I just want to try it.

Offline

#916 2013-11-22 23:24:20

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

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

agahnim wrote:

Does anyone think it would be possible to run BSPWM under KDE. I really like KDE, although it is kinda heavy. Since BSPWM is the only tiling window manager that really works well for me, I wanted to see if I could set up a cool environment and use the two together. I do not know if I would intend to do it permanently, but I just want to try it.

I know one way you could find out...

Offline

#917 2013-11-22 23:30:31

earsplit
Member
Registered: 2012-03-31
Posts: 187
Website

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

tedbell wrote:

Can anyone give me a tutorial on this "loop" in the examples. I think I set it up correctly but all it does for me is kill my tint2 panel with (Super + Alt + Escape) and exit bspwm with (Super + Alt + Shift + Esc).
Thanks

EDIT:
I am also havign issues with browsers in bspwm...

1) After rebooting the computer, Firefox does not display correctly as seen here:
http://en.zimagez.com/miniature/screen755.jpg

2) Chromium is sent to desktop 2 first and not desktop 1 (the current desktop). I can only go to desktop 2 and send it to desktop one after it is launched.

1) Just toggle monocle really quickly. Should go away.
2) Hmmm sounds a lot like you have a rule setup. Did you look at the sample configs before blindly copying them?


((( configs :: website )))

Offline

#918 2013-11-22 23:54:17

tedbell
Member
Registered: 2012-08-04
Posts: 167

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

wow DUH! I'm an idiot. tongue
I did blindly copy them. I see it in the rules file.
Thanks!

Offline

#919 2013-11-23 09:38:16

3xOSC
Member
Registered: 2013-03-18
Posts: 107

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

wait, so now rules exists in its own little file and not bspwmrc?

Offline

#920 2013-11-23 14:57:37

tedbell
Member
Registered: 2012-08-04
Posts: 167

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

Yeah, in a script "bspwm_rules" as per the bspwm examples.
https://github.com/baskerville/bspwm/tr … rnal_rules

Offline

#921 2013-11-23 18:59:38

tedbell
Member
Registered: 2012-08-04
Posts: 167

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

agahnim wrote:

Does anyone think it would be possible to run BSPWM under KDE. I really like KDE, although it is kinda heavy. Since BSPWM is the only tiling window manager that really works well for me, I wanted to see if I could set up a cool environment and use the two together. I do not know if I would intend to do it permanently, but I just want to try it.

You can always install bspwm and run it in a seperate X session.

Offline

#922 2013-11-23 20:05:50

3xOSC
Member
Registered: 2013-03-18
Posts: 107

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

tedbell wrote:

Yeah, in a script "bspwm_rules" as per the bspwm examples.
https://github.com/baskerville/bspwm/tr … rnal_rules


Will this be going in the folder:  ~/.config/bspwm, where it sits along side bspwmrc?

Offline

#923 2013-11-23 21:04:31

tedbell
Member
Registered: 2012-08-04
Posts: 167

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

3xOSC wrote:
tedbell wrote:

Yeah, in a script "bspwm_rules" as per the bspwm examples.
https://github.com/baskerville/bspwm/tr … rnal_rules


Will this be going in the folder:  ~/.config/bspwm, where it sits along side bspwmrc?

You can put it anywhere but it is best to set up a folder for executable scripts.

1) Make a folder
2) put this is your .bashrc:

export PATH=$PATH:<path/to/scripts>

3) download the examples:

git clone https://github.com/baskerville/bspwm

4) open and check/edit the examples located in ~/bspwm/examples/external_rules
5) move bspwm_rules, rulc, ruld and rule_command to your scripts folder and making sure they are executable

chmod +x <file>

6) open the example bspwmrc file in .../external_rules and copy those lines into your main bspwmrc

I believe that is how you set it up. There are no instructions available but it works on my end.

Offline

#924 2013-11-24 01:19:37

3xOSC
Member
Registered: 2013-03-18
Posts: 107

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

tedbell wrote:
3xOSC wrote:
tedbell wrote:

Yeah, in a script "bspwm_rules" as per the bspwm examples.
https://github.com/baskerville/bspwm/tr … rnal_rules


Will this be going in the folder:  ~/.config/bspwm, where it sits along side bspwmrc?

You can put it anywhere but it is best to set up a folder for executable scripts.

1) Make a folder
2) put this is your .bashrc:

export PATH=$PATH:<path/to/scripts>

3) download the examples:

git clone https://github.com/baskerville/bspwm

4) open and check/edit the examples located in ~/bspwm/examples/external_rules
5) move bspwm_rules, rulc, ruld and rule_command to your scripts folder and making sure they are executable

chmod +x <file>

6) open the example bspwmrc file in .../external_rules and copy those lines into your main bspwmrc

I believe that is how you set it up. There are no instructions available but it works on my end.


Thank you.  SO I have followed your instructions and running ps aux | grep bspwm_rules shows that it is indeed running.

However, I am still unable to set firefox to start up at display 2.  I wonder why that is.

They way I have set it is up that in my ~/.config/bspwm/bspwmrc:    it starts up panel & bspc config rule_command "$(which rule_command)" & bspwm_rules &

Can I take a look at what is in your bspwmrc?

Offline

#925 2013-11-24 03:49:43

Almehdin
Member
Registered: 2012-05-05
Posts: 31

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

As questions how to set bspwm up have started to drop in I made an entry to the wiki which explains parts of it. It is not done and need to be supplemented. I used the steps robstwd mentioned on page #35. So we have something to point at when questions are asked. If this was a bad idea I apologise.

https://wiki.archlinux.org/index.php/Bs … figuration

Last edited by Almehdin (2013-11-24 03:50:55)

Offline

Board footer

Powered by FluxBB