You are not logged in.
One quick question, is there a way to get just the window class/application name instead of the whole window title?
You could, in panel, replace
xtitle -sf 'T%s' > "$PANEL_FIFO" &
by
xprop -spy -root _NET_ACTIVE_WINDOW | sed -un 's/.*\(0x.*\)/A\1/p' > "$PANEL_FIFO" &
and, in panel_*, replace T*) by A*) and ${line#?} by $(xwinfo -c ${line#?}) in the title=... declaration...
Offline
Can I switch desktops not only based on the key I press but the monitor I am currently selecting a window on and the key I press?
The Git version provides the following desktop selector:
MONITOR_SEL:^<n>.
(And focused is a monitor selector...)
Offline
I need some help with a thing that's been bugging me for a few days now.
My typical day goes like this: home( notebook + secondary monitor, each with 10 workspaces), college( just the notebook display), work( notebook + 2 monitors) and home again. What I would like is to be able to disconnect the monitor when I leave home and have all the windows from all the workspaces on that monitor to be moved to, say the last workspace on the the notebook monitor. If the monitor with that name is connected again, I can manually move them back.
So, if a monitor is no longer connected simply moving all the windows to a workspace on a connected monitor.
Does anybody have any idea how I could implement this? Or bloom, is there any interest in integrating this?
Thanks beforehand for helping and great job bloom!
Last edited by regulament (2014-02-19 21:45:22)
Offline
You could, in panel, replace
xtitle -sf 'T%s' > "$PANEL_FIFO" &
by
xprop -spy -root _NET_ACTIVE_WINDOW | sed -un 's/.*\(0x.*\)/A\1/p' > "$PANEL_FIFO" &
and, in panel_*, replace T*) by A*) and ${line#?} by $(xwinfo -c ${line#?}) in the title=... declaration...
Thank you very much
This method displays N/A when no window is present (Output of xwinfo -c 0x0 ). A quick sed in xwinfo command fixed it.
Any chance a switch incorporates this into xtitle itself?
Last edited by easysid (2014-02-20 06:57:49)
Desktop screenshots :: Origami :: github
Offline
Just tried it now. Added "bspc remove_disabled_monitor true" to my bspwmrc.
Simply plugging out the monitor: no change. Ran an xrandr script that disconnected the monitor: now I can access all workspaces( notebook + monitor) on my notebook screen. I like it.
Connected the monitor again: nothing happens. Ran xrandr script. Now I have 1 workspace on the monitor( I assume it's default) and on the notebook display I still have all my previous ones( the ones that should be on the notebook and the ones that should be on the monitor).
How could I send all the workspaces that were on the monitor( and are now on the notebook display) back to the monitor?
Offline
I have currently a problem where java (openjdk) guis aren't drawn while using bspwm. it works on the same machine and using awesome as wm. Has anyone experienced that before? Any ideas what causes this problem?
Offline
regulament wrote:Simply plugging out the monitor: no change.
What's the output of xrandr before and after the monitor unplugging?
Before:
Screen 0: minimum 320 x 200, current 2800 x 1920, maximum 32767 x 32767
LVDS1 connected 1600x900+1200+1020 (normal left inverted right x axis y axis) 382mm x 215mm
1600x900 60.1*+ 40.1
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 connected 1200x1920+0+0 left (normal left inverted right x axis y axis) 518mm x 324mm
1920x1200 60.0*+
1920x1080 60.0 +
1600x1200 60.0
1680x1050 60.0
1280x1024 60.0
1280x960 60.0
1024x768 60.0
800x600 60.3
640x480 60.0
720x400 70.1
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
And after unplugging:
Screen 0: minimum 320 x 200, current 2800 x 1920, maximum 32767 x 32767
LVDS1 connected 1600x900+1200+1020 (normal left inverted right x axis y axis) 382mm x 215mm
1600x900 60.1*+ 40.1
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 disconnected 1200x1920+0+0 left (normal left inverted right x axis y axis) 0mm x 0mm
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
1920x1200 (0x47) 154.0MHz
h: width 1920 start 1968 end 2000 total 2080 skew 0 clock 74.0KHz
v: height 1200 start 1203 end 1209 total 1235 clock 60.0Hz
No idea what that VIRTUAL1 is.
LE: I should point out that I'm using the latest AUR version( 0.8.8), not the latest git.
Last edited by regulament (2014-02-20 16:25:00)
Offline
Any ideas what causes this problem?
Offline
Hello guys, what's your solution for integrating a tray icon with bspwm? I love i3bar integrated tray icon but also like the bar feature to show window title on top
I'm using a mini-tint2 but I don't like it very much
Offline
madmaurice wrote:Any ideas what causes this problem?
Thanks. I found out that there's another fix when using OpenJDK by setting _JAVA_AWT_WM_NONREPARENTING=1.
Source: http://awesome.naquadah.org/wiki/Problems_with_Java
Offline
Hey all,
Just installed BSPWM and love it!
One question: How do I change my desktop background? Didn't see anything about this here or on Github. Thanks!
Offline
One question: How do I change my desktop background?
Use something like feh.
Offline
After I did a system upgrade today, suddenly floating windows appear behind tiled windows of certain programs (i.e. firefox and eclipse), and won't come in front. Very annoying because I have to untile the issued tiled windows in order to operate the floating windows. When the issued tiled windows are in floating mode, then other floating windows act normally.
Offline
I tried using compton with BSPWM and when I tried to resize windows, it was HORRIBLY slow and unresponsive. It actually wasn't even useable.
I'm going to assume this is a knows issue. However, I'd like to know: What window compositor will NOT do this?
Offline
What is the best panel to use with BSPWM? Bar or dzen2? Thanks for your input!
Offline
Depends on your needs. If you do not need clickable areas on your panel (say to switch desktops or info popups), Bar is a better choice as it provides better text alignment. dzen2 on the other hand is horrible at that but it provides more than just a bar. It is also a notification system and you can get those cool popups you see on those reddit gifs
Try both of them out. Just be sure to pull in git version of dzen2
Desktop screenshots :: Origami :: github
Offline
I remember there being a way to restart bspwm with the new config without killing the current session. Currently I have this to run bspwm:
while true; do
sxhkd -c /home/hsp/.config/bspwm/sxhkdrc &
[ -e "$PANEL_FIFO" ] && rm "$PANEL_FIFO"
mkfifo "$PANEL_FIFO"
bspwm -s "$PANEL_FIFO" -p W || break
done
This leaves 'zombie' applications and its undesirable. What is the correct way around it?
I know this has been discussed in this thread before, but it's gotten so big! I would be really nice if someone updated the wiki <3.
edit: None of my rules appear to be working.
xprop on any window shows this the first time:
_NET_WM_PID(CARDINAL) = 420
_NET_WM_NAME(UTF8_STRING) = "bspwm"
_NET_SUPPORTING_WM_CHECK(WINDOW): window id # 0xe00000
only with different values. The proper output is displayed the second time though.
My rules:
bspc rule -a Gimp -d ^8 --follow --floating
bspc rule -a Chromium -d ^2
bspc rule -a mpv --floating
bspc rule -a scratchpad --floating
bspc rule -a ncmpcpp --floating
Chromium isn't forced on workspace 2, nothing floats, etc.
Last edited by Hspasta (2014-02-25 09:13:07)
Offline
A general question: Is there a way to get back to the previous windows arrangement after having used --balance?
Offline
try
bspc desktop -E
If that's what you meant, I would map it in sxhkdrc. It's not in Baskerville's example.
Offline
try
bspc desktop -E
That's not exactly what I meant, but I guess this is sufficient though – thank you.
Offline
Offline
A general question: Is there a way to get back to the previous windows arrangement after having used --balance?
It might be possible (via restore -T) if you save the tree of the involved desktop beforehand (the list of windows must be identical, otherwise you'll end up with a corrupted tree).
Offline