You are not logged in.
Pages: 1
Hi great ppl,
long time fan of Focus Follow Mouse, always hated Click to Focus, I've noticed that bl-exit disappears on unfocus ( yad --close-on-unfocus ), which is nice, but annoying if for some reason you move around the mice and it goes Puff before you reach it.
I know how to work around it ( close/hide everything before, just use keyboard or boldly edit the script ) but maybe a test to see how focus is configured on DE might help ?
Thanks.
Offline
Hi great ppl,
long time fan of Focus Follow Mouse, always hated Click to Focus, I've noticed that bl-exit disappears on unfocus ( yad --close-on-unfocus ), which is nice, but annoying if for some reason you move around the mice and it goes Puff before you reach it.I know how to work around it ( close/hide everything before, just use keyboard or boldly edit the script ) but maybe a test to see how focus is configured on DE might help ?
Thanks.
Have you looked at Preferences > Openbox > WM Preferences > Mouse?
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Hi,
yes, my setup is Focus Follow Mouse, and with this setup I get bl-exit menu to disappear if I start it for example from the tray Power Button/Logout/Shutdown and then travel through the desktop to reach it, while having other windows on the route.
--close-on-unfocus should be disabled with this setup.
Offline
So obconf>Mouse>check the first box, "Focus windows when the mouse pointer moves over them", restart openbox or logout/login.
Confirmed, if you move the mouse from any distance from over another window the logout dialog disappears.
Workaround, the logout dialog should open focused, press and hold the Alt key to see the underlined shortcuts, then add the letter to your keyboard input (example, Alt shows S underlined for Suspend, hit 's' while holding 'Alt' to suspend. Logout is already focused, simply hit 'Enter' without pressing 'Alt' to logout, or use 'Alt+l').
Script workaround... Open /bin/bl-exit as root, and delete " --close-on-unfocus" from line #183 so it looks like this...
yad --class=WmanExit --title "Exit" --undecorated --center --on-top --borders=10 --window-icon=system-log-out \
You'll need to back that new script up so you can restore/compare it if bl-exit gets updated.
I haven't tested this, but it should work. I was the one who added --close-on-unfocus in the first place.
Offline
You'll need to back that new script up so you can restore/compare it if bl-exit gets updated.
I would copy /usr/bin/bl-exit to ~/bin and edit that. It will run as the default bl-exit command (unless $PATH has been changed by the user), and won't be affected by future upgrades.
I'm still using the Helium bl-exit python script using this method
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
I would copy /usr/bin/bl-exit to ~/bin and edit that. It will run as the default bl-exit command...
Plus 1.
Offline
I'm still using the Helium bl-exit python script using this method
In fact there is a package bunsen-exit-python you can install to get the Helium-style python app. Installing it will automatically remove the yad version.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )
Offline
damo wrote:I'm still using the Helium bl-exit python script using this method
In fact there is a package bunsen-exit-python you can install to get the Helium-style python app. Installing it will automatically remove the yad version.
Can the OP try this package?
Real Men Use Linux
Offline
^Indeed - that's another option.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )
Offline
yes, my setup is Focus Follow Mouse, and with this setup I get bl-exit menu to disappear if I start it for example from the tray Power Button/Logout/Shutdown and then travel through the desktop to reach it, while having other windows on the route.
--close-on-unfocus should be disabled with this setup.
Isn't the openbox menu calling bl-exit with that parameter?
Or a .desktop launcher?
Why don't you just edit menu.xml or the .desktop file and change that line?
Please use CODE tags for code.
Search youtube without a browser: repo | thread
BL quote proposals to this thread please.
my repos / my repos
Offline
JCN-9000 wrote:yes, my setup is Focus Follow Mouse, and with this setup I get bl-exit menu to disappear if I start it for example from the tray Power Button/Logout/Shutdown and then travel through the desktop to reach it, while having other windows on the route.
--close-on-unfocus should be disabled with this setup.
Isn't the openbox menu calling bl-exit with that parameter?
Or a .desktop launcher?
Why don't you just edit menu.xml or the .desktop file and change that line?
Oh dear, @ohnonot I'm afraid BL must have changed a bit since you last used it. Mostly Arch these days I guess?
The menu is jgmenu so the file to edit would be ~/.config/jgmenu/prepend.csv
(There are no desktop launchers by default.)
But, no, bl-exit is not called from the menu with any --close-on-unfocus option. (There are cli options available to shut down via a terminal. See 'bl-exit --help'.) --close-on-unfocus is an internal option of bl-exit which is passed to yad.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )
Offline
Hi, thanks for the attention.
I know how to work around this, so it is not a problem for me.
I already edited the script as I prefer to get the issue again, so i am alerted that something changed in the script if this reappears.
Yes, I could revert to the python version: I indeed like the Icons, but again I'm not raising an issue here.
I was just suggesting that such behavior can discomfort newcomers.
Offline
Pages: 1