LinuxQuestions.org
Help answer threads with 0 replies.
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 04-15-2004, 04:33 AM   #1
fibbi
Member
 
Registered: Sep 2003
Distribution: gentoo
Posts: 101

Rep: Reputation: 16
mozilla lockfile deletion


Hey everyone, i got fed up with mozilla prompting me for my profile every time i launched it with the kde menu (and those launch scripts were sucking too), so i just edited /usr/bin/mozilla to include a line to kill the lockfile if there is one. I can't think why mozilla has this file, since creating a new window from within the interface creates a duplicate process anyway, so it seems the same. However, I'm wondering if i'm doing something that could destroy or corrupt my profile data.

Is this safe?



Thanks,
-fibbi
 
Old 04-15-2004, 12:13 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
You may (eventually) find problems with the web cache, and if you modify your bookmarks in one window, then the other will overwrite them when it closes.

It's possible to get mozilla to either open a new window, or a new tab when you try to open it while it's already running: launch the following instead of 'mozilla':

#!/bin/bash
/path/to/mozilla -remote "openURL($@, new-tab)" || /path/to/mozilla $@

Replace 'new-tab' with 'new-window' if required.

Dave

Last edited by ilikejam; 04-15-2004 at 12:16 PM.
 
  


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
File Deletion mhkhalqani Linux - General 1 10-12-2005 04:08 AM
deletion of a partition newusermike Linux - Newbie 1 09-29-2005 09:06 PM
Can't add users... vipw lockfile? jordan0 Linux - Newbie 1 09-29-2003 04:48 PM
vm-pop3d Failed to create lockfile mocny Linux - General 0 08-18-2002 04:42 AM
lilo deletion Jeepee Linux - Newbie 6 07-08-2002 01:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:38 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration