|
|
Applications and Utilities |
| Info on various useful utilities and applications for Linux.
| |
| Major Topics: General Questions: | |
| [New Answer in "Applications and Utilities"] | |
| 2003-Apr-04 7:56am | |
|
|
Graphics |
|
| |
| Major Topics:
General Questions: | |
| [New Answer in "Graphics"] | |
| 2001-Oct-19 8:08am | |
|
|
What are the available programs for making plots (graphics) in Linux? |
| A nice program is grace, which has an X-windows interface called xmgrace.
It is an outgrowth of xmgr. The home page is
(http://plasma-gate.weizmann.ac.il/Grace/) and there is an
FAQ (http://plasma-gate.weizmann.ac.il/Grace/doc/FAQ.html) to answer
all of your questions!
Examples of graphs generated with xmgrace (postscript files converted to gif files):
* Diagram with shading </~ntg/examples/xmgrace/fermispheres.gif>
* XY plot with arrows and legend
</~ntg/examples/xmgrace/fig_vt_ca40.gif>
* Log-log plot </~ntg/examples/xmgrace/delEoverA-CR.gif>
| |
| [Append to This Answer] | |
| 2001-Sep-09 3:41pm | |
|
|
How do I convert postscript to PDF for NSF proposals (on linux)? |
Summary so far with details below: [This is very much a work in progress!]
1. Make sure you have Ghostscript 6.0 or later
and tetex-dvips 1.0.6 or later.
2. Make sure that any figure postscript files use Type 1 fonts only
(I don't have a conversion plan yet if they don't!).
3. To convert file.dvi to an appropriate file.ps:
dvips -Ppdf -j0 -G0 -o file.ps file.dvi
4 To convert the resulting file.ps (large!) to file.pdf:
ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 \
-dSubsetFonts=true -dEmbedAllFonts=true file.ps file.pdf
The general NSF instructions are: http://www.fastlane.nsf.gov/a1/pdfcreat.htm. rpm -q ghostscript rpm -q tetex-dvips
Here is what NSF has to say about Ghostscript:
<http://www.fastlane.nsf.gov/a1/pdfcreat.htm#Ghostscript 6.0 or higher> ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 \
-dSubsetFonts=true -dEmbedAllFonts=true
It is important to configure dvips to use Type 1 fonts. The NSF
instructions to do this are http://www.fastlane.nsf.gov/a1/pdfcreat.htm#DVIPS. dvips -Ppdf -j0 -G0 -o file.ps file.dvi I've tried this on Linux with Ghostscript 6.0 and it produces pdf readable by the Adobe acroread viewer (AND by xpdf) with what appear to be embeddable type 1 fonts (there is still a discrepancy I'm checking). Ghostscript 6.0 rpms for Linux are available as ftp://ftp.cs.wisc.edu/ghost/aladdin/gs601/linux/ghostscript-6.01-1.i386.rpm and ftp://ftp.cs.wisc.edu/ghost/aladdin/gs601/linux/ghostscript-fonts-6.0-1.noarch.rpm (these links will no doubt be out of date by the time you read this; check http://www.cs.wisc.edu/~ghost/aladdin/ for the latest versions).
The ps2pdf page is
http://www.cs.wisc.edu/~ghost/aladdin/doc/Ps2pdf.htm. | |
| Some other (possibly) useful links [be careful---they go out of date quickly!]:
"Effective Scientific Electronic Publishing" at http://www.cl.cam.ac.uk/~mgk25/publ-tips.html "Using LaTeX to Create Quality PDF Documents for the World Wide Web" at http://www.math.uakron.edu/~dpstory/latx2pdf.html
| |
| [Append to This Answer] | |
| 2000-Apr-21 3:25pm | |
|
|
How do I generate pdf output from LaTeX (including figures)? |
| The optimal solution has been very time dependent!
A good discussion of options is a support page from the University of Minnesota http://www.msi.umn.edu/software/tex/help/pdf.html, which lists three possibilitiies: 1. LaTeX -> dvips -> ps2pdf [not recommended] 2. LaTeX -> dvipdfm [works with embedded eps figures] 3. pdflatex [most reliable; requires conversion of [e]ps figures to postscript]Also see the info at http://www.mpch-mainz.mpg.de/~joeckel/howto_pdf/howto.html.
Find out more about dvipdfm at http://gaspra.kettering.edu/dvipdfm/. There are Linux RPM's available on this page. | |
| [Append to This Answer] | |
| 2001-Oct-19 8:15am | |
|
|
MySQL |
| The MySQL database is open source and free on linux. (It costs money for commercial use on Windows.) 2001-Sep-23 1:26pm furnstahl.1@osu.edu | |
| Subcategories:
Answers in this category: | |
| [New Answer in "MySQL"] | |
| 2001-Sep-23 1:27pm | |
|
|
Where do I find documentation/tutorials for MySQL? |
| There is a list of MySQL documentation at http://www.mysql.com/documentation/index.html, which includes links to the MySQL manual (in html or other formats like PDF), the FAQ and to articles and books about MySQL.
Of the books listed on http://www.mysql.com/portal/books/html/book-1-1.html, I can vouch for MySQL by Paul DuBois. Great book on MySQL and good details on using the database with PHP and Perl.
Of the articles listed on http://www.mysql.com/articles/index.html, I can vouch for "Building a Database-Driven Web Site Using PHP and MySQL," whic is concise yet very helpful. | |
| [Append to This Answer] | |
| 2001-Sep-23 1:32pm | |
|
|
Netscape |
|
| |
| Major Topics:
General Questions: | |
| [New Answer in "Netscape"] | |
| 2001-Sep-06 8:30am | |
|
|
How do I get rid of the Shop button in Netscape? |
| From slashdot: To disable the Shop button, add to your .Xdefaults file: Netscape*toolBar.myshopping.isEnabled: falseTo disable the search/my netscape, and add a Find button: Netscape*toolBar.destinations.isEnabled: false
Netscape*toolBar.numUserCommands: 1
Netscape*toolBar.userCommand1.commandName: findInObject
Netscape*toolBar.userCommand1.labelString: Find
Netscape*toolBar.userCommand1.commandIcon: Find
Netscape*toolBar.search.isEnabled: false
Alternative method:
Put this line in your preferences.js file:
user_pref("browser.chrome.disableMyShopping", true);
2000-Feb-23 1:02pm furnstahl.1@osu.edu | |
| [Append to This Answer] | |
| 2000-Feb-23 1:02pm | |
|
|
Why do apostrophes on some web pages appear as question marks in Netscape? |
| A detailed response is given at http://www.fourmilab.ch/webtools/demoroniser/. Here are some short answers from DejaNews:
Answer 1:
Answer 2 suggests sending a letter to the page owner:
I doubt your goal is to limit your audience, but this is what you have in effect done. My guess is that you
are using an on-line publishing tool provided by Microsoft, or at least running on their systems. In so doing, you have unwittingly fallen prey to Microsoft's recently revealed stated goal of killing HTML by the
"embrace/extend/extinguish" method. Illegal characters are just the start of these intentional
incompatibilities. See http://www.fourmilab.ch/webtools/demoroniser/ for details. | |
| [Append to This Answer] | |
| 2000-Mar-22 2:02pm | |
|
|
How do I get Netscape to automatically pop up gv (or ghostview) when I click on a postscript file? |
1. Under the Edit menu, select Preferences.
2. When the Preferences window pops up, select Navigator (you need
to click on the triangle to the left) and then Applications.
3. You can scroll through the application list. Find the one that
says "postscript document". Click on it and push the "edit" button.
(If there isn't one, choose "new" and fill in the info in step 4.)
4. The information at the top should be something like:
Description: postscript document
MIME Type: application/postscript
Suffixes: ai, eps, ps
5. Select "Handled by" and put
gv %s
in the box (the %s passes the file to gv).
6. Click ok until you're back to where you started!
2000-Apr-05 11:01am furnstahl.1@osu.edu | |
| [Append to This Answer] | |
| 2000-Apr-05 11:01am | |
|
|
|
| Questions and answers related to using PDF files on Linux.
| |
| Subcategories:
Answers in this category: | |
| [New Answer in "PDF"] | |
| 2003-Apr-04 7:56am | |
|
|
Acrobat Reader ("acroread") |
|
| |
| Subcategories:
Answers in this category: | |
| [New Answer in "Acrobat Reader ("acroread")"] | |
| 2003-Apr-04 8:07am | |
|
|
How do I set a default printer for Acrobat Reader (acroread)? |
| One choice is to set it in your .Xdefaults file, which lives in your home directory. You can specify all sorts of defaults for Acroread (or any other X-Windows application) in this file. (I think another choice is to use the .acrorc file, but I haven't tried it out. The commands are probably the same with out the *acroread at the beginning.)
To change your default printer to "/usr/bin/lpr -Psmith4035/duplex", which will print on the Smith4035 printer using duplex mode (this assumes you are using CUPS to print), add this line anywhere in your .Xdefaults file (which is just a text file): *acroread*lprCommand:/usr/bin/lpr -Psmith4035/duplexIf you want a different default print command, just change the command after the colon. A list of X "resources" (like *lprCommand) should have come with your Acroread installation. On my system, this file is: /usr/local/Acrobat5/Reader/intellinux/app-defaults/AcroRead 2003-Apr-04 8:18am furnstahl.1@osu.edu | |
| [Append to This Answer] | |
| 2003-Apr-04 8:18am | |
|
|
How do I make Acroread start up with a larger window? |
| One choice is to set it in your .Xdefaults file, which lives in your home directory. You can specify all sorts of defaults for Acroread (or any other X-Windows application) in this file. (I think another choice is to use the .acrorc file, but I haven't tried it out. The commands are probably the same with out the *acroread at the beginning.)
To adjust the default size of the window in which the text appears (which is called the "document shell", add these lines anywhere in your .Xdefaults file (which is just a text file): *acroread*documentShell.width:800 *acroread*documentShell.height:950which in this case sets the window to be 800 pixels wide and 950 pixels high. If you want a different default size, just change the 800 and 950. If you're not sure what numbers to use, start up Acroread and manually resize the window to the size you want. Then, in a terminal window, type: xwininfoat the prompt. You'll be told to click your mouse in the window of interest; click in the Acroread window. You'll get a lot of information about what is displayed, including the Width and Height. These are the numbers to put in your .Xdefaults file. A list of X "resources" (like *lprCommand) should have come with your Acroread installation. On my system, this file is: /usr/local/Acrobat5/Reader/intellinux/app-defaults/AcroRead 2003-Apr-04 8:17am furnstahl.1@osu.edu | |
| [Append to This Answer] | |
| 2003-Apr-04 8:17am | |
|
|
How do I read PDF files on a linux machine? |
| Two PDF viewers for Linux are:
xpdf --- which should already be on your machine acroread --- the official pdf viewer from Adobe. You can find RPM's from http://rpmfind.net/linux/rpm2html/search.php?query=acroread. 2001-Sep-23 1:23pm furnstahl.1@osu.edu | |
| [Append to This Answer] | |
| 2003-Apr-04 7:56am | |
|
|
Printing |
|
| |
| Major Topics:
General Questions: | |
| [New Answer in "Printing"] | |
| 2000-Mar-23 11:17am | |
|
|
How do I print to a remote printer? |
| Configure your printer using linuxconf or printmandrake.
On the machine hosting the remote printer, you need to add the names of machines allowed to print to the /etc/hosts.lpd file (you may need to create it).
Just put one address (e.g., campbell.mps.ohio-state.edu) on each line. | |
| [Append to This Answer] | |
| 2000-Mar-23 11:20am | |
|
|
How do I synchronize my clock to a network (atomic) clock? |
You can use the ntp or xntp daemon. * get a current ntp rpm (e.g., ntp-4.0.99k-4.i386.rpm)
and install it
* in /etc/ntp.conf, comment out the server entries and replace with
local server ip addresses. The lines (near the top) should be:
#server 127.127.1.0 # local clock
#fudge 127.127.1.0 stratum 10
server 128.146.37.10
server 128.146.38.12
* make sure that /etc/rc.d/init.d/ntpd points to the correct function
library (/etc/rc.d/init.d/functions instead of /etc/rc.d/functions).
This may be distribution/version dependent. Just check that it points
to the correct place.
* /etc/rc.d/init.d/ntpd restart
* check /var/log/messages to see if it is working
2001-Oct-16 3:23pm furnstahl.1@osu.edu | |
| [Append to This Answer] | |
| 2001-Oct-16 3:23pm |
| Previous: |
|
| Next: |
|
| ||||||||||