Author Topic: LXDE window stealing prevention  (Read 479 times)

Offline jakevoelcker

  • Jr. Member
  • **
  • Posts: 27
LXDE window stealing prevention
« on: August 08, 2012, 11:51:33 AM »
When I used to use KDE there used to be an option called "focus stealing prevention" with various levels from "weak" through "medium" and "strong" to "paranoid". Is there anything similar for LXDE?

In the Openbox Configuration Manager I've unticked the "Focus new windows when they appear" option, but it didn't work: new applications still appear on top when they've finished loading.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: LXDE window stealing prevention
« Reply #1 on: August 08, 2012, 12:02:23 PM »
LXDE uses Openbox as its window manager, but it is not Openbox. Settings for LXDE need to be made through LXDE. The GUI tools are in the menu. The config files can be accessed in the same manner as the openbox config files.     

Having said that, remember that LXDE is not KDE. Expecting it to behave like kde or to be configurable in the same way as kde can lead you into disappointment.     

Offline jakevoelcker

  • Jr. Member
  • **
  • Posts: 27
Re: LXDE window stealing prevention
« Reply #2 on: August 09, 2012, 04:50:09 PM »
Yeah. I'm just looking for a way to stop it from unexpectedly placing a window on top while I'm working on something else.

For example, Synaptic might be doing its thing in the background while I'm browsing the web, and maybe I open a PDF link on a web page. I carry on browsing the web, and without warning 30 seconds later Okular finishes downloading the PDF and pops up, and 2 seconds later Synaptic steals the focus from Okular. At best this is annoying. At worst it's dangerous because I could be about to click a link in Firefox, when Synaptic pops up and has a "apply changes" button in the same place which I then unwittingly click.

Surely there must be a way to stop this? I can't believe every LXDE user puts up with it...?

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: LXDE window stealing prevention
« Reply #3 on: August 10, 2012, 12:06:13 AM »
Virtual desktops. Default is 2. Add more, if you need them. It is easy to run firefox on desktop1 and synaptic on desktop2. I do this all the time - not just with the aforementioned apps. Switching between virtual desktops is as easy as a mouse click on the panel.     

Offline longtom

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3342
  • Satellite Station Africa
Re: LXDE window stealing prevention
« Reply #4 on: August 10, 2012, 03:07:22 AM »
Virtual desktops. Default is 2. Add more, if you need them. It is easy to run firefox on desktop1 and synaptic on desktop2. I do this all the time - not just with the aforementioned apps. Switching between virtual desktops is as easy as a mouse click on the panel.     

.. or use keyboard shortcuts, which I find the most comfortable way to handle this.  I think standard is Ctrl+Alt+left or right arrow.  I changed it to F9 and F10 for next and previous workspace.  It hardly can get easier ...
Regards longtom

PCLinuxOS KDE 32bit
Intel Core 2 Duo E2200 / 2.2 GHz
2GB Ram
Nvidia GT610