You are not logged in.

#1151 2014-03-03 16:16:47

easysid
Member
From: India
Registered: 2013-01-01
Posts: 256

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

^ So there's isn't a native action to do that. Thanks for the tip.

Offline

#1152 2014-03-06 22:10:21

F34R
Member
From: /dev/loliland
Registered: 2012-02-05
Posts: 245

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

I'm almost new in this topic. last mont try the something new after then years use monsterwm.  The new wm called herbstluftwm , similar like as bspwm but i don't like frame and gonna check this. How many layout in bspwm and what is the new method like psuedotiled ?

the resizeing problem also solved with compton issue.

Offline

#1153 2014-03-08 09:30:24

Paul-S
Member
From: Wales
Registered: 2008-02-04
Posts: 353

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

I'm running version 0.8.8, but the rules in bspwmrc are ignored. bspwmrc is executable.
bspc rule --list doesn't return anything.

#! /bin/sh

bspc config wm_name LG3D
bspc monitor -d 1 2 3 4 5 6
bspc config bottom_padding      20
bspc config border_width        2
bspc config window_gap          6
bspc config split_ratio         0.52
bspc config borderless_monocle  true
bspc config gapless_monocle     true
bspc config focus_follows_pointer true
bspc control --subscribe > /tmp/bspwm-bar
bspc rule -a mutt desktop=^2
bspc rule -a Chromium desktop=^1
bspc rule -a ranger desktop=^3
bspc rule -a scratchpad floating=on
bspc rule -a pygtk-shutdown-systemd floating=on

Cheers
Paul-S

Offline

#1154 2014-03-08 10:22:54

o_caino
Member
Registered: 2013-06-06
Posts: 167

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

Try deleting

bspc config wm_name LG3D

wm_name is not a valid option (not in the man page).

Offline

#1155 2014-03-09 14:33:21

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

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

I'm writing a script for conky to output the desktop names, along with highlighting if the desktops are focused, and is empty or has windows in it. Is there an easy way to determine if a given desktop has any windows in it?

Offline

#1156 2014-03-09 14:51:17

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

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

Running sxhkd from a terminal, I get output "Invalid syntax." a zillion times (continously) every time I use the mouse to either resize or move windows. Here is the part of sxhkdrc that I think is relevant:

super + button{1-3}
    bspc pointer -g {move,resize_side,resize_corner}

super + !button{1-3}
    bspc pointer -t %i %i

super + @button{1-3}
    bspc pointer -u

Here is my full .sxhkdrc just in case http://sprunge.us/SdOa

Offline

#1157 2014-03-09 15:56:10

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:

Is there an easy way to determine if a given desktop has any windows in it?

bspc query -W -d $DESKTOP | wc -l

will return the number of windows on $DESKTOP.


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

Offline

#1158 2014-03-12 14:02:47

nonah
Member
Registered: 2012-03-18
Posts: 24

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

Is there a way to set floating windows to always spawn centered around the cursor? I've looked through the documentation, and I can't seem to find a straightforward way.

Any help would be appreciated! smile

Offline

#1159 2014-03-12 19:23:36

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

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

Paul-S wrote:

bspc rule --list doesn't return anything.

bspc control --subscribe > /tmp/bspwm-bar

You need to add an ampersand at the end of this line…


gh · da · ds

Offline

#1160 2014-03-14 19:51:45

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

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

I'm currently using doing a java assignment using Eclipse.  When I try to run it, the java applet that pops up which suppoesd to have buttons is an all blank screen. 
Could this be a bspwm issue?  I tested the exact same project on Linux Mint and it was fine.  Is there a way to work around this?

Offline

#1161 2014-03-14 20:16:44

Paul-S
Member
From: Wales
Registered: 2008-02-04
Posts: 353

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

bloom wrote:
Paul-S wrote:

bspc rule --list doesn't return anything.

bspc control --subscribe > /tmp/bspwm-bar

You need to add an ampersand at the end of this line…

Thanks bloom, worked a treat smile

Cheers
Paul-S

Offline

#1162 2014-03-14 20:18:52

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:

Is there a way to work around this?

Try this or this.


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

Offline

#1163 2014-03-15 09:04:56

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

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

Thanks Supplantr, thank worked wonderfully.

Offline

#1164 2014-03-21 18:21:26

ansch
Member
Registered: 2012-04-24
Posts: 7

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

Hey Bastien, I 've just started trying out your WM and I am loving it so far! The essence of minimalism!

I was wondering if there is a way so that I can switch between desktops while scrolling the mouse on the root window? If not, is it possible to make a request for this? I guess it would be something for sxhkd to manage since the mouse scroll would just trigger a bspwm command. Or is it already possible? :shameonme:

Offline

#1165 2014-03-21 20:11:51

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

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

ansch wrote:

I 've just started trying out your WM and I am loving it so far! The essence of minimalism!

You're welcome.

ansch wrote:

I was wondering if there is a way so that I can switch between desktops while scrolling the mouse on the root window?

You want the binding to be effective only when the mouse pointer is on the root window?


gh · da · ds

Offline

#1166 2014-03-21 20:29:32

ansch
Member
Registered: 2012-04-24
Posts: 7

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

bloom wrote:
ansch wrote:

I 've just started trying out your WM and I am loving it so far! The essence of minimalism!

You're welcome.

ansch wrote:

I was wondering if there is a way so that I can switch between desktops while scrolling the mouse on the root window?

You want the binding to be effective only when the mouse pointer is on the root window?

Yes, because I use my mouse in other programs so I wouldn't want it to trigger if the mouse is above a window. Only above the root window (the desktop).

Offline

#1167 2014-03-22 16:21:54

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

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

ansch wrote:

Only above the root window (the desktop).

As of 23dc78d(@sxhkd), you can do the following:

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

The button numbers might differ (xev will give you the correct ones).


gh · da · ds

Offline

#1168 2014-03-22 21:59:01

ansch
Member
Registered: 2012-04-24
Posts: 7

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

bloom wrote:
ansch wrote:

Only above the root window (the desktop).

As of 23dc78d(@sxhkd), you can do the following:

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

The button numbers might differ (xev will give you the correct ones).

Wow, amazing how fast you worked on this! I really appreciate it!
Do you accept donations? I couldn't find any info on it.

But unfortunately it didn't work here. I cant trigger any action on the root window with my mouse.
And the buttons that is set with the "/button" doesn't work at all over normal windows either.
I'm not sure how to debug it either.

Offline

#1169 2014-03-22 22:27:15

o_caino
Member
Registered: 2013-06-06
Posts: 167

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

It works for me on the root window, but can't scroll over a normal window.

Offline

#1170 2014-03-22 22:37:50

ansch
Member
Registered: 2012-04-24
Posts: 7

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

I disabled all of my startup programs to make sure none of them interfered with sxhkd or the root window but still no success. I tried using super + /button aswell but no luck.

Offline

#1171 2014-03-23 09:16:13

cju
Member
Registered: 2013-06-23
Posts: 194

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

ansch wrote:

I tried using super + /button aswell but no luck.

Use button without the leading slash for this combination.

Edit: To change desktops by scrolling above the desktop with /button… doesn't seem to work here, too, although super + button… works fine, so at least, I know I got the right buttons.

Last edited by cju (2014-03-23 09:34:29)

Offline

#1172 2014-03-23 11:13:01

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

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

o_caino wrote:

It works for me on the root window, but can't scroll over a normal window.

My bad, hopefully it should be sorted out by 07655df and by replacing / with ~/.


gh · da · ds

Offline

#1173 2014-03-23 11:24:53

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

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

ansch wrote:

Do you accept donations? I couldn't find any info on it.

I've added donations links at the end of the first post of this thread.

ansch wrote:

I cant trigger any action on the root window with my mouse.
And the buttons that is set with the "/button" doesn't work at all over normal windows either.

What's the output of xev | grep -Eio 'button [0-9]+' | sort -u when you press your mouse wheel up and down and then hit ^c?

ansch wrote:

I'm not sure how to debug it either.

You can build a debug binary with make debug.


gh · da · ds

Offline

#1174 2014-03-23 11:56:20

cju
Member
Registered: 2013-06-23
Posts: 194

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

Hm… Just recompiled, but:

Still works:

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

Still doesn't work:

~/button{4,5}
   bspc desktop -f {prev,next}

Where do I go wrong?

Offline

#1175 2014-03-23 17:32:13

ansch
Member
Registered: 2012-04-24
Posts: 7

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

cju wrote:

Use button without the leading slash for this combination.

You are right. I am stupid smile

bloom wrote:
ansch wrote:

I cant trigger any action on the root window with my mouse.
And the buttons that is set with the "/button" doesn't work at all over normal windows either.

What's the output of xev | grep -Eio 'button [0-9]+' | sort -u when you press your mouse wheel up and down and then hit ^c?

I get no output.

I can conform as @cju said, super + button works but that would've worked in the previous builds anyways.
However none of the ~/button or /button works, but now at least the assigned buttons with ~/button work as they should over regular windows.

P.S. The flattr link in the first post doesn't work, it just links to the flattr homepage

Last edited by ansch (2014-03-23 17:50:18)

Offline

Board footer

Powered by FluxBB