LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-03-2010, 07:30 AM   #1
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,541
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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
 
Old 10-04-2010, 01:59 PM   #2
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 727
Blog Entries: 2

Rep: Reputation: 43
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.
 
Old 10-04-2010, 02:24 PM   #3
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 727
Blog Entries: 2

Rep: Reputation: 43
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.
 
Old 10-04-2010, 09:55 PM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,541
Blog Entries: 28

Original Poster
Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Thanks ciotog
Quote:
Originally Posted by ciotog View Post
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 View Post
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.
 
Old 10-05-2010, 11:04 AM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,541
Blog Entries: 28

Original Poster
Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prohibit window focus stealing in KDE brianmcgee Linux - Desktop 6 07-27-2008 11:25 PM
Mouse Over Focus Stealing HOW TO TURN OFF Brad.Scalio@noaa.gov Linux - Desktop 3 07-16-2007 02:28 PM
Focus Stealing Across Desktops - Firefox/Thunderbird vtel57 Linux - General 0 05-18-2007 02:06 PM
Focus Stealing Across Desktops - Firefox/T-bird vtel57 Linux - Desktop 0 05-15-2007 12:24 PM
How to stop gaim stealing focus? chrism01 Linux - Software 4 05-26-2006 12:40 AM


All times are GMT -5. The time now is 09:55 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration