SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
All of a sudden firefox stopped allowing me to open links in a new window (a feature I can't live without). It won't allow me to open links in a new tab either. However, I can open bookmarks in a new window.
The main thing I noticed since this happened is that firefox used to allow me to open the browser once using the default profile, and would prompt me to create a new profile if I tried to launch it again. Now it just keeps launching multiple windows of firefox.
I'm using slack 10 and KDE. I tried using firefox in other XWM's, but it still won't let me open a link in a new window. I've tried creating a new profile, and I even removed and reinstalled the package, but the problem persists. I've searched this site, google, and the firefox forums all to no avail. Can anyone offer any insight into this?
What happens if you press [ctrl]+t ?
Does the middle mouse open a tab?
Have you checked the advanced preferences?
Here's a handy script which allows mozilla to open a new window:
if mozilla-firefox -remote "ping()";
if test "$1" != ""
mozilla-firefox -remote "openURL($1,new-window)";
mozilla-firefox -remote "openURL("http://www.google.co.uk",new-window)";
CTRL + t will open a new blank tab. I've checked through the advanced preferences and some of the ini files in my profile, but still couldn't get it to work. I ran your script and it opened google in a new page. I don't see how this will help me open random links in a new page though.
The way I use it is to have save the script in an empty file, make it executable then put it in my path:
then I make my default browser "firefox-script" and change the command option of my browsers' desktop icon to "firefox-script". If I then click on the desktop icon with a window already open, a new one pops up without asking to create a new profile.
hey, that's a great reference kodon! thanks! quick question: anyone know how to set default browser and email client in fluxbox? i know gnome has a nice little dialogue box, but isn't there a config file somewhere where i can set those? i'd like to be able to click on a link in thunderbird and open the page in firefox...
thanks kodon, that worked like a charm! brilliant!
there is something strange going on though...i went to all the trouble of creating that script, updating my soft link /usr/local/sbin/firefox to point to my new script instead of the old binary, etc etc. but i kept getting errors. eventually i narrowed it down to not actually being able to run mozilla-xremote-client, which is what that script tries to do if firefox is already running
mozilla-xremote-client: error while loading shared libraries: libplds4.so: cannot ope n shared object file: No such file or directory
so the file is there, it's readable and executable, i don't know why mozilla-xremote-client can't find it...but it doesn't really matter, because this whole thing is a waste of time. my firefox already behaves the way i want it to (ie it will open multiple windows on multiple desktops without asking me for a new profile). i have no idea why or how, but it works.
this is from the help menu:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
and as far as i recall, i just did a standard install.
so anyway, i thought that might be interesting to people. and thanks again for the tip on making firefox my default handler for thunderbird, that's one i'm writing down!
hmm...just wondering why you are running it from the installer src directory.
the installer should have installed it somewhere like /usr/local/firefox.
wherever it was installed, you need to edit the 'FF=/usr/local/firefox'
in the Firefox script to point to the correct directory you installed it in.
hmm. i would have downloaded the package straight from mozilla.org, and iirc it isn't a source package, you just untar the directory and run the firefox-installer. i don't remember installing it, since this was many months ago, but a quick slocate firefox confirms that the only directories are
as you might guess, /usr/lib/firefox contains only two directories (plugins and components), and /home/severian/.mozilla/firefox contains only various settings. so either it didn't ask me where to install, or i told it to install in the current directory.
if you're curious, here are the contents of the build directory (Firefox~ and Firefox.unused are that script which I don't need):
well, it's a laptop and i'm the only user, so i installed it as user on purpose. as for the directory, i put all my programs in ~/src, whether they're actually source packages or not. i guess i could rename it ~/applications or something, but that takes longer to type.
do you think that i don't get profile errors because i installed as user (perhaps it knows there's only one profile possible)?
i was just trying to address the error the script generated
i assume it is a problem with the path
you could try adding /home/severian/src/firefox-installer to /etc/ld.so.conf and running ldconfig
i know you said you don't need it...just thought you might want to know why it isn't working