You are not logged in.
I cannot simply refocus the window below the cursor by moving the mouse.
Unfortunately, focus_follows_mouse is based on enter notify events and not on motion notify events.
I'll see if I can fix this once I'm done with sxhkd.
Offline
Alright. Thank you for having a look a it.
One more question: On the root window the cursor always appears as a black cross. Is this the intended behavior or is there a problem with my configuration?
Offline
One more question: On the root window the cursor always appears as a black cross. Is this the intended behavior or is there a problem with my configuration?
You can change the aspect of the pointer over the root window with xsetroot.
You could add this line in you ~/.xinitrc for example:
xsetroot -cursor_name left_ptr
Offline
I'm trying to use bspwm but whenever I run bspc I get this error:
failed to connect to socket
This obviously affects also sxhkd wm-related shortcuts which are not working at all.
Offline
Offline
cippaciong wrote:I'm trying to use bspwm but whenever I run bspc I get this error:
failed to connect to socket
What's the output of
ls -l /tmp/bspwm-socket "$BSPWM_SOCKET"
?
ls: cannot access /tmp/bspwm-socket: No such file or directory
ls: cannot access /tmp/bspwm-socket: No such file or directory
P.S. BSPWM_SOCKET is set to /tmp/bspwm-socket in my .xinitrc just to avoid the relative warning.
Last edited by cippaciong (2013-01-06 14:24:48)
Offline
ls: cannot access /tmp/bspwm-socket: No such file or directory
I've added some error checking code to the server: normally bspwm should now fail with a socket related error if you try to run it.
Last edited by bloom (2013-01-06 17:47:51)
Offline
I have removed the code related to the mouse bindings. You now have to define those bindings via sxhkd.
Example:
super + @button{1,2,3}
bspc mouse {move,focus,resize}
The mouse actions are entered and left by mouse released events.
Offline
cippaciong wrote:ls: cannot access /tmp/bspwm-socket: No such file or directory
I've added some error checking code to the server: normally bspwm should now fail with a socket related error if you try to run it.
I think the problem was that xinit actually started X (wallpaper too) but not bspwm. I managed to open a terminal and run bspwm manually. How should I run bspwm from .xinitrc? I used
exec bspwm
but I saw in your dotfiles that you use the "wm" script
Offline
sxhkd is now required to be able to trigger the track_pointer message.
You might want to use the following hotkeys in sxhkdrc:
super + button{1,2,3}
bspc grab_pointer {move,focus,resize}
super + !button{1,3}
bspc {track_pointer,track_pointer} %i %i
super + @button{1,3}
bspc {ungrab_pointer,ungrab_pointer}
focus_follows_mouse is now known as focus_follows_pointer and is based on pointer motion events, which should fix the last reported issue regarding this setting.
Offline
You can change the aspect of the pointer over the root window with xsetroot.
You could add this line in you ~/.xinitrc for example:
xsetroot -cursor_name left_ptr
Thank you, that’s really useful information.
I have just updated bspwm and started to use sxhkd. The new "focus_follows_pointer" setting works perfectly e.g. for multiple rxvt-unicode windows, but it behaves like the old "focus_follows_mouse" setting e.g. with a Thunderbird window and the corresponding address book. Apart from that, I love to see bspwm impoving so fast.
Offline
The new "focus_follows_pointer" setting works perfectly e.g. for multiple rxvt-unicode windows, but it behaves like the old "focus_follows_mouse" setting e.g. with a Thunderbird window and the corresponding address book.
As stated in the commit comment, I'm aware of that problem.
It can be reproduced with zenity:
Launch a terminal window.
Issue zenity --question.
Put the pointer inside the zenity window.
Give the focus back to the terminal window (by using the keyboard).
Move the pointer inside the zenity window.
What happens is that zenity is not allowing other clients to receive pointer events (i.e. the owner_events of the grab is 0), and no enter notify events are generated.
There might also be a bug in X itself:
https://bugs.freedesktop.org/show_bug.cgi?id=54238
Offline
The compton-shadow branch was merged into master.
The apply_shadow_property will only have an effect if compton is launched with the --respect-prop-shadow option.
I recommend to use the richardgv-dev branch of compton.
Offline
I'm very intrigued by bspwm, but I'm have a lot of difficulty with starting it. Here is my setup:
-Using your default bspwm_autostart (saved as /home/rje/.config/bspwm/autostart). I commented any lines that called applications that I do not have installed.
-Using your wm script (called in .xinitrc like so: "exec /home/rje/bin/wm")
-Using your default sxhkdrc.
bspwm and sxhkdrc are installed via owl.
When I start X, I am left with a blank screen, aside from my background that is set with bgs, and there is no mouse pointer to be seen.
BTW, I really like your work. Very well designed and pleasant to use. Awesome job! (Nice website, too!)
--Rob
Offline
@rennis250
same problem here.
@bloom
great work. but bspwm really needs a good documentation and manual.
"After you do enough distro research, you will choose Arch."
Offline
still does not work
what is default keybind that I should test on?
what will see if one starts bspwm?
"After you do enough distro research, you will choose Arch."
Offline
still does not work
No mouse pointer?
what is default keybind that I should test on?
You should make your own based on the one mentioned in bspwm's README.
what will see if one starts bspwm?
Nothing besides your mouse pointer.
Offline
It must have been working all along, but I was pressing the wrong key combo to start my terminal. All good here! Thanks, bloom!
@taylorchu, make sure to edit the following line in sxhkdrc:
super + ctrl + Return
{urxvtc, urxvtc cd $incoming}
This should be changed to your default terminal. For example,
super + ctrl + Return
{xterm}
Then, make sure that sxhkdrc is in ~/.config/sxhkd and autostart is in ~/.config/bspwm. The sxhkdrc and autostart files should NOT have a "." at the beginning of their filenames.
I've found that when bspwm is started, I receive a blank screen with no mouse pointer, but once a terminal is opened, the mouse pointer appears. This might lead others to believe that the window manager isn't working.
NOTE: Also, make sure that the XDG_CONFIG_HOME envirnoment variable is properly defined and exported at login.
--Rob
Last edited by rennis250 (2013-01-26 19:36:27)
Offline
@taylorchu, make sure to edit the following line in sxhkdrc:
super + ctrl + Return
{urxvtc, urxvtc cd $incoming}
Actually:
super + ctrl + {slash,shift + slash}
{urxvtc,urxvtc -cd "$HOME/incoming"}
This should be changed to your default terminal. For example,
super + ctrl + Return
{xterm}
This should be:
super + ctrl + Return
xterm
Offline
@bloom
super + ctrl + Return
xterm
saves me.
btw, how do you use manual mode by default?
"After you do enough distro research, you will choose Arch."
Offline
Curious... using {xterm} works here. Although, I corrected it and removed the curly brackets (apologies for the typos). Perhaps curly brackets around a single term should be registered as a syntax error, since it's an ambiguity to the parser?
--Rob
Offline
Offline