You are not logged in.

#1 2014-01-02 22:57:21

sejtn4u
Member
Registered: 2013-05-30
Posts: 14

[SOLVED] BSPWM: cannot assign apps to desktops/workspaces

Hi,

I've decided to try bspwm, so I've installed it from AUR and it seems preety good so far. The only thing that doesn't work (at least for me) is assigning apps to start on a specified workspace/desktop.

I'm using the original bspwmrc from examples and there is a rule like that:

bspc rule -a Chromium desktop=^2

So I guess Chromium should start on desktop 2, but it does not. I've tried that with "chromium", desktop=www, but nothing seems to work. The same with gimp or urxvt.

What am I doing wrong? Any ideas? smile

Last edited by sejtn4u (2014-01-03 14:52:28)

Offline

#2 2014-01-03 02:05:02

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

Re: [SOLVED] BSPWM: cannot assign apps to desktops/workspaces

Hi,
I think xwinfo-git is required to handle rules. Do you have it on your system?

Last edited by o_caino (2014-01-03 02:09:35)

Offline

#3 2014-01-03 04:03:16

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

Re: [SOLVED] BSPWM: cannot assign apps to desktops/workspaces

o_caino wrote:

Hi,
I think xwinfo-git is required to handle rules. Do you have it on your system?

Not any more.

@sejtn4u

That should be (and you might need to quote/escape the '^' part):
bspc rule -a Chromium -o desktop=^2

--edit: I should read manuals more closely...

Last edited by Stebalien (2014-01-04 21:41:12)


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C

Offline

#4 2014-01-03 08:29:33

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

Re: [SOLVED] BSPWM: cannot assign apps to desktops/workspaces

sejtn4u wrote:

Any ideas?

Version 0.8.7 doesn't provide a rule command.

But the newly released 0.8.8 does.


gh · da · ds

Offline

#5 2014-01-03 11:56:46

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

Re: [SOLVED] BSPWM: cannot assign apps to desktops/workspaces

Stebalien wrote:
o_caino wrote:

Hi,
I think xwinfo-git is required to handle rules. Do you have it on your system?

Not any more.

I was still using rulc and ruld, maybe it's time to upgrade to buit-in rules.
Thanks.

bloom wrote:

Version 0.8.7 doesn't provide a rule command.

But the newly released 0.8.8 does.

I'm getting a strange behaviour with the rule command. I have the following rules:

bspc rule -a Gimp desktop=^8 follow=true floating=true
bspc rule -a Thunderbird desktop=^10
bspc rule -a Transmission-gtk desktop=^9

The first two work flawlessly. But when I launch Transmission-gtk it follows the window to desktop 9 as if follow=true.

Offline

#6 2014-01-03 13:16:04

sejtn4u
Member
Registered: 2013-05-30
Posts: 14

Re: [SOLVED] BSPWM: cannot assign apps to desktops/workspaces

Thanks guys for quick response, it was my bad, I haven't checked AUR for new version of bspwm and was using 0.8.7 wink Now I can see that rules work, at least with Chromium.

BTW. Another quick question, is it posible to resize tiling windows with keyboard only, without using mouse/touchpad?

Offline

#7 2014-01-03 14:08:49

Steef435
Member
Registered: 2013-08-29
Posts: 577
Website

Re: [SOLVED] BSPWM: cannot assign apps to desktops/workspaces

Yes, with bspc window -e. Have a look at the example sxhkd configuration file on Github.

Offline

#8 2014-01-03 14:51:46

sejtn4u
Member
Registered: 2013-05-30
Posts: 14

Re: [SOLVED] BSPWM: cannot assign apps to desktops/workspaces

Thanks a lot, somehow, I missed that, or misunderstood the manual description of "window -e".

I've tried many of tiling wms and I must admit that bspwm is somewhere at the top of my list, even though it's probably not as mature or polished as some other wms.

Offline

Board footer

Powered by FluxBB