LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-01-2010, 07:22 PM   #1
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
*box window managers


I decided to try the *box window managers.

Anyway, is there a way to have Openbox do Sloppy Focus (i.e. focus window on mouse over and do not raise on click)?

And it seems that Blackbox thinks my two monitors are one big monitor. It even maximizes windows across the two monitors!
 
Old 04-02-2010, 06:16 AM   #2
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Rep: Reputation: 41
For Openbox, try installing obconf, as I believe there's a means in there to allow for sloppy focus.
I can't say much on Blackbox, having not used it, I find Fluxbox more reliable, but Openbox is my preference.
 
Old 04-02-2010, 06:22 AM   #3
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
http://openbox.org/wiki/Help:MouseFocusExample
 
Old 04-02-2010, 06:34 AM   #4
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
see here too

http://urukrama.wordpress.com/openbox-guide/

http://wiki.archlinux.org/index.php/Openbox
 
Old 04-02-2010, 08:14 AM   #5
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Still didn't find anything helpful.

I can get windows to focus on mouse over, but I do not want them to raise when clicked.
 
Old 04-02-2010, 08:44 AM   #6
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
EDIT: Sorry, raise when clicked is your issue. Hmm....

The Raise on Focus option doesn't work?

Code:
<focus>
  <focusNew>yes</focusNew>
  <!-- always try to focus new windows when they appear. other rules do
       apply -->
  <followMouse>yes</followMouse>
  <!-- move focus to a window when you move the mouse into it -->
  <focusLast>yes</focusLast>
  <!-- focus the last used window when changing desktops, instead of the one
       under the mouse pointer. when followMouse is enabled -->
  <underMouse>yes</underMouse>
  <!-- move focus under the mouse, even when the mouse is not moving -->
  <focusDelay>200</focusDelay>
  <!-- when followMouse is enabled, the mouse must be inside the window for
       this many milliseconds (1000 = 1 sec) before moving focus to it -->
  <raiseOnFocus>yes</raiseOnFocus>
  <!-- when followMouse is enabled, and a window is given focus by moving the
       mouse into it, also raise the window -->
</focus>
 
Old 04-02-2010, 08:46 AM   #7
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
Ok, raise on click is a mousebinding. In your rc.xml, look for
Code:
<context name="Client">
    <mousebind button="Left" action="Press">
      <action name="Focus"/>
      <action name="Raise"/>
    </mousebind>
And comment out or remove the Raise action name.
 
1 members found this post helpful.
Old 04-02-2010, 08:52 AM   #8
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by reed9 View Post
Ok, raise on click is a mousebinding. In your rc.xml, look for
Code:
<context name="Client">
    <mousebind button="Left" action="Press">
      <action name="Focus"/>
      <action name="Raise"/>
    </mousebind>
And comment out or remove the Raise action name.
That works great! I changed it to:

Code:
<context name="Client">
    <mousebind button="Left" action="Press">
      <action name="Focus"/>
      <!-- <action name="Raise"/> -->
    </mousebind>
 
Old 04-02-2010, 07:59 PM   #9
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
I found that windows still raised when the middle and right buttons were clicked. But they had bindings right below this one and I commented out the raise part of them, too.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Window Managers thorn168 General 21 05-10-2006 11:37 AM
Window Managers vs Window Shell Environments DJOtaku Linux - General 7 08-09-2005 12:43 PM
window managers jonhewer Linux - Newbie 14 05-08-2005 03:43 AM
Window Managers vs. Desktop Managers mikeshn Linux - General 4 02-11-2004 11:31 AM
Window Managers rsarson Fedora 5 01-14-2004 10:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration