LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-20-2011, 07:49 PM   #1
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,217

Rep: Reputation: 176Reputation: 176
Latest Mystery: Firefox Launches LibreOffice.


It has been going on for sometime and is finally starting to get on my nerves.
When I go to close Firefox (5 or 6) by clicking on the X in the upper right hand corner of the frame, LibreOffice (3.4) starts up. Ditto, sometimes, but not always, when I click on "Bookmarks."
I've searched both programs for configuration files that might have been changed, but cannot find anything.
Any ideas greatly appreciated.
Thanks.

Last edited by cwizardone; 08-20-2011 at 07:50 PM.
 
Old 08-20-2011, 08:32 PM   #2
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, Mint
Posts: 7,411

Rep: Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403
Try starting Firefox from a terminal, then exiting it and seeing whether it throws anything into the terminal that might help shoot this trouble.
 
Old 08-20-2011, 10:29 PM   #3
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,217

Original Poster
Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by frankbell View Post
Try starting Firefox from a terminal, then exiting it and seeing whether it throws anything into the terminal that might help shoot this trouble.

Thanks for the reminder.
Here is what happens:

Quote:
bash-4.1$ firefox
Warning: -nologo is deprecated. Use --nologo instead.
Warning: -nodefault is deprecated. Use --nodefault instead.
Warning: -nolockcheck is deprecated. Use --nolockcheck instead.
Warning: -accept=pipe,name=-1470415805;urp; is deprecated. Use --accept=pipe,name=-1470415805;urp; instead.
NOTE: child process received `Goodbye', closing down
NOTE: child process received `Goodbye', closing down
NOTE: child process received `Goodbye', closing down
Now, when "firefox" is enter into the terminal the program fires up and there are no entries into the terminal.
When I click on the 'x' in the upper right hand corner of the border, the 7 lines appear. There is a pause
at,

Warning: -accept=pipe,name=-1470415805;urp; is deprecated. Use --accept=pipe,name=-1470415805;urp; instead.

and then LibreOffice fires up. When I close it the next 3 lines appear.
Thanks, again.

Last edited by cwizardone; 08-21-2011 at 07:07 AM. Reason: Typo.
 
Old 08-21-2011, 01:51 AM   #4
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,373

Rep: Reputation: 164Reputation: 164
I had a similar problem a few days ago. Any Icon I clicked on the desktop launched Libreoffice. I was having a WTF moment for sure. I had upgraded FF, TB, and Seamonkey, and -solibs. A reboot solved the problem, but I have no clue what caused it.
 
Old 08-21-2011, 07:12 AM   #5
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,217

Original Poster
Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by mlangdn View Post
I had a similar problem a few days ago. Any Icon I clicked on the desktop launched Libreoffice. I was having a WTF moment for sure. I had upgraded FF, TB, and Seamonkey, and -solibs. A reboot solved the problem, but I have no clue what caused it.
Ah, so I'm not going crazy! Thanks.
I usually shut the machine down at night or when I'm away from it for several hours at a time, but the problem remains when it is restarted.
Thanks, again.
 
Old 08-21-2011, 08:39 AM   #6
NoStressHQ
Member
 
Registered: Apr 2010
Location: Lausanne - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware Leet - 32/64bit
Posts: 271

Rep: Reputation: 87
Not sure at all, but just a thought: what if your machine has been compromised somehow, and you were not launchin directly firefox but some kind of "placeholder" script? (That doesn't fit with the re-install solution that seemed to work but it can be a way to look).

What actually is launched when you type firefox ? The firefox binary or some script ?

A command like these:

Code:
$ for eachLocation in $(whereis -b firefox | cut -d\: -f2) ; do file "$eachLocation" ; done
or
Code:
$ which firefox
...might help to give some hints.

Just an idea...

Edit: Added the 'which' command too...

Last edited by NoStressHQ; 08-21-2011 at 08:43 AM.
 
Old 08-21-2011, 08:43 AM   #7
wigry
Member
 
Registered: Jul 2004
Distribution: slackware
Posts: 217

Rep: Reputation: 52
Or even simpler command:

Code:
which firefox
And if in doubt, you can also go and look inside the firefox executable and see what it does provided, its a script.
 
Old 08-21-2011, 08:57 AM   #8
NoStressHQ
Member
 
Registered: Apr 2010
Location: Lausanne - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware Leet - 32/64bit
Posts: 271

Rep: Reputation: 87
Quote:
Originally Posted by wigry View Post
And if in doubt, you can also go and look inside the firefox executable and see what it does provided, its a script.
Well yes, sorry, I had only a ssh access to a headless server opened, so I couldn't actually test what is the firefox file. So if it's a script, reading it might gives some clues too.

(Btw, I saw you sent the which command at the same time I edited my message: yes it's complementary but not really a simpler substitute, the two lines have slightly different purposes. Just to say, nothing important tho )
 
Old 08-21-2011, 09:15 AM   #9
gezley
Member
 
Registered: Sep 2009
Location: Ireland
Distribution: Slackware64, NetBSD
Posts: 490

Rep: Reputation: 207Reputation: 207Reputation: 207
Just to confirm that I have had this problem on occasion as well. Never paid much attention to it as I thought it was a bug. Using the latest Firefox and Alien Bob's LibreOffice 3.4.2
 
Old 08-21-2011, 01:29 PM   #10
speccy
Member
 
Registered: Dec 2008
Location: Portsmouth, UK
Distribution: slackware
Posts: 39

Rep: Reputation: 31
Deleting the libreoffice plugin from /usr/lib/mozilla/plugins/ fixed it for me.
 
1 members found this post helpful.
Old 08-21-2011, 01:35 PM   #11
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,217

Original Poster
Rep: Reputation: 176Reputation: 176
Running the two different commands in a terminal returns the following:

Quote:
~$ which firefox
/usr/bin/firefox
~$ for eachLocation in $(whereis -b firefox | cut -d\: -f2) ; do file "$eachLocation" ; done
/usr/bin/firefox: symbolic link to `/usr/lib64/firefox-6.0/firefox'
/usr/X11R6/bin/firefox: symbolic link to `/usr/lib64/firefox-6.0/firefox'
/usr/bin/X11/firefox: symbolic link to `/usr/lib64/firefox-6.0/firefox'
/usr/X11/bin/firefox: symbolic link to `/usr/lib64/firefox-6.0/firefox'
 
Old 08-21-2011, 02:14 PM   #12
NoStressHQ
Member
 
Registered: Apr 2010
Location: Lausanne - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware Leet - 32/64bit
Posts: 271

Rep: Reputation: 87
Well I can't do a lot about that, but this means it actually launches the "executable" (expected to be a script) in '/usr/lib64/firefox-6.0/firefox'

Maybe you can try to read it if you see something weird in it, if it seems legit.

Btw, speccy talked about a plugin, that could make sense too (as it seems to be a kind of binding between firefox and libreoffice).

Edit: A quick reading of mine, it seems that the script is a kind of "launcher", it searches for the binary for firefox, based on some env, checked some debug flags/arguments, and then simply call the found binary, passing the other args to it...
The broken plugin option might be the right one, unless you see something really bad in your script.

Last edited by NoStressHQ; 08-21-2011 at 02:21 PM.
 
1 members found this post helpful.
Old 08-22-2011, 12:44 AM   #13
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Rep: Reputation: 72
I had this issue with midori for a long time. Whenever I would start midori (regardless of whether I launched it from the terminal or my fluxbox menu) Libreoffice would start up.

I never fixed it. I just stopped using midori because of it

Glad to see it might not have been a pebkac though
 
Old 08-22-2011, 12:58 AM   #14
NoStressHQ
Member
 
Registered: Apr 2010
Location: Lausanne - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware Leet - 32/64bit
Posts: 271

Rep: Reputation: 87
Quote:
Originally Posted by trademark91 View Post
Glad to see it might not have been a pebkac though
Well, somehow all problems exist between keyboard and chair: if it's not the end-user, it might be the admin or the developer himself...
 
Old 08-24-2011, 07:44 AM   #15
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,217

Original Poster
Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by speccy View Post
Deleting the libreoffice plugin from /usr/lib/mozilla/plugins/ fixed it for me.
I found an openoffice plugin, deleted it, and the problem is solved.
Thanks!
 
  


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
HOWTO Install Latest Firefox and Libreoffice in Debian Squeeze m_yates Debian 17 10-03-2011 08:59 AM
Firefox not opening ODT files in Libreoffice comcastuser Linux - Software 19 04-30-2011 06:18 AM
LXer: LibreOffice Rolls Out the Updates, Latest 3.3.2 LXer Syndicated Linux News 0 03-25-2011 11:11 PM
LXer: The Document Foundation launches LibreOffice 3.3 LXer Syndicated Linux News 0 01-25-2011 07:30 AM
Fake News: Microsoft launches its latest way to infuriate Internet users Jeebizz General 3 09-16-2010 08:19 PM


All times are GMT -5. The time now is 10:02 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