You are not logged in.

#151 2013-03-18 04:15:33

netfun81
Member
Registered: 2008-07-20
Posts: 32

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

bloom wrote:

Please try the fix-cpu branch.

I tried the fix-cpu branch and had the same issue but thanks for the effort.

Offline

#152 2013-03-18 07:11:59

cippaciong
Member
Registered: 2010-06-21
Posts: 104
Website

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

Starfall wrote:
cippaciong wrote:

Did you set the $BSPWM_STATUS_FIFO variable so that it points to some file? Like /tmp/bspwm-fifo for example.

How would you suggest I go about doing so?

**EDIT** I got it working, though I'd still appreciate an answer on how you set yours? smile

I put my fifo file in /tmp and I set almost all the variables in ~/.bash_profile. I'm planning to move theme to ~/.profile but it's basically the same. Just keep in mind that if you use the latter you should source it in the first, if present, because it has higher priority at boot time. wink

Offline

#153 2013-03-18 09:04:10

Starfall
Member
From: /home/
Registered: 2011-05-24
Posts: 209
Website

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

cippaciong wrote:

I put my fifo file in /tmp and I set almost all the variables in ~/.bash_profile. I'm planning to move theme to ~/.profile but it's basically the same. Just keep in mind that if you use the latter you should source it in the first, if present, because it has higher priority at boot time. wink

Yeah, I was tryna decide what the cleanest way of doing it would be, I use zsh, so it would've been in my zprofile tongue But I ended up going with /etc/environment smile Thanks for the reply


Visit my blog and my DeviatArt page

Offline

#154 2013-03-18 14:36:40

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

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

netfun81 wrote:
bloom wrote:

Please try the fix-cpu branch.

I tried the fix-cpu branch and had the same issue but thanks for the effort.

Please pull the latest changes from that branch and try again.


gh · da · ds

Offline

#155 2013-03-18 16:36:06

netfun81
Member
Registered: 2008-07-20
Posts: 32

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

bloom wrote:

Please pull the latest changes from that branch and try again.

That fixed it!  Thanks very much!

Offline

#156 2013-03-18 19:00:51

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

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

netfun81 wrote:
bloom wrote:

Please pull the latest changes from that branch and try again.

That fixed it!  Thanks very much!

The branch was merged into master.


gh · da · ds

Offline

#157 2013-03-18 20:08:25

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

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

The examples directory contains new examples.

The current panel* scripts require xtitle-git and sutils-git.


gh · da · ds

Offline

#158 2013-03-21 01:59:15

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

I was unable to get a "click to focus" behavior working properly. I added:

button1
    bspc grab_pointer focus
@button1
    bspc ungrab_pointer

to sxhkdrc, and this allowed a click to focus the window under the pointer, but it also prevented clicks from being sent through to the application itself.

Is there any way to make a click focus a window but also be sent to the application, e.g. like i3, or xmonad with clickJustFocuses = False?

Also, if bloom sees this, in the documentation for focus_follows_pointer whether is misspelled. wink

Last edited by Supplantr (2013-03-21 02:18:44)


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

Offline

#159 2013-03-21 10:58:53

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

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

Supplantr wrote:

I was unable to get a "click to focus" behavior working properly. I added:

button1
    bspc grab_pointer focus
@button1
    bspc ungrab_pointer

to sxhkdrc, and this allowed a click to focus the window under the pointer, but it also prevented clicks from being sent through to the application itself.

Is there any way to make a click focus a window but also be sent to the application, e.g. like i3, or xmonad with clickJustFocuses = False?

Unfortunately, sxhkd can't emulate click to focus properly: I'll have to implement this in bspwm.

Supplantr wrote:

the documentation for focus_follows_pointer whether is misspelled

Thanks, fixed.


gh · da · ds

Offline

#160 2013-03-21 14:17:25

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

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

Supplantr wrote:

I was unable to get a "click to focus" behavior

Please try the click-to-focus branch (the new setting is click_to_focus).


gh · da · ds

Offline

#161 2013-03-21 18:31:01

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:

Please try the click-to-focus branch (the new setting is click_to_focus).

I'm experiencing strange behavior. Clicking only sometimes switches focus to the window that was clicked, and clicks aren't always sent to the application.

  1. Launch libreoffice and an instance of urxvtc (which now has focus).

  2. Clicking on the libreoffice window switches focus to it, but does not pass the click to the application, meaning a second click is required to interact with it.

  3. Switch to urxvtc (which is to the left) with the keyboard. This wasn't possible in my case until I pressed super + l (focus right) and then focus left.

  4. Click "Text Document" on libreoffice's dialog; the click is passed through and a new document opens.

  5. Use bspc close and the urxvtc instance is closed!

Also, switching workspaces during this process will change the outcome.


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

Offline

#162 2013-03-21 19:40:31

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

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

Supplantr wrote:

I'm experiencing strange behavior. Clicking only sometimes switches focus to the window that was clicked, and clicks aren't always sent to the application.

  • Launch libreoffice and an instance of urxvtc (which now has focus).

What version of libreoffice?
I can't seem to get the current version to start here, it always fails with:

terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'
Supplantr wrote:
  • Clicking on the libreoffice window switches focus to it, but does not pass the click to the application, meaning a second click is required to interact with it.

This is expected: not sure if I can work around that limitation.

Supplantr wrote:
  • Switch to urxvtc (which is to the left) with the keyboard. This wasn't possible in my case until I pressed super + l (focus right) and then focus left.

  • Click "Text Document" on libreoffice's dialog; the click is passed through and a new document opens.

  • Use bspc close and the urxvtc instance is closed!

This is strange indeed, and I'll try to reproduce this as soon as I get libreoffice working.


gh · da · ds

Offline

#163 2013-03-21 20:37:44

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:

What version of libreoffice?

I'm using 4.0.1-2 and experiencing no problems.

Similar behavior can be replicated using gimp. It's possible to click on a "dockable dialog," such as Tools, and select a tool without focusing the gimp window.


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

Offline

#164 2013-03-22 15:53:57

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

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

@Supplantr:
After all, I did manage to implement it via sxhkd, so please checkout the master branch of bspwm, the replay-event branch of sxhkd and use the following in your sxhkdrc:

:button1
    bspc grab_pointer focus

gh · da · ds

Offline

#165 2013-03-22 18:24:49

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,

Wow, thanks! It seems to be working perfectly. I tested all the previously problematic cases and everything works as expected. I'll be sure to report anything out of the ordinary if it arises.


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

Offline

#166 2013-03-22 21:45:46

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

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

The aforementioned sxhkd branch was merged into the master branch.


gh · da · ds

Offline

#167 2013-03-24 14:59:59

Starfall
Member
From: /home/
Registered: 2011-05-24
Posts: 209
Website

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

Although it's not strictly related to an issue with bspwm, I'm hoping someone can help me out with Lemonboy's bar. After compiling it and trying to run it, no matter what font I define in config.h it complains it couldn't load the font. I've ensured I have included the 'FontPath' setion in my xorg.conf, and that I can use 'xlsfonts | grep -i <font-name>*' to find the font. Does anybody have any pointers?

I'm using tmux to display useful information right now, but I'd much rather implement a bar to fit nicely with bspwm. I'm not using it full time on both my desktop and my little MacBook Air, absolutely loving it smile


Visit my blog and my DeviatArt page

Offline

#168 2013-03-24 15:31:47

cippaciong
Member
Registered: 2010-06-21
Posts: 104
Website

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

Starfall wrote:

Although it's not strictly related to an issue with bspwm, I'm hoping someone can help me out with Lemonboy's bar. After compiling it and trying to run it, no matter what font I define in config.h it complains it couldn't load the font. I've ensured I have included the 'FontPath' setion in my xorg.conf, and that I can use 'xlsfonts | grep -i <font-name>*' to find the font. Does anybody have any pointers?

I'm using tmux to display useful information right now, but I'd much rather implement a bar to fit nicely with bspwm. I'm not using it full time on both my desktop and my little MacBook Air, absolutely loving it smile

I've got the same problem and I can't find a solution so I'll appreciate any help as well.

Offline

#169 2013-03-24 15:47:25

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

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

Starfall wrote:

After compiling it and trying to run it, no matter what font I define in config.h it complains it couldn't load the font. I've ensured I have included the 'FontPath' setion in my xorg.conf, and that I can use 'xlsfonts | grep -i <font-name>*' to find the font. Does anybody have any pointers?

What's your BAR_FONT definition?

My guess is that you specified only one font. BAR_FONT must have the following form:

#define BAR_FONT  "font1", "font2"

Where font1 is the main font and font2 the fallback font.


gh · da · ds

Offline

#170 2013-03-24 22:46:38

cippaciong
Member
Registered: 2010-06-21
Posts: 104
Website

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

bloom wrote:

What's your BAR_FONT definition?

My guess is that you specified only one font. BAR_FONT must have the following form:

#define BAR_FONT  "font1", "font2"

Where font1 is the main font and font2 the fallback font.

In my case I had two fonts defined.

Offline

#171 2013-03-25 09:39:44

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

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

cippaciong wrote:

In my case I had two fonts defined.

What's your #define ... line?


gh · da · ds

Offline

#172 2013-03-26 02:30:05

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

Would it be possible to implement support for _NET_WM_STATE_DEMANDS_ATTENTION? This is used by "almost all" Qt applications (notably Skype) instead of the urgency flag of WM_HINTS.


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

Offline

#173 2013-03-26 10:36:14

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

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

Supplantr wrote:

Would it be possible to implement support for _NET_WM_STATE_DEMANDS_ATTENTION?

It should be working as of 1f894fe.


gh · da · ds

Offline

#174 2013-03-26 21:40:06

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:

It should be working as of 1f894fe.

Thanks again, it works as expected.

Another feature request, if it's doable and in line with your aesthetic vision: overlapping window borders, like in monsterwm.


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

Offline

#175 2013-03-26 22:19:17

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

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

Supplantr wrote:

Another feature request, if it's doable and in line with your aesthetic vision: overlapping window borders, like in monsterwm.

There's already:

bspc set window_gap -$(bspc get border_width)

It might not be exactly what you're after though.


gh · da · ds

Offline

Board footer

Powered by FluxBB