You are not logged in.

#1001 2013-12-31 14:51:08

Ploppz
Member
Registered: 2013-09-14
Posts: 211

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

bloom wrote:
Ploppz wrote:

1. Can't open windows in floating mode. Here is from sxhkdrc:

super + shift + t
    bspc rule -a termite --floating --one-shot; \
    termite -x 0.7

As mentioned earlier, the syntax changed.

This:

bspc rule -a termite --floating --one-shot

is now written:

bspc rule -a termite -o floating=on

That did unfortunatley not work either. I tried to pkill -USR1 -x sxhkd, and also restart X11.

Offline

#1002 2014-01-03 21:58:59

techaddicted
Member
Registered: 2014-01-03
Posts: 9

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

Maybe its been discussed million of times, but i can not get panel to run. I added to my path, the $PANEL_FILO is in /tmp/panel_filo and i followed every single step from the bspwm for dummies guide.
panel & is in my bspwmrc. All the other things that i added, like compton and setting up a wallpaper works, but not the part with panel...
If i start it within my terminal (urxvt) it works, but closes when i close the terminal.
Would it be possible to add a command that bspwm runs programms at the start up like i3 or awesomewm?

May i add: im running zsh instead of bash

Offline

#1003 2014-01-03 22:18:16

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

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

techaddicted wrote:

Maybe its been discussed million of times, but i can not get panel to run. I added to my path, the $PANEL_FILO is in /tmp/panel_filo and i followed every single step from the bspwm for dummies guide.
panel & is in my bspwmrc. All the other things that i added, like compton and setting up a wallpaper works, but not the part with panel...
If i start it within my terminal (urxvt) it works, but closes when i close the terminal.
Would it be possible to add a command that bspwm runs programms at the start up like i3 or awesomewm?

May i add: im running zsh instead of bash

Do you have ~/.config/bspwm/panel in your path? If not you will need to write the full path to it from where you run it.

Offline

#1004 2014-01-04 11:00:25

techaddicted
Member
Registered: 2014-01-03
Posts: 9

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

Almehdin wrote:

Do you have ~/.config/bspwm/panel in your path? If not you will need to write the full path to it from where you run it.

Yep, its inside my path.

Offline

#1005 2014-01-04 12:45:46

techaddicted
Member
Registered: 2014-01-03
Posts: 9

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

Oh i forgot to say:
If i run panel & within my "normal terminal" after the start up, it works...

Offline

#1006 2014-01-05 02:00:40

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

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

Where did you set your path? Maybe it's some sort of race condition.. not sure why that would be but am out of ideas. It should start... especially if you can start it from the terminal after start up.

Offline

#1007 2014-01-05 04:07:16

milomouse
Member
Registered: 2009-03-24
Posts: 940
Website

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

Ok, after last update (01/04/2014, to commit 50c6f101821a4f73040c9ec272472e40b4e0bf75) I am having issues with the `bspc rule -a BLAH desktop=BLAH' command.  So, the rule seems to work in that it applies the rule and shows up in `bspc rule --list' but after running the program found in the rule my desktops appear screwed up.  Let me show you.

In the first screenshot I issue the rule command (note that all other rules seem to work fine as long as they don't include desktop=BLAH) and then spawn dwb from interrobang (although I've tried from urxvt too to see if that makes a difference but it doesn't).  As you can see it screws up my window arrangement.
s_1388894021_3383381_a78b9d3c1a.png
So, then I view desktop III and my windows are screwed up there too.. even though dwb is supposed to be the only window on that desktop.
s_1388894027_8003879_a4ca48495c.png
And If I try to cycle desktops or view a different desktop (like the one I have my urxvt terminals on) I don't see any windows and have to continuously hit --toggle-visibility before my windows show back up.  Even after they show up, if I try to cycle or view a different desktop they disappear and I have to struggle to view my windows.  After this point I will sometimes get a segfault and bspwm closes.  Again, I never had this problem before until last update so maybe something changed?  I checked out example configs found with the update but cannot find anything too different.

Here are my configs ( https://github.com/milomouse/dotfiles/tree/master/bspwm ) when I updated though I changed some minor things since then trying to figure out what the problem is..  Hopefully it's my own error and can be easily resolved.

Edit:  Oh, and if I run `bspc query -T' after the rule with desktop= command, it will appears as though all windows are on BOTH desktops.  So, both urxvt instances and the dwb instance will be shown under I and III.

Last edited by milomouse (2014-01-05 04:15:44)

Offline

#1008 2014-01-05 09:45:42

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

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

milomouse wrote:

Ok, after last update (01/04/2014, to commit 50c6f101821a4f73040c9ec272472e40b4e0bf75) I am having issues with the `bspc rule -a BLAH desktop=BLAH' command.

Sorry about that: the aforementioned commit introduced a bug which should be fixed by 3250438.

Last edited by bloom (2014-01-05 09:54:11)


gh · da · ds · cr · ab · fkr

Offline

#1009 2014-01-05 09:57:48

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

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

techaddicted wrote:

Maybe its been discussed million of times, but i can not get panel to run.

https://bbs.archlinux.org/viewtopic.php … 3#p1363533


gh · da · ds · cr · ab · fkr

Offline

#1010 2014-01-05 14:37:59

milomouse
Member
Registered: 2009-03-24
Posts: 940
Website

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

bloom wrote:
milomouse wrote:

Ok, after last update (01/04/2014, to commit 50c6f101821a4f73040c9ec272472e40b4e0bf75) I am having issues with the `bspc rule -a BLAH desktop=BLAH' command.

Sorry about that: the aforementioned commit introduced a bug which should be fixed by 3250438.

Thank you -- everything appears to be working like normal again.  Appreciate the quick response and fix!

Offline

#1011 2014-01-05 15:20:47

techaddicted
Member
Registered: 2014-01-03
Posts: 9

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

Almehdin wrote:

Where did you set your path? Maybe it's some sort of race condition.. not sure why that would be but am out of ideas. It should start... especially if you can start it from the terminal after start up.

I have set the path inside the Zshrc because this is my start shell.

Offline

#1012 2014-01-05 18:45:28

senft
Member
Registered: 2012-02-13
Posts: 13

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

Hey,
first of all thanks for creating bspwm. I am using it for a month now and I love it! Still I have some questions:

1) What is this "split ratio" I find all over the place?
2) Can I have a specific workspace in monocle mode by default?
3) Let's assume I have 2 windows (like on the left). How do I rearrange them to get the layout on the right?

 +-------------------------+         +-------------------------+
 |            |            |         |                         |
 |            |            |         |            1            |
 |            |            |         |                         |
 |     1      |     2      |   -->   |-------------------------|
 |            |            |         |                         |
 |            |            |         |            2            |
 |            |            |         |                         |
 +-------------------------+         +-------------------------+

4) I start my browser (chromium) from my bspwmrc. That means I have something like this in my bspwmrc:

chromium &
[...]
(sleep 1 && /home/jln/.config/bspwm/panel) &
wait

Now when I kill my panel (with `killall panel`) chromium also gets killed. Can anyone tell me what that is, or how I can stop it from happening?



Thanks, senft

Last edited by senft (2014-01-05 18:48:36)

Offline

#1013 2014-01-05 19:58:24

techaddicted
Member
Registered: 2014-01-03
Posts: 9

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

I noticed one thing. The standard configuration from the panel example starts fine, but if i want to start my "custom" bar i have to run first the example and then the custom one, so is this a bug within bar or just my fault?

Offline

#1014 2014-01-07 11:23:06

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

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

techaddicted wrote:

I noticed one thing. The standard configuration from the panel example starts fine, but if i want to start my "custom" bar i have to run first the example and then the custom one, so is this a bug within bar or just my fault?

I don't know if it could help but I have all my confs here https://github.com/Almehdi/dotfiles/tree/master/home .. It shouldn't matter but I have my path set in ~/.profile which is sourced from ~/.xinitrc...

Offline

#1015 2014-01-07 14:54:10

techaddicted
Member
Registered: 2014-01-03
Posts: 9

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

1000 times: Thank you smile I'll try it.

Offline

#1016 2014-01-07 17:04:24

aoba
Member
Registered: 2013-08-30
Posts: 70

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

@senft: I can answer about 2.5 of your questions.

What is this "split ratio" I find all over the place?

When bspwm needs to display a new window, one of the existing windows tiles on the screen will be split in half.  bspc config split_ratio X lets you change that so that when a tile is split, one of the new tiles can be bigger than the other.  Try using 0.40 or 0.60 for X and opening some windows - you will understand right away.


Can I have a specific workspace in monocle mode by default?

I do not think there is a convenient way to do this, but you can try adding something like this to your ~/.config/bspwm/bspwmrc after you have set up your desktops:

bspc desktop --focus ^N
bspc desktop --layout monocle
bspc desktop --focus ^1

where N is the desktop number you care about.


Let's assume I have 2 windows (like on the left). How do I rearrange them to get the layout on the right?

bspc desktop --rotate N, where N is either 270 or 90.


Can anyone tell me what that is, or how I can stop it from happening?

I have no idea!  Pretty sure you should lose the wait command, though.

Offline

#1017 2014-01-07 19:20:21

Nindwen
Member
From: Finland
Registered: 2013-09-02
Posts: 18
Website

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

Just adding to the previous answer:

senft wrote:

2) Can I have a specific workspace in monocle mode by default?

You can just

bspc desktop ^1 -l monocle

in your bspwmrc.

4) I start my browser (chromium) from my bspwmrc. That means I have something like this in my bspwmrc:

chromium &
[...]
(sleep 1 && /home/jln/.config/bspwm/panel) &
wait

Now when I kill my panel (with `killall panel`) chromium also gets killed. Can anyone tell me what that is, or how I can stop it from happening?

This look quite weird, is there some specific reason for sleep and wait? I don't really know if they're what's causing your problem, but I think simply

chromium &
/home/jln/.config/bspwm/panel &

is enough in any case. Otherwise I don't really know.

Last edited by Nindwen (2014-01-07 19:21:15)


echo nindwen.blue | cat

Offline

#1018 2014-01-08 09:47:30

senft
Member
Registered: 2012-02-13
Posts: 13

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

@aoba: thanks! The split ratio is understood now.. wink
For the automatic monocle mode, I went with  Nindwen's solution. Thanks anyways!

Let's assume I have 2 windows (like on the left). How do I rearrange them to get the layout on the right?

bspc desktop --rotate N, where N is either 270 or 90.

Ok, that is what I want for that specific example, but that is not exactly what I had in mind. I only want to move one window to the left/right/top/bottom. So for example with 3 windows, I want to go from:

+-------------------------+
|            1            |
|-------------------------|
|                         |
|            2            |
|-------------------------|
|                         |
|            3            |
+-------------------------+

to

+-------------------------+
|            |            |
|            |     2      |
|            |            |
|     1      |------------|
|            |            |
|            |     3      |
|            |            |
+-------------------------+

In i3 (where I come from) that would have been achieved with the i3-equivalent of a

bspc window -s left

on window "1". But I start to think that it is not as easy in bspwm because it would need to reorder the tree, right?

Regarding the panel/browser issue:
The wait was just an attempt to make it work because I thought that maybe the whole bspwmrc "script" is terminated once the panel gets killed. Didn't work though. I forgot to delete it.
The sleep is to make sure, that the panel is started after xcompmgr, because else xcompmgr for some reason draws a shadow on the panel (dzen2).
Anyways, even if I remove the wait and the sleep it still behaves the same.

@Nindwen: Thanks a lot for you input so far!

Offline

#1019 2014-01-08 11:03:04

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

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

senft wrote:

I want to go from:

+-------------------------+
|            1            |
|-------------------------|
|                         |
|            2            |
|-------------------------|
|                         |
|            3            |
+-------------------------+

to

+-------------------------+
|            |            |
|            |     2      |
|            |            |
|     1      |------------|
|            |            |
|            |     3      |
|            |            |
+-------------------------+

If the focus is on window 1: window -w down, then you might need to rotate the tree.

If the focus is on window 2: desktop -R 270 && window -R right 90 && desktop -E.


gh · da · ds · cr · ab · fkr

Offline

#1020 2014-01-08 20:04:14

johnnyponny
Member
Registered: 2011-04-23
Posts: 33

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

First I want to say great window manager!

I have a question about dual monitors, before I found bspwm I used herbstluftwm and the tags were independent, in other words you could access one tag from both of the monitors. Is this behaviour possible in bspwm?

Offline

#1021 2014-01-08 22:58:48

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

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

johnnyponny wrote:

First I want to say great window manager!

I have a question about dual monitors, before I found bspwm I used herbstluftwm and the tags were independent, in other words you could access one tag from both of the monitors. Is this behaviour possible in bspwm?

Not directly; each monitor has its own set of desktops. However, you can move desktops between monitors.


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

Offline

#1022 2014-01-10 01:30:38

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

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

I'm having troubles starting my chromium in a monocled mode.  Following Nindwen's post I've gave it a shot to no avail.

Also, my skype seems to be ignoring the floating rule as well.  could someone give me some pointers?

This is my bspwm_rules :  http://ix.io/9Mo

Offline

#1023 2014-01-10 06:46:17

Supplantr
Member
From: a state of sunshine
Registered: 2011-12-12
Posts: 149
Website

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

3xOSC wrote:

I'm having troubles starting my chromium in a monocled mode.  Following Nindwen's post I've gave it a shot to no avail.

Monocle is a desktop layout. Add:

bspc desktop ^2 -l monocle

to bspwmrc, and modify the line concerning chromium so it reads:

rulc -a 'class=="Chromium"' 'desktop=^2'
3xOSC wrote:

Also, my skype seems to be ignoring the floating rule as well.  could someone give me some pointers?

The line should be:

rulc -a 'class=="Skype"' 'desktop=^3, floating=on'

See the provided example.


I use linux and I dont understand nothing in this post.

Offline

#1024 2014-01-10 16:18:28

johnnyponny
Member
Registered: 2011-04-23
Posts: 33

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

I'm having problems with running the panel with dual monitors.

Monitor 1 is left of monitor 2 and the cursor moves correctly through the monitors and the tags are correct but the panel is on monitor 2 and I want it to be on monitor 1 because monitor 1 is the primary monitor. I have compiled with XINERAMA=1 and I'm using the non-free AMD driver.

This is from my bspwmrc:

bspc monitor DFP4 -f primary
bspc monitor DFP4 -d I II III IV V
bspc monitor DFP3 -d VI VII VIII IX X

EDIT: this solved my issue https://bbs.archlinux.org/viewtopic.php … 6#p1337336

                    [Mm]*)
                        # monitor
                        if [ "$name" =  "DFP4" ] ; then
                            wm_infos="$wm_infos \\s1"                          # move the main information to the 2nd monitor
                        fi
                        ;;

Last edited by johnnyponny (2014-01-10 16:39:26)

Offline

#1025 2014-01-11 02:02:24

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

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

Supplantr wrote:
3xOSC wrote:

I'm having troubles starting my chromium in a monocled mode.  Following Nindwen's post I've gave it a shot to no avail.

Monocle is a desktop layout. Add:

bspc desktop ^2 -l monocle

to bspwmrc, and modify the line concerning chromium so it reads:

rulc -a 'class=="Chromium"' 'desktop=^2'
3xOSC wrote:

Also, my skype seems to be ignoring the floating rule as well.  could someone give me some pointers?

The line should be:

rulc -a 'class=="Skype"' 'desktop=^3, floating=on'

See the provided example.

Thanks.

Lemme throw another question at you (this one doesn't seem to be covered in example)

On my desktop 3 which is dedicated to chats (irc/skype/whatnot)  how can I make it so that when weechat starts, it only takes up the left half of the screen?

Offline

Board footer

Powered by FluxBB