You are not logged in.

#1276 2014-05-09 11:44:02

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

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

A very big thank to bloom/baskerville since the new commit fcc7405284 and the updated bspwmrc example all works perfect, Thank you so much!

Offline

#1277 2014-05-10 14:42:45

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

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

bloom wrote:
Ploppz wrote:
nonah wrote:

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

Bump; I'm also wondering about this!

bspc rule -a \* center=true

?

That centers it on screen, but I want it to be positioned under my mouse cursor.

Offline

#1278 2014-05-11 22:24:25

Le Void
Member
Registered: 2011-04-23
Posts: 20

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

The behaviour of

window_gap

seems funny to me. First of all, I have

bspc config window_gap 0

in my bspwmrc, but it is ignored, and bspwm starts with gaps between my windows(the default I guess).

I found that I have to manually select a monitor now to make it work, like

bspc config -m LVDS1 window_gap 10

which works as inteded.

However, after that, calling

bspc config window_gap

returns 0, as does

bspc config -m LVDS1 window_gap

So somehow the real value is completely "forgotten".

The example bspwmrc in the github repository also simply calls

bspc config window_gap 12

so I thought that should work.

Am I doing something wrong?

Last edited by Le Void (2014-05-11 22:24:53)

Offline

#1279 2014-05-12 09:29:14

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

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

https://github.com/baskerville/bspwm/issues/143

tl;dr: If you run the latest version, just put your

bspc monitor -d 1 2 3 ...

at the end of your bspwmrc; i.e. take a look at the valid example file: https://github.com/baskerville/bspwm/bl … es/bspwmrc.

Offline

#1280 2014-05-12 12:26:51

Le Void
Member
Registered: 2011-04-23
Posts: 20

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

cju wrote:

https://github.com/baskerville/bspwm/issues/143

tl;dr: If you run the latest version, just put your

bspc monitor -d 1 2 3 ...

at the end of your bspwmrc; i.e. take a look at the valid example file: https://github.com/baskerville/bspwm/bl … es/bspwmrc.

Tyvm!

Offline

#1281 2014-05-15 07:34:20

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

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

A bit lost on setting a rule for wicd-gtk:

When I fire up that program, I look at 'ps aux' and see it listed as wicd-client.py and even using xprop, i found that wicd-gtk is listed as wicd-client.py under WM_CLASS(STRING) it is listed as wicd-client.py

Using that information I copy and pasted the rules which were similar and added it as floating to desktop one.  However, this rule isn't being followed, am I making a really obvious mistake that i can't seem to see?
http://ix.io/ckD
the version of bspwm i am using is the one: bspwm-git found in the aur.



Also shameless bump:

3xOSC wrote:

I have a question:

When I open up a floating terminal either on top of already tiled terminals or a browser, how can I use the keyboard to select the tiled terminals again?

What I have is the opposite of what I want, this here selects the floating:

# Focus on floating / tiled
alt + e
    bspc window -f {next.floating,next.tiled}

Now I need one where I can go from floating to tiled.

Any ideas?

Thanks in advance.

Offline

#1282 2014-05-15 08:00:30

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

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

3xOSC wrote:

wicd-gtk is listed as wicd-client.py under WM_CLASS(STRING) it is listed as wicd-client.py

WM_CLASS(STRING) lists instance names and class. Are both the same?

3xOSC wrote:

# Focus on floating / tiled
alt + e
    bspc window -f {next.floating,next.tiled}

Now I need one where I can go from floating to tiled.

e.g. alt + {e,r}? e will cycle through the floating windows, and r through tiled windows.

Offline

#1283 2014-05-15 17:53:12

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

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

o_caino wrote:
3xOSC wrote:

wicd-gtk is listed as wicd-client.py under WM_CLASS(STRING) it is listed as wicd-client.py

WM_CLASS(STRING) lists instance names and class. Are both the same?

3xOSC wrote:

# Focus on floating / tiled
alt + e
    bspc window -f {next.floating,next.tiled}

Now I need one where I can go from floating to tiled.

e.g. alt + {e,r}? e will cycle through the floating windows, and r through tiled windows.

Nope, they are different, here is the output:


WM_CLASS(STRING) = "wicd-client.py", "Wicd-client.py"


There seems to be two, should i use the latter?

Offline

#1284 2014-05-16 00:10:18

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

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

The WM_CLASS property (of type STRING without control characters) contains two consecutive null-terminated strings. These specify the Instance and Class names to be used by both the client and the window manager for looking up resources for the application or as identifying information.

So first one is the instance name and the second one is the class name.
rulc uses class, instance, title, type and state; so use whatever you want: instance == wicd-client.py or class == Wicd-client.py. Have fun experimenting wink

Offline

#1285 2014-05-16 07:35:02

chickenPie4tea
Member
Registered: 2012-08-21
Posts: 309

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

anyone spot what's wrong with my conky settings - they work fine in all the other window managers I have tried (about a dozen of them)

background yes
use_xft yes
xftfont DroidSans:size=11
xftalpha 1
update_interval 2.5
total_run_times 0
own_window yes
own_window_transparent yes

own_window_type override
own_window_argb_visual no

own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 250
maximum_width 260
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color 656667
default_shade_color 000000
default_outline_color 828282
alignment top_right
gap_x 10
gap_y 56
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no

You can like linux without becoming a fanatic!

Offline

#1286 2014-05-16 08:28:21

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

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

chickenPie4tea wrote:

anyone spot what's wrong with my conky settings

https://bbs.archlinux.org/viewtopic.php … 7#p1323777


gh · da · ds

Offline

#1287 2014-05-16 09:09:40

chickenPie4tea
Member
Registered: 2012-08-21
Posts: 309

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

Thanks yes just changed the own_window_type line and it's fine.
What was strange was that is worked the first time I booted up wth bspwm as the window manager then stopped working!


You can like linux without becoming a fanatic!

Offline

#1288 2014-05-16 09:47:03

chickenPie4tea
Member
Registered: 2012-08-21
Posts: 309

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

hopefully this is simple too
I have this in bspwmrc
bspc monitor -d 1 2 Web 4 5
but I would like more of a gap between the numbers as they appear in the top bar (lemon-boys bar) any way to do that?
Instead of them appearing like this in the bar
1 2 web 4 5
I would like
1  2  web  3  4  5


You can like linux without becoming a fanatic!

Offline

#1289 2014-05-16 10:06:44

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

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

chickenPie4tea wrote:

but I would like more of a gap between the numbers as they appear in the top bar (lemon-boys bar) any way to do that?

Add the spaces to the relevant lines in panel_bar script, around the ${name} variable.

Offline

#1290 2014-05-16 14:05:13

chickenPie4tea
Member
Registered: 2012-08-21
Posts: 309

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

Thanks a million o_caino
I was reduced to adding a full stop either side of the numbers in bspwmrc to get a bit extra space!  now I know I was meddling in the wrong place smile


You can like linux without becoming a fanatic!

Offline

#1291 2014-05-16 16:15:05

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

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

o_caino wrote:

The WM_CLASS property (of type STRING without control characters) contains two consecutive null-terminated strings. These specify the Instance and Class names to be used by both the client and the window manager for looking up resources for the application or as identifying information.

So first one is the instance name and the second one is the class name.
rulc uses class, instance, title, type and state; so use whatever you want: instance == wicd-client.py or class == Wicd-client.py. Have fun experimenting wink


Thanks to your guidance, I got it working now.

Cheers!

Offline

#1292 2014-05-19 23:07:25

jas43
Member
Registered: 2013-05-29
Posts: 2

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

I've been playing with bspwm (0.8.8) for the last few days and like it.  One problem: I can't get it to work with ssh-agent.

I am launching bspwm inside .xinitrc using

eval $(ssh-agent -t 3h)
exec bspwm

or

exec ssh-agent bspwm

does not propagate the ssh-agent environment variables (e.g. SSH_AUTH_SOCK and SSH_AGENT_PID are both undefined) inside bspwm.  The same commands work fine with other window managers (tested LXDE and xmonad).  In fact, it seems any environment variables defined inside .xinitrc are not available inside a bspwm session.

The only mention I found of this problem is earlier in this thread (https://bbs.archlinux.org/viewtopic.php … 8#p1347598).  Any suggestions?

Thanks!

Last edited by jas43 (2014-05-19 23:20:23)

Offline

#1293 2014-05-20 05:50:40

jan
Member
Registered: 2008-02-17
Posts: 10

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

Love the messaging API! it works so well.

Does anyone know how to 'swap subtrees' use bspc? e.g. change layout from

      n
    /    \
A      n
        /   \
      B     C

to

        n
      /    \
    n      A
  /    \
B     C

Offline

#1294 2014-05-20 09:12:33

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

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

bspc desktop -F {horizontal,vertical}

?

Offline

#1295 2014-05-20 09:35:13

jan
Member
Registered: 2008-02-17
Posts: 10

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

o_caino wrote:
bspc desktop -F {horizontal,vertical}

?

Exact, thanks!

Last edited by jan (2014-05-20 09:35:25)

Offline

#1296 2014-05-21 16:57:30

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

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

Quick question, if I want eclipse to show in on desktop 3, with a monocle layout, do I do this in bspwm_rules?

rulc -a 'class=="eclipse"' 'desktop=^3'        <--- for making it start at desktop 3.  Which works.  But once I add '-l monocle' to it like this, all the rules pertaining to eclipse break      'rulc -a 'class=="ecliplse"' 'desktop=^3' '-l monocle'

Any ideas?

Offline

#1297 2014-05-21 19:07:51

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

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

monocle is a desktop layout, not related to a window or its state.

bspc desktop ^3 -l monocle

sets the monocle layout on the 3rd desktop.

Offline

#1298 2014-05-21 19:52:09

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

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

I see.  For the longest time I thought I can make eclipse only be monocle.

Thanks for the clarifications.

Offline

#1299 2014-05-30 19:16:39

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

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

Why not work border with ?

Offline

#1300 2014-06-01 15:45:40

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

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

BSPWM does not handle focus correctly in some cases (Java).

When, for example, IntellijIdea pops up the settings view, you can still focus the main window. In this case IntellijIdea simply crashes, since (I presume) the program has requested focus on the settings window.

In Windows, trying to interact with the main window would play an error sound. And in i3 it simply doesn't focus that window.

How to reproduce:
Open IntellijIdea, and open Settings. Then try to interact with the main IntellijIdea window again. This causes the program to hang.

I assume this could affect other programs as well.

Offline

Board footer

Powered by FluxBB