You are not logged in.
I am trying to set up bar and stopped at not knowing how to get the active/selected windows title. Is there any way at all?
Also, why are the windows (terminal) covering my bar? It seems that they simply ignore it is there.
Last edited by GE (2014-01-11 17:07:56)
• WM: Openbox
• Resolution: 1366x768
• CPU: CPU: Intel Pentium CPU B980 @ 2.4GHz
• RAM: 2931MB
Offline
I am trying to set up bar and stopped at not knowing how to get the active/selected windows title. Is there any way at all?
Have a look at the provided panel examples, in particular this line which calls the xtitle companion application (found here). Clone and compile xtitle, then the aforementioned line in the panel script will print the active/selected window title in the bar.
Also, why are the windows (terminal) covering my bar? It seems that they simply ignore it is there.
In bspwmrc, you need to add a value for the top_padding setting.
Last edited by robstwd (2014-01-13 12:36:33)
Offline
First off I'm loving bspwm. I do have two questions though, and please excuse me if they've already been answered. Sometimes when opening a new window (i've only seen it in firefox as far as I can recall) only half the window is shown. Maximising the window/ opening another one for example a terminal and then closing the terminal will fix it. Second the space between the top of the window and the panel is larger than the sides/bottom but only when using the LemonBoy bar. I'm working on trying out dzen(for the xft fonts) I wasn't able to get the Raedwulf xft version to work.
heres a screenshot. http://imgur.com/4vVxgve
Thanks in advance!
Offline
Second the space between the top of the window and the panel is larger than the sides/bottom but only when using the LemonBoy bar.
bspwm does not do any margin-computations, just play with the margin values in your config-script until you like it.
Offline
Hello everyone! I installed bspwm a couple days ago, configured it to my liking, made my own menu, etc. I really like it. However, I can't get it to do something I had in Awesome WM, which is marking inactive windows so that compton can make them translucent. It's just eyecandy, but I like the effect. I have tried several compton switches (such as "detect inactive windows" to no avail. Googling doesn't help either, so I hope you can shed some light to this small issue. Cheers.
Offline
Offline
Question to developers: Why, in your opinion, should someone pick this over dwm with a patch to add BSP?
Indeed why is this a separate project instead of just a patch to add BSP to dwm (or another twm).
Offline
The following:
compton -i 0.5
works for me.
Thanks. Apparently the same settings wouldn't work on both Awesome and bspwm, for some strange reason, and I assumed that reading the configuration file had to be explicitly told.
By the way, is there any setting to disable changing the mouse cursor to that hideous 'X'? It just appears randomly, for example when switching desktops or when moving the mouse pointer to the edge of the screen, or even to the panel.
Last edited by enr1x (2014-01-16 12:43:20)
Offline
I don't know if that has been reported before, but Spotify doesn't really work in tiling mode.
Parts of the UI are white and/or flickering. When I put in floating mode everything works.
Forget what I said. Suddenly it works.
Last edited by FSX (2014-01-16 13:04:23)
Offline
Question to developers: Why, in your opinion, should someone pick this over dwm with a patch to add BSP?
Indeed why is this a separate project instead of just a patch to add BSP to dwm (or another twm).
Disclaimer: I'm not a developer.
Firstly, have you used bspwm? It shares almost nothing in common with dwm other than being a tiling X window manager written in C. It does not draw a status bar, handle keybindings, or use tags. It is controlled over a socket, in much the same vein as herbtluftwm. Windows are not automatically tiled based on a given layout, i.e. there is no equivalent to applying the "bottom stack" layout in bspwm; one would manually arrange windows to achieve a similar configuration. Furthermore, dwm has no concept of "splitting" windows, which is central to the functionality and flexibility of bspwm. Patching dwm to parallel bspwm's features would likely be needlessly complicated or downright impossible without rendering it unrecognizable. And if you want to get technical, bspwm uses xcb.
bspwm is more comparable to i3 or herbstluftwm (being manual tiling WMs), but I've used both in the past and can attest to the significant differences (and the superiority of bspwm .
I use linux and I dont understand nothing in this post.
Offline
Ok new problems
It started yesterday while I was playing with the panel, which I had made very good progress on. After a reboot, only 'Desktop 1' had shown up as an available desktop. Tried changeing them from the 'I II III..." to '123...' still no dice. Then I disabled everything in xinitrc still same issue. I thought maybe it was due to all the different git versions of things I DLed panels and what not so I went for a fresh install. Things were really messy anyway. DLed the bspwm-git and shxkd-git from the AUR.
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#numlockx
#nitrogen --restore
sxhkd
exec bspwm
And now no windows are managed... I can get a terminal to show up with the default keybindings, so I know sxhkd is at least partially active. But there are no decorations. Can't move the terminal around, it's just stuck in the top left corner. But if I activate nitrogen& numlockx those work.
Thought maybe it was an issue with the git versions and got the regular bspwm and sxhkd pkgs (non-git) but the issue persists..
Any ideas? Please let me know if theres anything I can post to help resolve this Thank you
PS. I do have all the packages outlined in 'bspwm-for-dummies'
Last edited by rudylorren (2014-01-17 14:47:24)
Offline
sxhkd &
Without the &, the script will wait for sxhkd to finish (which it won't unless you kill it), so bspwm is never started.
Offline
Doh!! thanks man
*it works
Last edited by rudylorren (2014-01-17 16:33:42)
Offline
I registered here so that I could chime into to give my thanks for this wonderful window manager. I decided to check out bspwm the day before yesterday and switched completely yesterday. I think that there are very few window managers in existence that could have made the switch so simple, easy, and delightful. I've used xbindkeys in the past and it hasn't been pleasant.
Sxhdk + bspwm has made most of my window management dreams come true. I've found that not only can you set up a prefix key for bspc commands with sxhdk, but you can also set up a persistent mode that must be escaped out of for truly modal window management when needed. When comparing this to the difficulty of implementing a prefix key in xmonad, for example, there is no contest.
Furthermore, I've also find that it's possible to set it up so that if you double tap your prefix key, you'll enter this sort of modal state where all of the bindings will work without hitting the prefix key again for about five seconds before it stops working. I don't know if this is a glitch, but it's pretty cool.
Last edited by angelic_sedition (2014-01-20 07:17:28)
Offline
I'm interested in having a terminal that is running 'weechat' to autostart on desktop ^ 3 with a specific size and have it private so that all the other subsequent windows i open will tile around it?
How does it detect that it is 'weechat' in the first?
Any help would be appreciated, I am really horrible at writing rules
Offline
I'm interested in having a terminal that is running 'weechat' to autostart on desktop ^ 3 with a specific size and have it private so that all the other subsequent windows i open will tile around it?
How does it detect that it is 'weechat' in the first?
Any help would be appreciated, I am really horrible at writing rules
That depends on your terminal. Basically, give it an instance name (--name='xyz' for gtk based terminals) and then add a rule that matches that name.
Offline
terminals typically update the instance name to match whatever they are currently showing. urxvt running weechat, for example, has the instance name
WM_NAME(STRING) = "weechat 0.4.2"
looking at the readme, it appears you should use something like this:
bspc rule -a "weechat 0.4.2" desktop=^3 private=true
(disclaimer: i don't actually use bspwm)
[site] | [dotfiles] | あたしたち、人間じゃないの?
Offline
you can use
urxvt -name somename
and then your commands. You can then make a rule with the given name.
That's what I do.
Last edited by th3voic3 (2014-01-21 09:49:44)
Offline
at the moment i am using termite. will termite's "TITLE" suffice?
@shmibs how can I get the WM_NAME?
Offline
at the moment i am using termite. will termite's "TITLE" suffice?
@shmibs how can I get the WM_NAME?
Could be. I'm not using termite, but try it out.
To answer your other question: if you type
xprop
Your cursor changes, clicking on the termite window will give you a bunch of information about it, including it's WM_NAME.
Offline
all of a sudden cannot change the focused border color of windows.
$bspc config focused_border_color
#7E7F89
$bspc config focused_border_color #303030
#7E7F89
the same command in my bspwmrc also does not change the border color? what am i doing wrong?
Last edited by egroeg (2014-01-22 02:28:19)
Offline
$bspc config focused_border_color
"#7E7F89"
maybe the quotes?
Offline
maybe the quotes?
Yes, # starts a comment in bash. Stumbled over this myself.
Offline