Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have a desktop with Lubuntu installed. I prefer to use focus-follows-mouse mode (which OpenBox supports), but I don't want to raise the window when I click the client area (which, as far as I can tell, OpenBox doesn't support).
So, fine, I see that IceWM does. So, I install the icewm package, edit "/etc/xdg/lxsession/Lubuntu/desktop.conf" and change "window_manager=openbox-lubuntu" to "window_manager=icewm", log out, and log back in. Hey, presto, I'm using IceWM with LXDE.
But, there are two major problems:
There's an extra panel hidden behind the normal LXDE panel, with its own menu, task manager, notification area, etc. It was apparently put there by IceWM. I thought a window manager was just supposed to manage windows? Normally, I would just ignore it, but it's intercepting my shortcut keys.
I can't actually get IceWM into focus-follows-mouse mode. Everything I've read says to put "ClickToFocus=0" and "RaiseOnClickClient=0" in "~/.icewm/preferences", but it ignores anything I put there. How do I get it to do the one thing I installed it to do?
Last edited by Hidden Windshield; 07-12-2012 at 01:57 PM.
Reason: Forgot the desktop.conf part.
Well, I am running LXDE over Openbox on my system here, and I have that exact behavior without issue.
For me, I went to the Start button => Preferences => Openbox Configuration Manager => Mouse, and then on that tab, at the very top is the option to have the focus follow the mouse, and third checkbox below that one is the option "Raise windows when the mouse pointer moves over them". I have that unchecked and it works fine for me.
Do you still have Openbox installed or did you remove it when you loaded IceWM?
Yes, I found all of that. My issue with OpenBox is not raise on mouse over, but raise on mouse click. I want to be able to interact with a window, both mouse and keyboard, without raising it to the top of the stack.
I often *have* to work in certain windows without raising them to the top on my desktops. Especially when one of the windows is a remote session. In a remote session, I usually only need to watch the output of one terminal on the remote system, so I have that at the bottom as I work in other windows over it. Then, when I need to interact with the remote system, I just bring the mouse over the remote session window, it grabs focus on it's own, and I am able to type and move the remote mouse around without bringing the remote session window to the top. Of course, if I have to see the entire remote desktop after starting the session, I just click on the window and it brings it to the top.
My configuration on the 'Mouse' tab of the Openbox Configuration Manager is as follows:
Checked - Focus windows when the mouse pointer moves over them
Unchecked - Move focus under the mouse when switching desktops
Unchecked - Move focus under the mouse when the mouse is not moving
Unchecked - Raise windows when the mouse pointer moves over them
That's very interesting, because whenever I click a window in OpenBox, it raises the window to the top of the stack, period, even though I have the same setup you do. (Well, ok, I have "Double click on the titlebar: Maximizes the window" rather than shading it, but I somehow don't think that would have any effect.)
However, as I was playing around with this, I discovered "~/.config/openbox/lubuntu-rc.xml":
So, I wondered what would happen if I took out those "Raise" actions out of the XML. So I did, and sure enough, it worked. I have no idea how those got there, since I haven't edited that file since the system was installed, except through the OpenBox Configuration Manager.