Jump to content

annoying mozilla issue


aze
 Share

Recommended Posts

Hi there! :D

 

The sintax you have posted

mozilla -remote "openURL (%s, new-window)"

works fine but it will work only if existis a mozilla window.

I had an Idea to check it before trying to start. But I need you guys to help to create a shell script.

 

if file exists(file:/home/<user>/.mozilla/default/<cacheinfo>)
     mozilla -remote "openURL (%s, new-window)"
else
     mozilla

 

But I'm sure that is a better way to know if mozilla is running but I don't know how to check this.

 

thanks

Edited by aze
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...