texlive-latex-extra
texlive-fonts-recommended
This is a brief overview of how to print on Unix/Linux systems. For additional information on some of the commands mentioned, see the man page (i.e. run: man program) for that program. Many Unix programs will look for a "PRINTER" environment variable when determining a default printer, and you may wish to set this variable in your .login to a printer that is near you.
Historically, there have been two primary ways to print under Unix/Linux, the BSD and System V printing systems. Some commonly-used commands in each system:
The BSD commands are the default commands on Linux hosts, and are available in the directory /usr/ucb on Solaris hosts and /usr/bsd on IRIX hosts.
The System V commands are the default commands on Solaris and IRIX hosts.
There is also a set of Kerberized BSD printing commands available on every Facilitized Unix host.
See the Unix man entries for these commands for additional usage information.
lpr -Pprinter file
lpq -Pprinter
lprm -Pprinter job-id
See the Unix man entries for these commands for additional usage information.
lp -d printer file
lpstat -p printer
cancel job-id
The cancel command also provides several other options for cancelling print jobs. The job-id is the one printed by lpstat, not the "request id" printed out by the lp command.
The commands klpr, klpq, and klprm provide Kerberized equivalents to the BSD printing commands. These commands also support some additional options. For example, the command:
klpr -Pprinter@host file
would print the given file to the given printer, where host is that printer's spooler host. This can be useful if the remote printer is not in your /etc/printcap.
One can use the enscript command to print formatted output of ascii files. See the man page for the extensive argument list.
The psnup command can perform transformations on Postscript files, such as rotating pages and printing multiple pages of a document on a single sheet of paper. pslpr is another program that can perform some transformations on Postscript.
The process involves:
Messed up your panels in Gnome? Maybe your new to Ubuntu and accidentally deleted items or the panel itself and now you can't figure out how to get it back.
Sure, you can add a new panel and rebuild it by adding the items back on the panel.
Instead of going through the trouble, there is an easy fix that will restore your panels back to their default settings quickly.
Open up a Terminal window, by clicking on Applications \ Accessories \ Terminal. Or, if you deleted the top panel and cannot access the menus, just press ALT+F2 and in the run dialog box, type gnome-terminal then click on Run.
You can also browse for applications, such as Terminal from the Run window, by clicking on the arrow icon next to 'Show list of known applications" and browse for Terminal.
Once the Terminal window opens, enter the following command at the prompt:
gconftool-2 – -shutdown
(Note: There should be no spaces between the two dashes before shutdown.)
EDIT – Reader nickrud has suggested a better method instead of shutting down gconfd. Instead use the following command (thanks nickrud!)
gconftool – -recursive-unset /apps/panel
(Remember: There should be no spaces between the two dashes before shutdown.)
Then enter the next command:
rm -rf ~/.gconf/apps/panel
And enter one more command:
pkill gnome-panel
That's it!
Both top and bottom panels will appear (if missing) with their default settings. Now you can customize them to your preference and get on with using Ubuntu.
NOTE: This method will work in Gutsy Gibbon (7.10) and Hardy Heron (8.04) version of Ubuntu.
From:
Takeaway: Deleting files in Linux usually pushes you to the point of no return, with no hope of retrieving any files you may have accidentally deleted. But there is a way to get deleted files back, thanks to the freeware utility libtrash.
View Full Version : Launchd, rsync ssh problem
Every paper must state (checklist):