You are not logged in.
Ploppz wrote:1. Can't open windows in floating mode. Here is from sxhkdrc:
super + shift + t bspc rule -a termite --floating --one-shot; \ termite -x 0.7
As mentioned earlier, the syntax changed.
This:
bspc rule -a termite --floating --one-shot
is now written:
bspc rule -a termite -o floating=on
That did unfortunatley not work either. I tried to pkill -USR1 -x sxhkd, and also restart X11.
Offline
Maybe its been discussed million of times, but i can not get panel to run. I added to my path, the $PANEL_FILO is in /tmp/panel_filo and i followed every single step from the bspwm for dummies guide.
panel & is in my bspwmrc. All the other things that i added, like compton and setting up a wallpaper works, but not the part with panel...
If i start it within my terminal (urxvt) it works, but closes when i close the terminal.
Would it be possible to add a command that bspwm runs programms at the start up like i3 or awesomewm?
May i add: im running zsh instead of bash
Offline
Maybe its been discussed million of times, but i can not get panel to run. I added to my path, the $PANEL_FILO is in /tmp/panel_filo and i followed every single step from the bspwm for dummies guide.
panel & is in my bspwmrc. All the other things that i added, like compton and setting up a wallpaper works, but not the part with panel...
If i start it within my terminal (urxvt) it works, but closes when i close the terminal.
Would it be possible to add a command that bspwm runs programms at the start up like i3 or awesomewm?May i add: im running zsh instead of bash
Do you have ~/.config/bspwm/panel in your path? If not you will need to write the full path to it from where you run it.
Offline
Do you have ~/.config/bspwm/panel in your path? If not you will need to write the full path to it from where you run it.
Yep, its inside my path.
Offline
Oh i forgot to say:
If i run panel & within my "normal terminal" after the start up, it works...
Offline
Where did you set your path? Maybe it's some sort of race condition.. not sure why that would be but am out of ideas. It should start... especially if you can start it from the terminal after start up.
Offline
Ok, after last update (01/04/2014, to commit 50c6f101821a4f73040c9ec272472e40b4e0bf75) I am having issues with the `bspc rule -a BLAH desktop=BLAH' command. So, the rule seems to work in that it applies the rule and shows up in `bspc rule --list' but after running the program found in the rule my desktops appear screwed up. Let me show you.
In the first screenshot I issue the rule command (note that all other rules seem to work fine as long as they don't include desktop=BLAH) and then spawn dwb from interrobang (although I've tried from urxvt too to see if that makes a difference but it doesn't). As you can see it screws up my window arrangement.
So, then I view desktop III and my windows are screwed up there too.. even though dwb is supposed to be the only window on that desktop.
And If I try to cycle desktops or view a different desktop (like the one I have my urxvt terminals on) I don't see any windows and have to continuously hit --toggle-visibility before my windows show back up. Even after they show up, if I try to cycle or view a different desktop they disappear and I have to struggle to view my windows. After this point I will sometimes get a segfault and bspwm closes. Again, I never had this problem before until last update so maybe something changed? I checked out example configs found with the update but cannot find anything too different.
Here are my configs ( https://github.com/milomouse/dotfiles/tree/master/bspwm ) when I updated though I changed some minor things since then trying to figure out what the problem is.. Hopefully it's my own error and can be easily resolved.
Edit: Oh, and if I run `bspc query -T' after the rule with desktop= command, it will appears as though all windows are on BOTH desktops. So, both urxvt instances and the dwb instance will be shown under I and III.
Last edited by milomouse (2014-01-05 04:15:44)
Offline
Ok, after last update (01/04/2014, to commit 50c6f101821a4f73040c9ec272472e40b4e0bf75) I am having issues with the `bspc rule -a BLAH desktop=BLAH' command.
Sorry about that: the aforementioned commit introduced a bug which should be fixed by 3250438.
Last edited by bloom (2014-01-05 09:54:11)
Offline
Maybe its been discussed million of times, but i can not get panel to run.
Offline
milomouse wrote:Ok, after last update (01/04/2014, to commit 50c6f101821a4f73040c9ec272472e40b4e0bf75) I am having issues with the `bspc rule -a BLAH desktop=BLAH' command.
Sorry about that: the aforementioned commit introduced a bug which should be fixed by 3250438.
Thank you -- everything appears to be working like normal again. Appreciate the quick response and fix!
Offline
Where did you set your path? Maybe it's some sort of race condition.. not sure why that would be but am out of ideas. It should start... especially if you can start it from the terminal after start up.
I have set the path inside the Zshrc because this is my start shell.
Offline
Hey,
first of all thanks for creating bspwm. I am using it for a month now and I love it! Still I have some questions:
1) What is this "split ratio" I find all over the place?
2) Can I have a specific workspace in monocle mode by default?
3) Let's assume I have 2 windows (like on the left). How do I rearrange them to get the layout on the right?
+-------------------------+ +-------------------------+
| | | | |
| | | | 1 |
| | | | |
| 1 | 2 | --> |-------------------------|
| | | | |
| | | | 2 |
| | | | |
+-------------------------+ +-------------------------+
4) I start my browser (chromium) from my bspwmrc. That means I have something like this in my bspwmrc:
chromium &
[...]
(sleep 1 && /home/jln/.config/bspwm/panel) &
wait
Now when I kill my panel (with `killall panel`) chromium also gets killed. Can anyone tell me what that is, or how I can stop it from happening?
Thanks, senft
Last edited by senft (2014-01-05 18:48:36)
Offline
I noticed one thing. The standard configuration from the panel example starts fine, but if i want to start my "custom" bar i have to run first the example and then the custom one, so is this a bug within bar or just my fault?
Offline
I noticed one thing. The standard configuration from the panel example starts fine, but if i want to start my "custom" bar i have to run first the example and then the custom one, so is this a bug within bar or just my fault?
I don't know if it could help but I have all my confs here https://github.com/Almehdi/dotfiles/tree/master/home .. It shouldn't matter but I have my path set in ~/.profile which is sourced from ~/.xinitrc...
Offline
1000 times: Thank you I'll try it.
Offline
@senft: I can answer about 2.5 of your questions.
What is this "split ratio" I find all over the place?
When bspwm needs to display a new window, one of the existing windows tiles on the screen will be split in half. bspc config split_ratio X lets you change that so that when a tile is split, one of the new tiles can be bigger than the other. Try using 0.40 or 0.60 for X and opening some windows - you will understand right away.
Can I have a specific workspace in monocle mode by default?
I do not think there is a convenient way to do this, but you can try adding something like this to your ~/.config/bspwm/bspwmrc after you have set up your desktops:
bspc desktop --focus ^N
bspc desktop --layout monocle
bspc desktop --focus ^1
where N is the desktop number you care about.
Let's assume I have 2 windows (like on the left). How do I rearrange them to get the layout on the right?
bspc desktop --rotate N, where N is either 270 or 90.
Can anyone tell me what that is, or how I can stop it from happening?
I have no idea! Pretty sure you should lose the wait command, though.
Offline
Just adding to the previous answer:
2) Can I have a specific workspace in monocle mode by default?
You can just
bspc desktop ^1 -l monocle
in your bspwmrc.
4) I start my browser (chromium) from my bspwmrc. That means I have something like this in my bspwmrc:
chromium & [...] (sleep 1 && /home/jln/.config/bspwm/panel) & wait
Now when I kill my panel (with `killall panel`) chromium also gets killed. Can anyone tell me what that is, or how I can stop it from happening?
This look quite weird, is there some specific reason for sleep and wait? I don't really know if they're what's causing your problem, but I think simply
chromium &
/home/jln/.config/bspwm/panel &
is enough in any case. Otherwise I don't really know.
Last edited by Nindwen (2014-01-07 19:21:15)
echo nindwen.blue | cat
Offline
@aoba: thanks! The split ratio is understood now..
For the automatic monocle mode, I went with Nindwen's solution. Thanks anyways!
Let's assume I have 2 windows (like on the left). How do I rearrange them to get the layout on the right?
bspc desktop --rotate N, where N is either 270 or 90.
Ok, that is what I want for that specific example, but that is not exactly what I had in mind. I only want to move one window to the left/right/top/bottom. So for example with 3 windows, I want to go from:
+-------------------------+
| 1 |
|-------------------------|
| |
| 2 |
|-------------------------|
| |
| 3 |
+-------------------------+
to
+-------------------------+
| | |
| | 2 |
| | |
| 1 |------------|
| | |
| | 3 |
| | |
+-------------------------+
In i3 (where I come from) that would have been achieved with the i3-equivalent of a
bspc window -s left
on window "1". But I start to think that it is not as easy in bspwm because it would need to reorder the tree, right?
Regarding the panel/browser issue:
The wait was just an attempt to make it work because I thought that maybe the whole bspwmrc "script" is terminated once the panel gets killed. Didn't work though. I forgot to delete it.
The sleep is to make sure, that the panel is started after xcompmgr, because else xcompmgr for some reason draws a shadow on the panel (dzen2).
Anyways, even if I remove the wait and the sleep it still behaves the same.
@Nindwen: Thanks a lot for you input so far!
Offline
I want to go from:
+-------------------------+ | 1 | |-------------------------| | | | 2 | |-------------------------| | | | 3 | +-------------------------+
to
+-------------------------+ | | | | | 2 | | | | | 1 |------------| | | | | | 3 | | | | +-------------------------+
If the focus is on window 1: window -w down, then you might need to rotate the tree.
If the focus is on window 2: desktop -R 270 && window -R right 90 && desktop -E.
Offline
First I want to say great window manager!
I have a question about dual monitors, before I found bspwm I used herbstluftwm and the tags were independent, in other words you could access one tag from both of the monitors. Is this behaviour possible in bspwm?
Offline
First I want to say great window manager!
I have a question about dual monitors, before I found bspwm I used herbstluftwm and the tags were independent, in other words you could access one tag from both of the monitors. Is this behaviour possible in bspwm?
Not directly; each monitor has its own set of desktops. However, you can move desktops between monitors.
Offline
I'm having troubles starting my chromium in a monocled mode. Following Nindwen's post I've gave it a shot to no avail.
Also, my skype seems to be ignoring the floating rule as well. could someone give me some pointers?
This is my bspwm_rules : http://ix.io/9Mo
Offline
I'm having troubles starting my chromium in a monocled mode. Following Nindwen's post I've gave it a shot to no avail.
Monocle is a desktop layout. Add:
bspc desktop ^2 -l monocle
to bspwmrc, and modify the line concerning chromium so it reads:
rulc -a 'class=="Chromium"' 'desktop=^2'
Also, my skype seems to be ignoring the floating rule as well. could someone give me some pointers?
The line should be:
rulc -a 'class=="Skype"' 'desktop=^3, floating=on'
See the provided example.
I use linux and I dont understand nothing in this post.
Offline
I'm having problems with running the panel with dual monitors.
Monitor 1 is left of monitor 2 and the cursor moves correctly through the monitors and the tags are correct but the panel is on monitor 2 and I want it to be on monitor 1 because monitor 1 is the primary monitor. I have compiled with XINERAMA=1 and I'm using the non-free AMD driver.
This is from my bspwmrc:
bspc monitor DFP4 -f primary
bspc monitor DFP4 -d I II III IV V
bspc monitor DFP3 -d VI VII VIII IX X
EDIT: this solved my issue https://bbs.archlinux.org/viewtopic.php … 6#p1337336
[Mm]*)
# monitor
if [ "$name" = "DFP4" ] ; then
wm_infos="$wm_infos \\s1" # move the main information to the 2nd monitor
fi
;;
Last edited by johnnyponny (2014-01-10 16:39:26)
Offline
3xOSC wrote:I'm having troubles starting my chromium in a monocled mode. Following Nindwen's post I've gave it a shot to no avail.
Monocle is a desktop layout. Add:
bspc desktop ^2 -l monocle
to bspwmrc, and modify the line concerning chromium so it reads:
rulc -a 'class=="Chromium"' 'desktop=^2'
3xOSC wrote:Also, my skype seems to be ignoring the floating rule as well. could someone give me some pointers?
The line should be:
rulc -a 'class=="Skype"' 'desktop=^3, floating=on'
See the provided example.
Thanks.
Lemme throw another question at you (this one doesn't seem to be covered in example)
On my desktop 3 which is dedicated to chats (irc/skype/whatnot) how can I make it so that when weechat starts, it only takes up the left half of the screen?
Offline