You are not logged in.

#576 2013-09-15 18:21:53

bslackr
Member
Registered: 2012-01-27
Posts: 131

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

agahnim wrote:

I can run conky as a panel but the windows do not align to it and they overlap it.

This part is because you had to tell bspwm to add padding for a panel. First find your monitor's name with "bspc query -M" or "xrandr -q" and then add the following to your bspwmrc

bspc monitor <monitor_name> --pad <padding_amount>

where <padding_amount is defined similar to CSS padding (<top> <right> <bottom> <left>). So if your panel sits on the top of the screen and is 18px high, your padding would be "18 0 0 0"

Offline

#577 2013-09-15 18:32:40

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

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

Just want to mention, I'm pretty much stuck with this problem. Would be great if someone could help me.

Ploppz wrote:

Thanks.

Now, I have a major problem. Before installing bspwm, I had no problem running startx. But when I run it now, it just swiftly turns black, then comes back to the the bash. Here's the log file: http://sprunge.us/ZYiL
I'm running Arch in VirtualBox in Windows 7.

Offline

#578 2013-09-15 19:18:18

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

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

bslackr wrote:
agahnim wrote:

I can run conky as a panel but the windows do not align to it and they overlap it.

This part is because you had to tell bspwm to add padding for a panel. First find your monitor's name with "bspc query -M" or "xrandr -q" and then add the following to your bspwmrc

bspc monitor <monitor_name> --pad <padding_amount>

where <padding_amount is defined similar to CSS padding (<top> <right> <bottom> <left>). So if your panel sits on the top of the screen and is 18px high, your padding would be "18 0 0 0"


Thanks a lot, you are a life saver. Do you know if it would be possible to run conky on the desktop as well, I doubt it, but I simply wish to inquire.

Offline

#579 2013-09-15 19:35:00

bslackr
Member
Registered: 2012-01-27
Posts: 131

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

agahnim wrote:
bslackr wrote:
agahnim wrote:

I can run conky as a panel but the windows do not align to it and they overlap it.

This part is because you had to tell bspwm to add padding for a panel. First find your monitor's name with "bspc query -M" or "xrandr -q" and then add the following to your bspwmrc

bspc monitor <monitor_name> --pad <padding_amount>

where <padding_amount is defined similar to CSS padding (<top> <right> <bottom> <left>). So if your panel sits on the top of the screen and is 18px high, your padding would be "18 0 0 0"


Thanks a lot, you are a life saver. Do you know if it would be possible to run conky on the desktop as well, I doubt it, but I simply wish to inquire.

I don't have much experience with conky, but this suggests it can be.

Offline

#580 2013-09-15 21:13:21

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

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

Supplantr wrote:

Does this sound like a problem with NotificaThor?

Yes: Notificathor should send a configure request to express the fact that it wishes to be above the other windows.

You can work around this problem by manually raising the window via xdo raise ....

Supplantr wrote:

Is the monitor --pad option going to remain?

Yes, unless I introduce a syntactic sugar setting to encompass the four sides.


gh · da · ds

Offline

#581 2013-09-15 22:08:52

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

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

Ploppz wrote:

Just want to mention, I'm pretty much stuck with this problem. Would be great if someone could help me.

Can you post your ~/.xinitrc, ~/.config/bspwm/bspwmrc, and any other relevant config files?  I did not see anything weird in the log you posted.

Offline

#582 2013-09-16 00:53:09

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

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

bslackr wrote:
agahnim wrote:
bslackr wrote:

This part is because you had to tell bspwm to add padding for a panel. First find your monitor's name with "bspc query -M" or "xrandr -q" and then add the following to your bspwmrc

bspc monitor <monitor_name> --pad <padding_amount>

where <padding_amount is defined similar to CSS padding (<top> <right> <bottom> <left>). So if your panel sits on the top of the screen and is 18px high, your padding would be "18 0 0 0"


Thanks a lot, you are a life saver. Do you know if it would be possible to run conky on the desktop as well, I doubt it, but I simply wish to inquire.

I don't have much experience with conky, but this suggests it can be.

Yea, I have everything worked out. I will go over some configs that people have posted in the forums. I am glad I decided to start doing the monthly screen shots, as I had been looking for a tiling window manager that would be usable in my situation and this is hands down the best that I have tried. Just the cursor displaying as an X when not over any window bugs me but I will deal with that later.

Offline

#583 2013-09-16 00:57:50

Ledti
Member
Registered: 2010-07-31
Posts: 122
Website

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

agahnim wrote:
bslackr wrote:
agahnim wrote:

Thanks a lot, you are a life saver. Do you know if it would be possible to run conky on the desktop as well, I doubt it, but I simply wish to inquire.

I don't have much experience with conky, but this suggests it can be.

Yea, I have everything worked out. I will go over some configs that people have posted in the forums. I am glad I decided to start doing the monthly screen shots, as I had been looking for a tiling window manager that would be usable in my situation and this is hands down the best that I have tried. Just the cursor displaying as an X when not over any window bugs me but I will deal with that later.

You can probably fix that by adding 'xsetroot -cursor_name left_ptr' to your bspwmrc file.

Last edited by Ledti (2013-09-16 00:58:06)

Offline

#584 2013-09-16 08:47:13

ict
Member
Registered: 2007-05-01
Posts: 44

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

Supplantr wrote:

This might be far-fetched, but regarding what @ict and @Mindstormscreator asked about "preselecting window actions," could a new (or something similar) primary selector be added to achieve this? For example, using bspc window new -t floating would tell bspwm to make the next new window floating.

Yes, I would definitely use this and it seems to fit well with the other preselection-mode. I currently use the workaround with different terminal-names and a rule to make certain names floating, but this would be so much more flexible.

Last edited by ict (2013-09-16 08:47:33)

Offline

#585 2013-09-16 11:40:30

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

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

ict wrote:

Is there a possibility to "presel" something as floating, i.e. "make the next window to appear floating".

As of 9a96935:

bspc control --float-upcoming

gh · da · ds

Offline

#586 2013-09-16 13:01:57

ict
Member
Registered: 2007-05-01
Posts: 44

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

Damn that was fast, you rock!

Offline

#587 2013-09-16 16:41:07

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

bloom wrote:

Yes, unless I introduce a syntactic sugar setting to encompass the four sides.

Wouldn't this achieve the same effect?

padding=(16 0 0 0)
sides=(top right bottom left)
for i in {0..3}; do bspc config -m focused ${sides[$i]}_padding ${padding[$i]}; done

---

Are there still plans to implement sticky windows?


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

Offline

#588 2013-09-16 18:06:52

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

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

aoba wrote:
Ploppz wrote:

Just want to mention, I'm pretty much stuck with this problem. Would be great if someone could help me.

Can you post your ~/.xinitrc, ~/.config/bspwm/bspwmrc, and any other relevant config files?  I did not see anything weird in the log you posted.

~/.config/xinitrc

~/.config/bspwm/bspwmrc

~/.config/sxhkd/sxhkdrc

Last edited by Ploppz (2013-09-16 18:12:48)

Offline

#589 2013-09-16 18:17:32

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

Ploppz wrote:

Doesn't look like you're executing bspwm...


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

Offline

#590 2013-09-16 18:18:58

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

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

...or sxhkd.  Try adding the following two lines to the end of your ~/.xinitrc

sxhkd &
exec bspwm

Offline

#591 2013-09-16 19:11:55

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

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

aoba wrote:

When putting together a dzen panel (based on the github example), I had to do the following to ensure that killing and restarting the panel did not leave a bunch of processes running (and to ensure that when my X session ended, they were gone).

This is fixed in the current version of the panel:

pkill -x panel

will now kill all the related processes.


gh · da · ds

Offline

#592 2013-09-16 21:56:11

Ledti
Member
Registered: 2010-07-31
Posts: 122
Website

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

Is there a way to make auto_alternate work globally? It currently seems to be specific to each monitor that you use.

Offline

#593 2013-09-17 09:54:09

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

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

bloom wrote:
ict wrote:

Is there a possibility to "presel" something as floating, i.e. "make the next window to appear floating".

As of 9a96935:

bspc control --float-upcoming

As of b4184c6:

bspc rule -a \* --floating --one-shot

gh · da · ds

Offline

#594 2013-09-17 09:59:36

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

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

Supplantr wrote:
bloom wrote:

Yes, unless I introduce a syntactic sugar setting to encompass the four sides.

Wouldn't this achieve the same effect?

padding=(16 0 0 0)
sides=(top right bottom left)
for i in {0..3}; do bspc config -m focused ${sides[$i]}_padding ${padding[$i]}; done

Agreed.
The --pad option was consequently removed.
The POSIX version of the above code is:

for p in "top 16" "right 0" "bottom 0" "left 0" ; do
    bspc config -m focused ${p% *}_padding ${p#* }
done
Supplantr wrote:

Are there still plans to implement sticky windows?

Yes.

Last edited by bloom (2013-09-17 10:00:08)


gh · da · ds

Offline

#595 2013-09-17 13:09:55

psycho
Member
Registered: 2013-04-26
Posts: 29

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

Hello,

Using this tutorial, I installed sxhkd and bspwm from AUR, copied the example config files in .config/{bspwm,sxhkd}/, modified the .xinitrc file, installed sutils/xtitle/bar from the specified github pages, but i still can't use any bar.

Here are the files in question :
.xinitrc - http://sprunge.us/ieVQ
bspwmrc - http://sprunge.us/ANPc
sxhkdrc - http://sprunge.us/JjZc

I think i made some mistake somewhere, but i'm not sure. Any help will be appreciated.

Last edited by psycho (2013-09-17 13:10:32)


~ > fortune
I never met a piece of chocolate I didn't like.

Offline

#596 2013-09-17 13:32:07

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

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

psycho wrote:

I think i made some mistake somewhere, but i'm not sure.

In bspwmrc:

bspc desktop ^0 -n I

should be

bspc desktop ^1 -n I

and

panel

should be

panel &

gh · da · ds

Offline

#597 2013-09-17 13:49:24

psycho
Member
Registered: 2013-04-26
Posts: 29

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

bloom wrote:
bspc desktop ^0 -n I

should be

bspc desktop ^1 -n I

If i put desktop ^1 i only got a black window, with nothing on it. I'm on a laptop.

bloom wrote:
panel

should be

panel &

Still, no bar output at all.


~ > fortune
I never met a piece of chocolate I didn't like.

Offline

#598 2013-09-17 13:57:03

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

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

psycho wrote:
bloom wrote:
bspc desktop ^0 -n I

should be

bspc desktop ^1 -n I

If i put desktop ^1 i only got a black window, with nothing on it. I'm on a laptop.

bloom wrote:
panel

should be

panel &

Still, no bar output at all.

Of course, I assume you have the following in ~/.profile:

export PANEL_FIFO=/tmp/panel-fifo

?


gh · da · ds

Offline

#599 2013-09-17 14:00:16

psycho
Member
Registered: 2013-04-26
Posts: 29

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

bloom wrote:

Of course, I assume you have the following in ~/.profile:

export PANEL_FIFO=/tmp/panel-fifo

?

Yes. And in /etc/zsh/zprofile too.


~ > fortune
I never met a piece of chocolate I didn't like.

Offline

#600 2013-09-17 14:01:10

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

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

psycho wrote:

Hello,

Using this tutorial, I installed sxhkd and bspwm from AUR, copied the example config files in .config/{bspwm,sxhkd}/, modified the .xinitrc file, installed sutils/xtitle/bar from the specified github pages, but i still can't use any bar.

Here are the files in question :
.xinitrc - http://sprunge.us/ieVQ
bspwmrc - http://sprunge.us/ANPc
sxhkdrc - http://sprunge.us/JjZc

I think i made some mistake somewhere, but i'm not sure. Any help will be appreciated.

Do these return anything? 

which panel

and

echo $PANEL_FIFO

((( configs :: website )))

Offline

Board footer

Powered by FluxBB