You are not logged in.
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
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!
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
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
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
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
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:
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
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?
# 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
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
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
Offline
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
anyone spot what's wrong with my conky settings
Offline
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
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
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
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
You can like linux without becoming a fanatic!
Offline
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
Thanks to your guidance, I got it working now.
Cheers!
Offline
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
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
bspc desktop -F {horizontal,vertical}
?
Offline
bspc desktop -F {horizontal,vertical}
?
Exact, thanks!
Last edited by jan (2014-05-20 09:35:25)
Offline
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
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
I see. For the longest time I thought I can make eclipse only be monocle.
Thanks for the clarifications.
Offline
Why not work border with ?
Offline
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