You are not logged in.

#926 2013-11-24 04:42:49

tedbell
Member
Registered: 2012-08-04
Posts: 167

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

3xOSC wrote:

Thank you.  SO I have followed your instructions and running ps aux | grep bspwm_rules shows that it is indeed running.

However, I am still unable to set firefox to start up at display 2.  I wonder why that is.

They way I have set it is up that in my ~/.config/bspwm/bspwmrc:    it starts up panel & bspc config rule_command "$(which rule_command)" & bspwm_rules &

Can I take a look at what is in your bspwmrc?

add the rules to "bspwm_rules"

    rulc -a 'class=="Firefox"' 'desktop=^2' 

this is my bspwmrc

#! /bin/sh

bspc monitor -d I II III IV V VI VII VIII IX X

# Visual options
bspc config border_width        1
bspc config top_padding         10
bspc config bottom_padding      10
bspc config window_gap          20
bspc config split_ratio         0.50
bspc config borderless_monocle  true
bspc config gapless_monocle     false
bspc config focus_follows_pointer false
bspc config auto_alternate true
bspc config auto_cancel true
bspc config presel_border_color "#cc0000"
bspc config focused_border_color "#edd400"
bspc config normal_border_color "#000000"
bspc config active_border_color "#555753"
bspc config urgent_border_color "#4e9a06"
bspc config normal_frame_opacity 0.0
bspc config focused_frame_opacity 0.05
bspc config rule_command "$(which rule_command)"

bspwm_rules


#if [ -e "$BSPWM_TREE" ] ; then
#bspc restore -T "$BSPWM_TREE" -H "$BSPWM_HISTORY" -S "$BSPWM_STACK"
#    rm "$BSPWM_TREE" "$BSPWM_HISTORY" "$BSPWM_STACK"
#fi

Last edited by tedbell (2013-11-24 04:43:49)

Offline

#927 2013-11-24 05:00:35

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

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

I still haven't been having any luck, for something as simple as staring firefox in the second tag.  Let me show you mine, perhaps you can pin point the error?

bspwmrc:  http://ix.io/98i
bspwm_rules:  http://ix.io/98j
.xinitrc: http://ix.io/98k

all of them are in a valid $PATH, and executable

edit:   SOLVED.   how?   i am an idiot.  i neglected to install xwinfo!

Last edited by 3xOSC (2013-11-24 05:02:25)

Offline

#928 2013-11-24 05:36:16

tedbell
Member
Registered: 2012-08-04
Posts: 167

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

3xOSC wrote:

I still haven't been having any luck, for something as simple as staring firefox in the second tag.  Let me show you mine, perhaps you can pin point the error?

bspwmrc:  http://ix.io/98i
bspwm_rules:  http://ix.io/98j
.xinitrc: http://ix.io/98k

all of them are in a valid $PATH, and executable

edit:   SOLVED.   how?   i am an idiot.  i neglected to install xwinfo!

tongue Glad you got it working.

Offline

#929 2013-11-26 17:34:17

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

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

I added a little blurb on the Bspwm Panels on how to get started with displaying system info.
May churn up a wiki on my gh if enough interest is expressed.

Offline

#930 2013-11-27 21:57:17

mf
Member
From: Slovenia
Registered: 2013-11-16
Posts: 31

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

Hey guys, I have a problem. I fresh installed Arch on my netbook (Acer AO753). Installed lib32-intel-dri for graphics. I installed bspwm/sxhkd and deps via yaourt. I get a black only screen wit no mouse. I can launch xterm with xinitrc, so display and everything is working. I have no idea what could be wrong, hope you guys can help me.

bspwmrc and sxhkdrc are the default ones and I only have sxhkd and exec bspwm in .xinitrc

Last edited by mf (2013-11-27 22:11:06)

Offline

#931 2013-11-27 22:44:45

flexo3001
Member
From: berlin
Registered: 2012-01-13
Posts: 95

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

Hey *!
I have a "problem" with tint2 and bspwm. i can't click & focus the windows via tint2 and tint doesn't displays the the workspacename. how can i let them play together?

my tint2 conf (mostly from baskervilles dotfiles)
https://gist.github.com/flexo3001/7684377

my bspwmrc
https://gist.github.com/flexo3001/7684395

my xinitrc (i tried both, the commented case and below)
https://gist.github.com/flexo3001/7684403

and one question: is there a keybind for switching back to last focused window and workspace? maybe i slipped it in the man...

thanks, flexo

EDIT: solved the workspace thing by compiling tint2-svn. the click-focus thing doesn't matter.

Last edited by flexo3001 (2013-11-28 13:16:23)


Fight war not wars, destroy power not people!

Offline

#932 2013-11-28 02:22:38

robstwd
Member
From: Brisbane
Registered: 2010-10-31
Posts: 32

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

flexo3001 wrote:

....and one question: is there a keybind for switching back to last focused window and workspace? maybe i slipped it in the man...

The example sxhkdrc has a keybinding for this:

super + {grave,Tab}
    bspc {window,desktop} -f last

Is that what you are after?

Offline

#933 2013-11-28 09:27:54

Nindwen
Member
From: Finland
Registered: 2013-09-02
Posts: 18
Website

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

EDIT: Nothing, I was pretty sure I checked the package, but I guess I  didn't. As there seems to be some problems with noticing the need for different utility programs commonly used with bspwm (like xwinfo and programs used in example panel setup), and while they may not be necessary and can be replaced, wouldn't it make sense to add them as additional dependencies for AUR-package? I'd think it would make things easier for some.

Now that I posted, would it be possible we got something similar? I guess it's not exactly essential, but would be quite nice:

bloom wrote:
earsplit wrote:
Nindwen wrote:

I've been thinking, now that we have the possibility to create empty frames, and the most obvious use for them (in addition to looking nice in screenshots) is to make space for floating windows, would it be possible to add rule/option to place floating windows automatically in the middle of free frame? Or is there currently some way to achieve this?

I've been wondering a similar thing, but this would be dependent on something more basic, like floating windows spawn in empty space (if available for requested dimensions) instead of in the center of the screen.  After something like this is implemented, then the frames could be handled. Just an idea smile

Reminds me of herbstluftwm's pseudo-tiled windows.

Last edited by Nindwen (2013-11-28 09:36:10)


echo nindwen.blue | cat

Offline

#934 2013-11-28 10:00:28

flexo3001
Member
From: berlin
Registered: 2012-01-13
Posts: 95

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

robstwd wrote:
flexo3001 wrote:

....and one question: is there a keybind for switching back to last focused window and workspace? maybe i slipped it in the man...

The example sxhkdrc has a keybinding for this:

super + {grave,Tab}
    bspc {window,desktop} -f last

Is that what you are after?

thanks.that's it.wrote mine from scratch with the man so i haven't looked in the example.


Fight war not wars, destroy power not people!

Offline

#935 2013-11-28 13:18:01

flexo3001
Member
From: berlin
Registered: 2012-01-13
Posts: 95

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

as an primary hlwm-user; how can i setup the frame-support? I don't understand this little peace of man...


Fight war not wars, destroy power not people!

Offline

#936 2013-11-28 20:29:35

robstwd
Member
From: Brisbane
Registered: 2010-10-31
Posts: 32

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

flexo3001 wrote:

as an primary hlwm-user; how can i setup the frame-support? I don't understand this little peace of man...

check out bloom's post here, to compile the create_frame app, then
1. as the create_frame app compiles locally in its host directory, you need to have it recognised in your $PATH; ie symlink
2. create a rule; with the new external rules methodology I have added the following in bspwm_rules:

rulc -a 'class=="BSPWM_FRAME"' 'frame=on'

3. then add a sxhkd keybinding, such as

super + ctrl + f
    create_frame

4. then adjust the frame opacity options via bspwmrc

bspc config normal_frame_opacity  0.0
bspc config focused_frame_opacity 0.05
bspc config active_frame_opacity .....

Offline

#937 2013-11-29 05:03:17

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

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

flexo3001 wrote:

as an primary hlwm-user; how can i setup the frame-support? I don't understand this little peace of man...

It is nothing like HLWM's frames. All it does is create a transparent window in place of a tile.  I find it useful for making room for a floating window. It doesn't create a new tree like in HLWM


((( configs :: website )))

Offline

#938 2013-11-30 14:21:52

mf
Member
From: Slovenia
Registered: 2013-11-16
Posts: 31

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

When I try running a panel with "panel dzen2" the panel is displayed on the top left side of the screen and I get this error in my terminal.

% panel dzen2                                                                                     ~ Nightcrawler
/home/mfin/.scripts/panel_dzen2: line 11: sres: command not found
xargs: txtw: No such file or directory
/home/mfin/.scripts/panel_dzen2: line 105: [: 0: unary operator expected
xargs: txtw: No such file or directory
/home/mfin/.scripts/panel_dzen2: line 105: [: 0: unary operator expected
xargs: txtw: No such file or directory
/home/mfin/.scripts/panel_dzen2: line 105: [: 0: unary operator expected
xargs: txtw: No such file or directory
/home/mfin/.scripts/panel_dzen2: line 105: [: 0: unary operator expected
xargs: txtw: No such file or directory
/home/mfin/.scripts/panel_dzen2: line 105: [: 0: unary operator expected
xargs: txtw: No such file or directory
/home/mfin/.scripts/panel_dzen2: line 105: [: 0: unary operator expected
xargs: txtw: No such file or directory
/home/mfin/.scripts/panel_dzen2: line 105: [: 0: unary operator expected
xargs: txtw: No such file or directory
/home/mfin/.scripts/panel_dzen2: line 105: [: 0: unary operator expected
xargs: txtw: No such file or directory
/home/mfin/.scripts/panel_dzen2: line 105: [: 0: unary operator expected
^C[1]    7606 terminated  panel dzen2

What are sres and txtw and where do I get that?

EDIT: Already got rid of txtw error and I replaced the sres line in the config with 1366. But why isn't there any sres command on my machine?

Last edited by mf (2013-11-30 14:52:59)

Offline

#939 2013-11-30 18:48:02

Neuromatic
Member
From: Germany
Registered: 2013-05-31
Posts: 65

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

You have to install sres from AUR, or baskervilles github


/* No Comment */

Offline

#940 2013-11-30 21:59:34

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

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

Can someone point me to a guide for scripting Dzen2? I know it is a really dumb question, but I have been unable to find anything that explains it without assuming prior knowledge. Conky has its conky objects and settings lists that give a good description of all of the options and stuff. I know that such a thing cannot exist for Dzen2, but something that gave a basic outline would be nice.

Offline

#941 2013-11-30 22:50:11

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

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

agahnim wrote:

Can someone point me to a guide for scripting Dzen2? I know it is a really dumb question, but I have been unable to find anything that explains it without assuming prior knowledge. Conky has its conky objects and settings lists that give a good description of all of the options and stuff. I know that such a thing cannot exist for Dzen2, but something that gave a basic outline would be nice.

README: https://github.com/robm/dzen/blob/master/README
dzen2 wiki: https://github.com/robm/dzen/wiki/_pages
dzen2 hacking thread: https://bbs.archlinux.org/viewtopic.php?id=40637

There isn't really a guide. Also, dzen is nothing like conky; it's really just a framework for drawing a semi-interactive text window. (This is kind of like asking for a guide to ncurses or GTK, albeit a simplified version.)

Last edited by Stebalien (2013-11-30 22:51:54)


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#942 2013-12-02 16:30:51

mf
Member
From: Slovenia
Registered: 2013-11-16
Posts: 31

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

I'm happy to say that I figured most of the stuff on my own, bspwm is really awesome.

Although I have one little problem with a panel w/ dzen2 and have no idea how to solve it.

If I use plain text (with colors) the panel works as it should. As soon as I add some icons, the panel gets moved to the right, so that my clock almost disappears from the screen. The more icons I add, the more panel moves to the right.

Here's a screenshot.

Any ideas how to get rid of this?

Offline

#943 2013-12-02 16:40:35

regitator
Member
Registered: 2010-08-10
Posts: 26

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

What's the easiest way to make Matlab display correctly? Currently it is shown only as gray.

Last edited by regitator (2013-12-02 16:41:26)

Offline

#944 2013-12-02 17:50:53

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

regitator wrote:

What's the easiest way to make Matlab display correctly? Currently it is shown only as gray.

Is Matlab a Java application? If so, this script or the solution mentioned in the wiki should suffice.


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

Offline

#945 2013-12-02 18:36:03

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

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

mf wrote:

If I use plain text (with colors) the panel works as it should. As soon as I add some icons, the panel gets moved to the right, so that my clock almost disappears from the screen. The more icons I add, the more panel moves to the right.

In txtw's manual, you'll find an example on how to specify an alternate font.


gh · da · ds

Offline

#946 2013-12-04 12:50:31

flexo3001
Member
From: berlin
Registered: 2012-01-13
Posts: 95

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

earsplit wrote:
flexo3001 wrote:

as an primary hlwm-user; how can i setup the frame-support? I don't understand this little peace of man...

It is nothing like HLWM's frames. All it does is create a transparent window in place of a tile.  I find it useful for making room for a floating window. It doesn't create a new tree like in HLWM

That's too bad. After a little testing with bspwm i will stuck with hlwm. But bspwm is my second choice smile I will observe the development of bspwm. Great WM!


Fight war not wars, destroy power not people!

Offline

#947 2013-12-06 21:13:26

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

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

Instead of automatic mode when presel is not used, is it possible to make the next opened window in the same place that the last window was closed? As long as there was a window that was closed of course. This would be nice if I wanted to restart a program or something similar.

Offline

#948 2013-12-08 19:03:37

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

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

Ploppz wrote:

Instead of automatic mode when presel is not used, is it possible to make the next opened window in the same place that the last window was closed? As long as there was a window that was closed of course. This would be nice if I wanted to restart a program or something similar.

I could provide a sticky_mode setting: it would prevent new windows from altering the mode of the insertion point.

That's the only non-magical approach I can think of.

Last edited by bloom (2013-12-08 19:08:27)


gh · da · ds

Offline

#949 2013-12-11 17:56:20

milomouse
Member
Registered: 2009-03-24
Posts: 940
Website

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

Ok, I briefly heard about the newish external_rule stuff and hesitated on updating.  Finally made the update and now I wish I didn't.  Before this sentence puts you off, let me explain..

I am on a Gentoo system and am not really familiar with Lua so I had to delve through a bunch of pages just to see how I can install 'luaposix'.. trying luarocks and all that.  Ultimately, I really don't want to do this.  So, I removed it and deleted the rul* commands from my system.   I'm still able to use bspwm but without my precious windowclass->desktop focus movements and floating, center, all that....  Small price to pay but are there any current alternatives to the "optional" external rule commands provided?  I suppose I could try to make my own but was just curious to see if any exist right now.  Otherwise, I guess I could revert to earlier git commit of bspwm but I really don't like going backwards unless it's absolutely necessary.

Anyway, thanks again for a great window manager, although IMHO I personally feel it's becoming too modular?, if that makes sense.  I like that it only manages windows but it still manages borders and things like that but now it's dropped direct support for where to PUT windows and how to handle them based on class|instance, etc?  That doesn't make sense to me.  Was there a special reason behind removing this from the actual window manager?  We already had an external program talking to bspwm (bspc) but now it's moved completely out.  Regardless, again, not complaining just voicing my humble opionion as a lenghty user of bspwm.

Offline

#950 2013-12-11 20:06:49

Nindwen
Member
From: Finland
Registered: 2013-09-02
Posts: 18
Website

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

milomouse wrote:

Small price to pay but are there any current alternatives to the "optional" external rule commands provided?  I suppose I could try to make my own but was just curious to see if any exist right now.  Otherwise, I guess I could revert to earlier git commit of bspwm but I really don't like going backwards unless it's absolutely necessary.

Look at this and this. You don't have to use rul{c,d}, any script can do rule handling.

Also...

I like that it only manages windows but it still manages borders and things like that [...]

Wouldn't it kind of make sense to allow some kind of externalization of borders? For those wanting bit of eye-kindy, it would be interesting to be able to do fancy decorations and window titles and such? I'm not exactly sure if I'm being serious, but it's interesting idea I think.


echo nindwen.blue | cat

Offline

Board footer

Powered by FluxBB