LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   OpenOffice.org - possible to stop it stealing focus? (https://www.linuxquestions.org/questions/linux-software-2/openoffice-org-possible-to-stop-it-stealing-focus-835914/)

catkin 10-03-2010 07:30 AM

OpenOffice.org - possible to stop it stealing focus?
 
Hello :-)

Is it possible to configure OpenOffice.org or start it with command line options so it does not steal focus?

I don't want to use the window manager to stop all applications stealing focus because mostly they start quickly and I've started them because I want to use them. What makes OOo different is it takes so long from starting it to it displaying a document window that I do other work while waiting and then the OOo document widow pops up and takes keystrokes intended for the other window as input for itself.

Best

Charles

ciotog 10-04-2010 01:59 PM

What window manager are you using? Many of them can be configured to have specific behaviour for certain applications (overriding the default). Certainly KDE and Enlightenment, the ones I'm familiar with.

ciotog 10-04-2010 02:24 PM

Ok I did a bit more research into this, and I believe if you add "StartupNotify=true" to the .desktop file for OpenOffice then it won't steal focus (although I'm not sure why, as this has to do with the "busy" cursor being displayed). I'm sure there are window managers that ignore the .desktop directives, though.

catkin 10-04-2010 09:55 PM

Thanks ciotog :)
Quote:

Originally Posted by ciotog (Post 4117506)
What window manager are you using? Many of them can be configured to have specific behaviour for certain applications (overriding the default). Certainly KDE and Enlightenment, the ones I'm familiar with.

Xfce. As far as I know it does not have this capability.
Quote:

Originally Posted by ciotog (Post 4117534)
Ok I did a bit more research into this, and I believe if you add "StartupNotify=true" to the .desktop file for OpenOffice then it won't steal focus (although I'm not sure why, as this has to do with the "busy" cursor being displayed). I'm sure there are window managers that ignore the .desktop directives, though.

Will try; have run out of time now.

catkin 10-05-2010 11:04 AM

I modified /opt/openoffice.org3/share/xdg/writer.desktop, adding StartupNotify=true and rebooted to ensure re-initialisation but it didn't work. Looking around, I found other *.desktop files including StartupNotify=true for applications that do take focus.


All times are GMT -5. The time now is 03:41 AM.