mozilla

How do I print multiple pages per sheet?

If you want to conserve paper or don't want to carry around a lot of paper, it is possible to print multiple pages on a single sheet of paper.

There are two utilities for setting multiple pages on one piece of paper. They are called mpage and psnup

mpage

You can send this output straight to the printer to avoid creating temporary files:

mpage -2 file.ps -Pprinter

See the man page for more info (type man mpage).

psnup

Sometimes mpage will fail on complex PostScript pages.

How do I start Firefox or Thunderbird when it is stating that my 'profile is in use'?

With Netscape:

rm $HOME/.netscape/lock

or

rm ~/.netscape/lock

For Mozilla:

rm $HOME/.mozilla/*/*/lock

or

rm ~/.mozilla/*/*/lock

For Firefox:

rm $HOME/.mozilla/firefox/*/lock
rm $HOME/.mozilla/firefox/*/.parentlock

or

rm ~/.mozilla/firefox/*/lock
rm ~/.mozilla/firefox/*/.parentlock

For Thunderbird:

rm $HOME/.thunderbird/*/lock
rm $HOME/.thunderbird/*/.parentlock

or

What do I do if my screen freezes up when viewing a pdf from mozilla?

It seems to be a bug with Mozilla that is causing screens to freeze.
To unfreeze your screen:
1. Make note of the name of the machine you are on.
2. Log into another machine
3. ssh into the machine that is frozen
4. type

pkill -9 -u your_username mozilla

br> 5. This should kill the mozilla process that is running and your screen should return to normal.
If not, type

Why isn't my Firefox or Mozilla starting up?

Sometimes the Firefox/Mozilla process gets hung up and needs to be restarted.
To do this, at a terminal prompt, type:

pkill -u your_username firefox

or

pkill -u your_username mozilla

Substitute your_username with your username. You can verify that the process is no longer running, by typing:

pgrep -u your_username firefox

or

pgrep -u your_username mozilla

Then try running Firefox again.
If this still doesn't work, then type:
 

pkill -9 -u your_username firefox.

or