Older notes, including a Toshiba Satellite 2410 laptop and a server, are available separately linuxInstallationLessons-toshiba.html
In 2003 I left the world of professionally supported Unix and got my own laptop. I'm now on my second. These are just my notes on things I've learned as a user of less-than-fully-supported (open source) unix distributions from Ubuntu. Some things are written as advice to others; some as notes to myself. I include some notes on recently developed software I like, too.
[2006] For those who are just looking for a good, working operating system but are frustrated with Microsoft, I endorse the following advice (from someone more knowledgeable, 2005):
Vote with your dollars. Price satisfaction is usually pretty relative, so don't be fooled into needing to buy the cheapest deal you can find. But do be strict about buying from someone who is NOT paying Microsoft for an OS that you won't use.
Dec 2007: Here is one good site listing companies selling laptops/computers without paying a Microsoft tax: http://mcelrath.org/laptops.html
They really do exist now (tablet pcs too), likely in your country, but expect that their prices reflect lower sales volumes.
Jan 2008: I have chosen to buy from http://zareason.com (in Berkeley, two blocks from my old house). They have great community- and ecologically- minded origins and practice, low prices, will ship worldwide (I am in Canada and there is not yet any local firm that comes close in quality) and to a different address than your billing address, and have a constructive, open attitude to support and service.
After consulting with them, I got a fully set-up machine fine-tuned for its GNU/Linux operating system, ostensibly with no uncertainties about hardware support, no installation necessary, and even, at my request and for no charge, some customised software installed. Truly, though UNIX is dead, the awkward period in the UNIX GNU/Linux transition years of self-support are coming to an end... gradually. The hassle of having to install your own operating system or search by yourself for compatible hardware, or fend for yourself when something goes wrong, or compromise by buying Windows only to throw it away — these things are no longer necessary. My computer comes without an implicit Microsoft tax, without any MS Windows sticker or MS Windows key (instead, Ubuntu sticker and key) and, as shipped, with possibly glitzier interface and better functionality than either Windows or Macintosh offer.
[2005] Having messed this up once, I suggest the following (to myself, at least) if someone wants help making a Windows / GNU-Linux dual boot system on one hard drive:
The advice above about Partition Magin may be obselete given the modern open source partitioning tools. They are reliable and powerful.
In any case, many distributions still make a terrible default choice for partitioning. If you have space, you should make the following partitions, ie using the manual or advanced options during the partitioning step (May 2010). Where appropriate, choose the most up to date Linux partition type, e.g. ext4.
Despite my enthusiasm for buying a turnkey linux distribution, I have not been satisfied with my first laptop from Zareason. They have a reputation for excellent support and followup which you will not get with big sellers, however this was a bit erratic in my first month due to the company being rather busy rolling out a new product. In February 2008, they apologised for this and for the difficulties I was having and offered for me to return the laptop for an upgrade. That would, however, be a hassle.
Late in 2008 my DVD drive stopped working. Zareason shipped out a replacement. However, after having used the drive probably only a couple of times over the few months since installing the new one, the new one failed the same way. What a hassle.
It's an Asus S62E, with any mods Zareason has done.
https://help.ubuntu.com/community/Medibuntu
This is surprising and frustrating to find. Proprietary software like Skype, etc do not support 64 bit yet!? There is a whole game of installing 32-bit libraries to make things work (for instance, my license for Stata is apparently only for 32 bit machines!!); I am trying to avoid that.
I do not understand the microphones. There is a built in one and there is a jack for a mic. The gnome ALSA level controls refer to “front” and “front mic”. What are these? They work in strange ways, but no combination seems to get the jack to work at all. Something is not the way it should be.
wget http://132.68.73.235/linmodems/packages/scanModem.gz
gzip -d scanModem.gz
chmod 777 scanModem
./scanModem
more Modem/ModemData.txt
to get result:
Then I edited:
Now, after upgrading to Intrepid / as of Oct 2008:
I can no longer log on to a WPA2 wireless network. I've got all the settings right. It worked under Ubuntu 8.04.
two screws fell out the bottom, from the panel I described as squishy. The panel is now really popping out. Zareason says they are sending me replacement screws.
The CD/DVD drive died. Zareason says they are sending me a replacement.
I have a computation process going full-tilt, using one processor at 100%. Yet the CPU frequency is only at 60%. Why? I am forcing both CPUs to scale up to their max, hoping this will speed up the process:
sudo /usr/bin/cpufreq-selector -f 1660000
Maybe safer is:
sudo cpufreq-selector -g performance
sudo cpufreq-selector -g performance &
}
All I need in life for productivity software is the equivalent of Matlab, Adobe Illustrator, LYX, and Maple/Mathematica. Scilab may be an open source excellent alternative (not compatible) to Matlab [Actually, I think extensions (matplotlib) to Python may be a great alternative to Matlab? and easier for data manipulation], and OpenOffice Draw, Scribus, and Skencil each does some of what I need from Adobe Illustrator, but not well enough and not together. xara? If Illustrator was sold for Linux, I would get that. I have licensed versions of Maple and Stata for Linux. Below are comments. It's sort of a dateless blog I suppose, in the modern language.
Proprietary license software is in a separate section, below.
Here's a list of standard favourites, vaguely up to date (but not complete) for Lucid Lynx 10.04: (emacs, latex are implicit in the following...)
apt-get install lyx simple-ccsm auctex offlineimap wine vlc mplayer ubuntu-restricted-extras python-mode python-matplotlib ipython htop gnome-schedule openssh-server openssh-blacklist feh sshfs curl apache2 meld sbackup gnumeric tth latex2html pdftk latex-xft-fonts texlive-latex-extra chktex dvipost inkscape gimp meld traceroute enscript antiword biblatex python-scipy iotop sysstat python-rpy bibtex2html kbibtex jabref powertop rubber biblatex-dw
It seems my python/Stata code now also wants R and rpy, hence some of the latter stuff, above
Other new install tasks:
sudo apt-get update
sudo apt-get install medibuntu-keyring
apt-get install skype
deb http://dl.google.com/linux/deb/ stable non-free
Which one to use?!
Dec 2007: Inkscape is lovely, though it does not really embrace EPS format. When starting from scratch, use this. Built in tutorials are great.
Well, actually scribus can import EPS nicely, with the exception that it turns fonts into polygons, and then can export to SVG, which Inkscape reads natively.
Development seems active in this area, so Inkscape should read EPS soon.
% For some reason, saving from inkscape as .eps gives garbage for one
% of the transparent background constituent images. #:(( But I need to
% use .eps because of the .tex's I'm including (Aghh). Converting
% using command link imagemagick from .svg to .jpeg to .eps makes
% something that is much faster to display in .pdf and which doesn't
% have the bugs.
Didn't I figure out how to automate inkscape to do boudning boxes? yeah.. see matlab/eps
Of course, my favourite software. March 2006: I used the Customize feature in the pull-down Options menu to change backup-behaviour. Emacs now keeps old versions of files all in one place, and keeps only a few versions (under Ubuntu it seemed to be defaulted to dozens).
Why are sdiff etc so poorly documented? Well, emacs' emerge (M-x emerge-files) does nicely; see docs at nongnu.org. This is useful for merging forked versions of code. [2008: oh, no! it's not. Use meld, a lovely gui for diff'ing and merging!! Polished.]
Feb 2006: Searching for good simple backup manager software. Have been using my own Perl script for some years. Found simplebashbu and backup-manager (under Ubuntu? good!) and Ubuntu's “sbackup” (GUI). I am trying the latter. After installation, access through Ubuntu menu system. After recent [2006] improvements to it, the auto SSH works beautifully. It is supposed to erase old files...
The SSH feature seems fussy. A working format for me is:
50 11 * * * find /backup -mtime +6 -exec rm -f {} \;
59 12 * * * rsync -vzr --delete -e ssh /backup grad.econ.ubc.ca:private/backupRsync
May2006: I'm not sure I like sbackup anymore, as bugs aren't getting addressed. Ubuntu seems now to be suggesting keep or backuppc; look at those...
Oct2006: No, sbackup is fixed and active.
Jan 2007: sbackup stopped working in December. It seems to crash when an old backup target directory is empty (and why is it empty? Also sbackup's fault? well, any failed backup crashes future backups)... yet another bug report. Apparently the author is too busy finishing up his Master's.
btw, to make automated ssh/scp/rsync etc (ie so above process doesn't need a password), I use the following (this makes it work both directions; only one is desirable) with a blank passphrase...
typed ssh-keygen -t rsa as that user on “from” machine. Chose no password (ie press enter)
connected from “from” machine to other via ssh ( typing password ) which makes ~/.ssh/known_hosts
copied from “from” machineA ~/.ssh/id_rsa.pub to “to” machineB ~/.ssh/authorized_keys (need to concatenate, or cut/paste, if authorized_keys already exists!)
Outstanding! I don't know how old this is, but this is probably the way to mount all sshfs, cifs, etc mounts. E.g. no more worrying about whether my backup scripts are writing to a local disk because I haven't mounted a cifs one.
Downside: but the reason these things weren't in my fstab is because I don't want to hose the network when I'm not wired (to the network). So I really would like to be able to insert some conditions / scripting in the autofs process..
Also, what happens when it's not available, or when the network connection breaks/changes?
May2006: Oh! The obvious has been invented. Simply mount a foreign filespace through ssh!
So, [In Feisty I needed to log out and back in after installation, but not in Gutsy] in a startup script run:
[actually, in Dapper, I seem to have to do a “modprobe fuse” or to put fuse in /etc/modules in order to get /dev/fuse to exist... This may be a bug.] [Not necessary by Gutsty].
[ql
Existing documentation is weak. So altogether, this seems not so user-friendly yet. There should be a gui to set up mounts and offer to make them permanent, etc. ]:[June 2006] An upcoming version will allow fstab entry for sshfs. However, that is not an advantage. Because I have public keys set up for the remote host already (see above), I can mount the remote system entirely automatically by putting it in a (e.g. Gnome) personalised startup option (through gui). Doing it as a user, not root, means no password is needed. But it means that I have to log in for it to be there, which is not great for root-running backup scripts... It seems that Matthew Hoskins (google) has come to the same conclusions as me. He mentions that this method does not cleanly unmount the volume at shutdown..
Note also that if you don't need command line, you can use Gnome or KDE file browsers to “connect to a server” by ssh; they'll stick the folder right on the desktop and you have gui / drag and drop access.
[The following site-specific problem resolved itself in mid 2007]: For some reason at AERL building at UBC, but not at GC or by wireless, my sshfs connections get dropped (especially if idle for some minutes). If I understand SSH has anti-idle forcing abilities. I could put these on the command line in sshfs with -o, or just put “ServerAliveInterval 15” into my .ssh/config file. I did the latter. Now network is being flakey in general from AERL. Does having a steady ping session going help keep things alive?
Trying to choose a format to use for the next few years for overhead (projected) presentations. Requirements:
So I am [was, 2005] following Matt Welsh's advice, even though — UGH — it involves learning about true-type fonts. It involves some investment in setup, but looks like what I want.
Why is foils.cls so hard to find, and not installed? Why does LYX not carry it any more? Oh.. It seems foils might actually do what I want... so I should get LYX's template to work (someting's wrong!): Aha: Foils has a restrictive license, so tends not to be included in free LATEX distros. See “Latex installation” under the LYX “Help” menu .
Hey, under foils, just modify title environment so it also sets the top-right header to the title, and suppresses the top-right header for the current page! DONE! Ask me for cpblFoils.sty if you want this modification!
Okay, based on Michael Wiedmann's standard catalogue of options for LATEX-based presentation packages, here is some better overview info.
From my point of view, any package which will eliminate material which does not fit on the page defeats much of the charm of the LATEX solution; that is, one must worry about form (how much will fit on a given slide) when one should focus on content. This narrows down the package options:
The following require “begin slide” and “end slide” tags of some form. In general, these seem to be able to look much snazzier, but that doesn't help me:
LYX with foils class with my add-on cpblFoils.sty does everything I want! texpower would likely do any extra glitz.
Making dvi when hyppref is used causes errors. (Oh? I think everything works perfectly using PDF not PDFtex in Lyx – nov 2005).
I think I have the best of both worlds now...
but: the font for math is a bit odd?
-it would be nice to have PDF bookmarks/toc generated for foil headers.
sept 2005: There are some other good tricks, like using the “shortform” option for drafts, and making use of the comment package. See my slidesTemplate.lyx: It can switch to make a compact version of the slides with comments included. (In LYX, the “shortform” option goes in the Layout Document Style Options box)
Nov 2005: But this foiltex does not allow use of bibliography / bibtex with slides. Why? And I can't find discussions of this. Needed modifications so far:
2007: I now use Beamer. Interface within LYX is okay, though I've retreated to LATEX for Beamer.
See the separate section on Beamer, since I have chosen to go that route.
May 2007: It does not meet all my requirements (hm, actually, you can set a single frame to continue if over-full. maybe the whole document?), but I'm thinking of switching to .
In LYX, it seems I need to manually set the page size to 96128~mm for reasonable output!
Emacs: Whizzytex is interesting (view output as you write), but I can't get it working with beamer. I'm also not sure that I've got auctex / beamer working to full effect in emacs.
Themes: boadilla or singapore.
May 2007: At least with LYX 3.4, various things do not work with Beamer, e.g. pdfpages. So I have switched back to good old emacs and latex. pdfpages still does not work, though at least it compiles. The included page appears but then gets overwritten with blankness immediately. With beamer, in each slide you can choose between having continuing frames (ie material not lost if it overruns a page) or having available overlay features. A complete manual for beamer is included on-disk.
Beamer works in either ps (eps graphics) or pdf (pdf graphics) modes, which means I can use figures made with Laprint in Matlab!
2011 Oct: I've been using nothing but Beamer for years now, though rarely/never in LYX.
I've made, in my cpblRef.sty (available on software page), a family of commands for display of a graphic that takes up the whole screen, or the whole screen but respecting Beamer's margins, or the whole screen except for the title and margins, without messing up the aspect ratio of the image.
The calls just look like:
\maxFrameImage{anImage.jpeg} % don't respect margins: use entire screen
\titledFrameImage{My frame's title}{anImage.jpeg} % respect margins, and include a title
Mostly, I've given up on this. But for a course, I want to have the syllabus TOC appear in an article, while the slides are made into beamer class. Shall I redefine some “subsubsections” into slides?
Python script?
Actually, see the beamer manual for its beamerarticle.sty to use under article.cls. But currently I have a problem with this, due to the modification I've made for full-screen images (above).. I have to iron that out. I'm using the handout mode just now. (Jan 2009).
2011 Oct: I think it may be best not to use BibTEX in Beamer. Just include things by hand. I can't remember why (but I think it fails somehow).
Under “Help”, LYX gives info on current LATEX installation. Nice. Followed its advice to install cv.cls in my user space. I ought really to have installed foils in my user space, since it doesn't come with open source. [I think I have moved from Foils in LYX to Beamer in LATEX – 2007, though clearly some people do alright with Beamer in LYX]
For making tables, if you want to have horizontal lines per cell, turn “multicolumn” on individually in each cell.
Macros in Lyx are a pain. You cannot define commands outside math environment. I guess I failed to get the template thing working properly!? So here was my solution: I put the latex macros into one file (in the appropiate place in ~/texmf/tex) and redefined them for lyx in another file.
{
lyx ${1} ~/latex/lyx/lyxMacros.lyx &
}
Feb 2005: Ack. a bug in Lyx? Can't get macros which use mathbb to work in foils. works when exported to latex. :( Solution: including “\usepackage[cspex,bbgreekl]{mathbbol}” seemed to solve it.
Nov 2005: As general policy, put new style bits into the “preamble” sections of lyx layout files or .inc files for layouts, rather than having separate LATEX style files... I'm making comment, foils, and econ paper styles.
In Document layout, choose natbib: that way, you can use the different kinds of citations, e.g. noun or parenthetical etc.
Please tell me how to get them to work. LYX uses latex2html to make its html output, and hyperlinks do not work.
I read somewhere (but it doesn't help):
*All* documents that make significant use of hyperlinking should \usepackage{html} when being translated into HTML using LATEX2HTML. That is a general rule for which there are no real exceptions, in normal LATEX usage.
If you're using pdflatex (not latex), then you want the package pdfpages. Brilliant.
How do I make an underbar that looks just like \bar in math mode? The closest is the ushort.sty package, but its \ushort is not the same width nor thickness as \bar.
How is it possible that in 2007 it is (still) necessary to put the following line
\usepackage[pdftex]{graphicx}
in order for pdftex to use my local paper size (letter) rather than a4?? (or is that just with the resume package?)
May 2010: Indeed, how can it be in 2010 that the same problem exists?! And the above line doesn't work for me now. Using
2012: After upgrade to 12.10, I found that including geometry package without the letterpaper option gives A4. I just tried on 12.04 and it seems using geomtry doesn't mess up there.
I have a separate web page on LATEX lessons. (Search/google for latex and CPBL).
I put some LATEX style files from texslides in my texmf directory (apparently the structure here has to mirror that of the system texmf dir??) and used
I really do not know.
2012: update: The following seems to produce html with macros substituted, etc, etc!
http://www.tug.org/applications/tex4ht/mn-commands.html
for more, e.g. oolatex (resulting .odt made libreoffice barf!!) or one for MS word..
2012 update: what about pandoc?
Tables ! A lack of a great GUI latex table editor is a problem. Tables seem the reason not to use LATEX, and also the reason not to use the alternatives (office suites!?. Yuck!)
\begin{longtable}{ccc}
\caption{Title of your table} \\
Header of first column & Header of second column \\
\endhead
Table cell 1, 1 & Table cell 1, 2 \\
Table cell 2, 1 & Table cell 2, 2
\label{label-name}
\end{longtable}
\end{landscape}
\resizebox{!}{10pt}{\begin{tabular}{|l|c|} \rowcolor[gray]{.9}[0pt][0pt] one&two\\ \rowcolor[gray]{.5} three&four \end{tabular} }
\begin{tabular}{|l|c|c|c|} one&two& three\cellcolor{cSignifOne}&four \end{tabular}
\setlength\tabcolsep{6pt} %6pt is default!
\definecolor{cSignifOne}{rgb}{.92,1,.92}
\begin{tabular}{|l|c|c|c|} one&two& three\cellcolor{cSignifOne}&four \end{tabular}
\definecolor{cSignifOne}{rgb}{.92,1,.92} \newcommand{\greenbox}[1]{\begin{tabular}{@{}c@{}}\rowcolor{cSignifOne}[0pt][0pt]#1\\\end{tabular}}
Here are two more ideas from usenet: you can either overwrite the overhang with a \columcolor or \rowcolor-command or set \tabcolsep to a smaller value:
\begin{tabular}{|c>{\columncolor{white}[1pt][1pt]}cc|} one&\green two &three\\ a & b & c \end{tabular}
I have .tex files containing \tabular environments that I include in both an article (full size) and, for presentations, in beamer (fonts are very small). I have set it so that some text I need small uses a \smaller command, but that does not work (using {relsize} package) for fonts smaller than the predefined ones! (how annoying! relsize should just make an absolutely smaller font!). So I've had to use an ugly technique of specifying font size exactly by redefining a command as needed, e.g.:
One of the main tools is to use the ifpdf latex style. This enables you to choose the correct latex packages when you start running (pdf)latex through your files. One use here is to choose the correct graphics driver:
\usepackage{ifpdf}
\ifpdf
\usepackage[pdftex]{graphicx}
\usepackage{epstopdf}
\else
\usepackage[dvips]{graphicx}
\fi
Just include the epstopdf package in your latex document and invoke pdflatex with the –shell-escape option:
pdflatex –shell-escape test_document.tex
but thats it ...
\newif\ifsolutions\solutionsfalse
this defines a conditional \ifsolutions which can be used in the document. Here this conditional is set to false. In order to use in in the text, do this
\ifsolutions
% Put text to be shown if solutions is true here
\else
% Put text to be shown if solutions is false here
\fi
! I can't write on file ...
Sept 2008: Ah, but it can be overruled by changing an environment variable before compiling!:
September 2008:
Using ubcthesis class and hyperref and pdflatex, I got horrible errors like:
<to be read again>
The solution ended up being to write my own prettyref shorthands and to get those definitions set in the right order with respect to the usepackage{hyperref} and to completely ditch prettyref.
Feb 2010: Agh! Files that used to compile don't anymore because LATEX now fails to find a file if it has underscores in it. I could not find a solution (using the underscore.sty package didn't solve it) so I have renamed countless graphics files to have hyphens in place of the underscores. Why can I not find this problem on the 'net?
Dec 2010: aha. It's because an include was including the package “underscore”. Contrary to my comments there, this seems to cause (not solve) the underscore in filenames problem! See documentation for underscore.sty, where this incompatibility and some workarounds is clearly explained. for me, using [stirngs] or babel does not seem to help. Overall, avoiding underscore.sty seems the way to go....
If ever you need to use any regular expressions, use Kodos to develop them! Brilliant.
I tried some Python IDEs. The best I tried was SPE (Stani's), but it ground the computer to a near halt. In the end, of course,
apt-get install python-mode
turned emacs into the tool I wanted.
For development, debugging, always run python programs in ipython. Put the command '1/0' anywhere you want to “break” into a debugger, and just type pdb once in ipython when you start up.
agi python-scipy python-numpy
This stuff is maturing wonderfully, and coalescing into SAGE to replace all of Matlab, Maple, Mathematica, etc...
The plotting in python is improving and already the best thing out there, it seems.
To make it so that plot figures are not modal, ie the session is “interactive” in pylab's lingo, ie execution does not wait for you to close a figure every time a figure is shown, set interactive: True in matplotlibrc?
Then, to autocrop the resulting image, can use imagemagick: see my .bashrc “autocrop()” function.
July 2010: I no longer use Matlab (maybe except for maps?). Need to write here a section on pylab figures in LATEX!!!, bounding boxes, etc.
I need a replacement (hopefully better/faster!) for Matlab's mapping toolbox, to use with pylab/python.
2008? Mapping toolbox: Need to install the GEOS library which comes as part of the python matplotlib add-on “basemap”. Can read .shp files, make maps, etc: a replacement for Matlab's mapping toolkit.
2009 Sept: It seems there are a host of GIS packages for python in the works. None seems to work reliably on a broad set of .shp files. There are efforts to consolidate many of these, but they're still in progress! What is to be done, then?
I was using basemap to plot, but it's automatically installable under Fedora but not Ubuntu. But it can't read my shape file (in lambert coordinates). osgeo seems more promising. It installs automatically on Ubuntu but not Fedora!! What is the best ?
http://www.scipy.org/Cookbook/Matplotlib/Maps shows that basemap is mature and even comes with good data! My needs are to make country/global maps and use canadian boundary data to make within-Canada region maps. So (sept 2009) it looks like this is becoming good. Sadly the demo shown there gives a seg fault on my installation! But a modification works.
Apparently a utility can convert a .shp file to lat/lon, but it fails for me. “You can convert the shapefile to geographic - coordinates using the shpproj utility from the shapelib tools - (http://shapelib.maptools.org/shapelib-tools.html) “unable to process projection, exiting...”
I have now taken the extraordinary step of using Matlab to load the shapefile, then write out its data in my own text format, and read that into python in order to be able to plot things using simple plotting of patches...
Well, after much time trying, Duncan told me to stop scripting and just use Quantum GIS (qgis). I found it on Fedora but not on Ubuntu, at first... and am having a hard time getting it to do what I want so far. For Ubuntu someone advises:
Mplayer sounds like it is (again?) the cutting edge video player. For watching interlaced video (high speed motion shows combs if player is showing both halves) you can try to construct full images by CPU-intensive blending. “mplayer -pphelp” will show some available methods; you just try one. For example, “mplayer -vf pp=fd:c” seems remarkably good.
2006/7: I've a digital camera now, so I need to easily rotate video files, and sometimes to cut sections from them. What's the right tool? The non-avidemux way to rotate by +90 degrees into the page is:
e.g. pdftk file1.pdf file2.pdf cat output merged.pdf
or use guipdftk for a graphical interface.
Install “alien”. Then download the latest rpm for “pdfedit” and use
Update Feb 2008: It's now integrated in Ubuntu: easy installation. But still buggy.
May 2008: But the following beauty seems to work fine under wine!!
The following is in my .bashrc:
pdfExtractFigure() {
pdftops ${1} - | psselect -p${2} > tmp_p${2}_${1}.ps
echo Use 300 dpi resolution and B/W mode to import this file!
echo Then drag and ctrl-x regions to eliminate, and then use image->transform->autocrop to get what you want. Save as eps. (But do you really need to? Just skip between files when you want a table: in Adobe, use Ctrl-L and Ctrl-2 to make a page screen-width.
gimp --no-splash --no-data tmp_p${2}_${1}.ps &
}
May 2006: I thought I'd try sending a fax. I quickly determined to try
apt-get install efax-gtk slmodem
The application efax-gtk is brilliant. It sends any set of postscript files by fax using the softmodem in my laptop, with perfect interface...
2007 March: I had difficulty sending a multi-page PDF which was cobbled together with pdftk. Better to tell efax the various files as separate files.
Nov 2007: Under gutsy, don't need slmodem. Just install efax.
Actually, GIMP is not a favourite software.. well, maybe becoming more so.
But: to make an image background, or one colour, transparent: really easy now. Use LayersTransparencyAdd alpha. Then use ColoursConvert colour to transparent. This will probably guess the right colour automatically: done. You can also use the magic wand to select a region once you've added an transparent layer.
2008: Now I've made a script so that I can automate some transparency from the command line. In ~/.gimp/scripts is a file:
filenameout
)
(let* ((image (car (gimp-file-load RUN-NONINTERACTIVE filename filename)))
(drawable (car (gimp-image-get-active-layer image))))
(plug-in-colortoalpha RUN-NONINTERACTIVE
image drawable '(255 255 255) )
(gimp-file-save RUN-NONINTERACTIVE image drawable filenameout filenameout)
(gimp-image-delete image)))
Sept 2008: Another script: to autocrop figures. and associated “prepareFigures.py” has been started.
May 2009: Actually, I just have a bash script in .bashrc now for the autocrop:
# Could I do this better with mogrify??
for g in $@ {
convert $g -trim +repage ${g}_cropped.png
} }
One of my *least* favourite software, not most favourite – ie it baffles me.
I installed calc2latex macro – maybe use it next time.
Brilliant! : just load this macro into OpenOffice, and you can turn all your .doc files into .html or .pdf or any other combination imaginable – text, spreadsheets, etc:
http://ooomacros.org/user.php#95532
Okay, I don't have this trouble, but if you have .wma files, try:
sudo apt-get install soundconverter
wheee!
Well, I rather wish Pine was open source and more functional, so this is again not “favourite software”, but it's my favourite email client. [Update: in 2007 it became open source as “alpine”.]
At UBC, the unencrypted SMTP service for Interchange email works by setting the “smtp-server” in Config options to
smtp.interchange.ubc.ca/novalidate-cert
In July 2006, the unencrypted SMTP service became flakey but the encrypted versions werent. So if I set the “smtp-server” to
smtp.interchange.ubc.ca:587/tls/user=[ubcusername]
I get encrypted sending, but I have to enter my Interchange password once per Pine session. There seems to be no way around this, which is pretty annoying.
When interchange is really slow, just use:
smtp.gmail.com/tls/user=<gmailusername>
Well, Alpine IS open source now. And I have just discovered that a program imapoffline exists!! Oh wondrous thing. Also existing is a maildir patch for alpine, for some reason still not built in!? If it were, the combination of alpine and imapoffline would be absolutely brilliant. I will move to something like it very shortly...
Oh, maybe not yet.. There is some crazzzy stuff happening on this issue of incorporating maildir into alpine: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=405762
Oh, but 31 Aug 2009: It loks like Chappa has released the patch: http://staff.washington.edu/chappa/alpine/info/maildir.html
so where is the update??
streamripper works for some. If it doesn't (e.g for mms protocol) use mplayer:
mplayer 'mms://YourStation.wma' -ao pcm
Followed by:
lame audiodump.wav myradiostream.mp3
Afterwards, this can then be converted to any other format with something like:
To extract a segment from a dvd, dvdrip (rip, then for transcode pick ffmpeg and the output size) followed by avidemux (to easily trim out piece of interest) is smooth and easy.
2009: Similar finding, although it seems I needed to use the mpeg_ps A+V as output format to get audio with it. But sometimes it hung..
Kino worked okay too except for changing the shape (put a border around widescreen format?)
It's so easy in (my) GNU/Linux: just use the right Alt key followed by something that looks like the accent (e.g., comma for cedile, apostrophe for acute) and then the letter.
Update for Ubuntu Feisty: it's even better now. From your desktop, choose the system menu preferences keyboard. Then the Layout Options tab. There, choose which key you want to be your “compose” key. That then works as above.
That's right, a GUI version of diff/merge. Sad to admit, I never really figured out emacs' merge. This is excellent! Standard with Ubuntu.
file stuckfile.dmg
stuckfile.dmg: VAX COFF executable not stripped
sudo mount -t hfs -o loop stuckfile.dmg mntdir/
mount: wrong fs type, bad option, bad superblock on /dev/loop1, missing codepage or helper program, or other error. In some cases useful info is found in syslog - try dmesg | tail or soMounting via hfs or hfsplus failed as above.
Used http://hem.bredband.net/catacombae/index2.html java to make a new file. That one was like a CD and could be mounted in different ways to find different stuff!
sudo mount -t hfs -o loop newfile.iso here/
sudo mount -t iso9660 -o loop newfile.iso here/
Huh? I installed the non-OSE (needed for USB connections) as in instructions on virtualbox's site.
But the link doesn't come up in my menus until I log out/log back in!
And starting “VirtualBox” fails wth
available for the current kernel (2.6.31-16-generic) or it failed to
load. Please recompile the kernel module and install it by
sudo /etc/init.d/vboxdrv setup
You will not be able to start VMs until this problem is fixed.
May 2008, under Hardy: whooa!!!!!! I cannot believe it. The future is here. I long ago deleted any Windows partition and bought my new laptop without a windows license, but I still would like to be able to use Adobe Illustrator once in a awhile, and Wine doesn't do it justice.
But I just learned of VirtualBox's opand it blew me away. It held my hand while installing my old copy of Windows and works flawlessly: I now have a full-speed, native Windows OS running inside one window of Linux. Incredibly easy.
Then
Important step, therefore: Once booted into the guest OS, from the Guest window in VB, tell it to “Install Guest Additions” which will do lots of magic (or, in older version, will add an external disk to the Windows desktop. Run that installer, ...) and all your virtual drivers will be in place! For instance, a magic video driver that automaticall resizes, etc, etc will be in place. Unreal. Network works out of the box through VB's NAT.
I guess I can use my modem/fax etc too, that Zareason/Ubuntu has not managed to support so far.
But oops– I don't have all the fonts I need for Illustrator to edit my matlab/latex graphics... Maybe install latex??
Absolutely no problem now under Windows XP. I am teaching a course at UBC using iClickers in every class, using Ubuntu with the iclicker program running inside Windows XP under VirtualBox.
If you need to add a student's reg data by hand, simply edit BOTH class.txt and SessionData/RemoteID.csv
Greeat! Find where your disk space is gone
I am happy to buy commercial software when it's good and fosters feedback and is not an operating system. I use both Stata for Linux and Matlab for Linux. If Adobe offered better versions of its software for GNU/Linux or unix, I might buy them too (Acrobat and Illustrator for sure). I use Adobe Acrobat 8 under Wine.
A favourite of mine.
There are references for installation — see the Ubuntu Wiki on Matlab. I have found installation etc works nicely, though I don't use the graphical IDE for Matlab programming.
Fantastic!! You can make graphical output simply disappear, in order to run off a server. This doesn't break even when my program gets static feedback from graphics objects (I guess they exist virtually):
Typically, I start off using fsolve, and then have to switch to fmincon because I need to impose constraints. For instance, non-negativity or non-complexity.
How to do optimisations constrained to solutions in real (non-complex) space?
Using fmincon, use the nonlinear constraint realNonlcon function (in my Utilities) to ensure real.
Don't forget! fmincon minimises! Use abs() if you are trying to solve an equation.
But fmincon doesn't take vector functions, so how do I solve a vector (ie a set of equations, maybe unrelated) of equations with in positive domain...?
27 March 2007.
Different ways to do this:
some user-contributed stuff that needs work (e.g. LinkSideAxisData): Advantage: extra scale on top or on side stays with you as you rescale your plot
using “text” to place text just outside the plot border (need to rescale axes to be big first, then place text, then resize to original; that way text is not hidden in bounding box... i suppose this is taking advantage of a bug in matlab). Advantage: can use latex interpretation of the label, unlike for ticklabels.
xlabel('$\bar a = 17$','interpreter','latex');
Also, matlab has a “linkaxes” function to link different axes so they resize together!
Jan 2008. Maybe I should switch all plots over to SVG with plot2svg. LYX can deal with it very nicely, and it's open standard, editable with Inkscape, etc.?
September 2008: Here's the most promising thing in a while. Just use Matlab's crappy print to pdf, which makes a full, uncropped page.
Then inkscape –verb=FitCanvasToDrawing –verb=FileSave –verb=FileQuit <file.pdf>
This is useful, maybe, in place of my own old “printfigure”. Use the setpref once (permanent effect), e.g.:
yes, this gives much tighter bounds than my printfigure. Still, since I sometimes want tex'd text, I might need to invest in laprint at some point...
I think using 'linemode','scaled' does the nicest job: it means that differently-weighted lines ('linewidth') from the plot command are respected.
The tight bounds are cutting off my xlabel whenever xlabel is written with 'interpreter','latex'!!! Scribus can rescale the bounding box to make it completely visible, but this is a bug in exportfig.
I'm frustrated with exportfig. It is not giving the same thing in previewfig as it is in exportfig. I have deleted the persistent preferences (above) in my .matlab/ folder. The problem is that I have used “text()” a lot to put annotations on the figure....
Another go at getting over exportfig's problems. When output mode is pdf, any latex interpreted text objects cause postscript to crash. When output mode is eps, exportfig seems to ignore the bounding box, making it loose. Yet the extent of the text object is wrongly calculated or ignored when the size of the output figure is small (e.g. 8 cm). (no, even with larger ones: xlabel is cut off at bottom, etc)
Some wonderful fellow has, however, provided some solution in the form of a Matlab contributed program called “setaxes”, along with some companions. This allows one to add extra space at the bottom. For me, it seems to mean some trial and error for each plot, though.
A beautiful tool for making nice (but EPS based!!) figures from Matlab by converting all annotations to LATEX overlay is Laprint.
But because it uses ps tools, I cannot use it with pdflatex. Argggh. Beamer still works with eps mode, but some PDF tricks presumably don't. beamer?
2008 September update: someone has made a magical tool, auto-...pdf, which can insert laprint figures into pdflatex runs. Wow! But for some reason I still have a low-level eps bug which plagues my system and makes this not work.
.
.
.
I cannot find how to make ticklabels use latex interpreter in matlab display!.
The user contributed “laprint” may be the elaborate but high-quality [but long and complex and inevitably buggy? danger!] way to go. It converts all text in a plot to latex code (!).
I still don't have a good replacement for an 8-year old version of Adobe Illustrator 8.01. (Tried to install Illustrator 8 with wine; sort of works Dec 2007; tried it under Windows 2000 inside VirtualBox May 2008: does work.)
(Tried to get laprint working with LYX. Quite difficult. Must remove language encoding to LATEX default...
But also, must use ps2pdf mode for viewing. (ie, dvi always looks garbage; conversion to ps is necessary). That means I cannot use this with Beamer!! No pstricks. :(
Also, must use explicit directory for .eps files in Laprint, since, LYX can't deal with .tex include files which refer to local .eps files! Since it compiles stuff in a temporary directory. I cannot see how to give an explicit eps directory from within Laprint, unfortunately. [Bug request sent to author]. Nor does it allow adding some text to the .tex file from within Matlab.
So my solution is to add a line such as the following to the LATEX preamble within my main, master document within LYX:
Using this whole method in LYX reduces the utility of LYX somewhat – it means that one cannot see figures graphically within LYX. It also makes the output format less transparent, since one is committed to dvips.
Google tells me that other people are doing somewhat similar things using xfig, which will export a pair of files (as does laprint), one eps and one latex's picture environment (rather than psfrag). Each has some advantage. But I don't know of the eps/picture option for matlab.
2008 April: not merged with bove: However, the author (Linnemann), suggests this, since the alternative means having paths fixed in each .tex file produced by laprint.
Export as EPS. Then use a gimp script to convert background to transparent in a PNG. Imagemagick's simple transparent conversion does horribly with aliased edges, but the GIMP does well. In fact, in interactive mode it automatically selects the right background colour. I don't know how to do that in a script, but I've saved the following in ~/.gimp-2.4/scripts/makeTransparentCPBL.scm (I think the name could be anything):
(let* ((image (car (gimp-file-load RUN-NONINTERACTIVE filename filename)))
(drawable (car (gimp-image-get-active-layer image))))
(plug-in-colortoalpha RUN-NONINTERACTIVE image drawable '(255 255 255) )
(gimp-file-save RUN-NONINTERACTIVE image drawable filenameout filenameout)
(gimp-image-delete image)))
How do I change the white argument (255 255 255) to let GIMP guess at the background colour???
What if I want to edit it? As of late March, Inkscape claims native PDF support. It also seems now to import EPS. But it's problematic.
So, for a Matlab plot, I found saving as EPS rather than SVG after edits got an uncorrupted result. Then gimp, above could do the rest...
Author claims, July 2008, that it's been updated...
As of October 2007, Ubuntu Gutsy's wine installed Illustrator 8 with no problem. I just launched “wine setup.exe” from the Illustrator folder on the CD. Wowee. I used to use extensively (and love) this program. I still find nothing close (scribus, inkscape) for editing eps. (so am gradually switching over to svg?)
Illustrator seems to work fine for me under Wine in Windows 2000 mode, but not under Windows NT 4.0 mode, even though that's when my copy of Illustrator dates from.
April 2008: I tried the same under Hardy, with similar results. Actually, in both cases, it's really unstable, even though it loads up nicely and starts working.
Oh! How I long for an eps->svg converter.
Stata is not a favourite software of mine. But I use it heavily, though mostly through a python interface. :)
Aug 2008: Stata 10 on gnu/linux (Ubuntu Hardy) has really messed up fonts (non-proportional are proportional; keywords etc overwrite other text in output window and help window) and I cannot figure out how to fix them.
It's also absurdly slow to display coefficient tables in the output window. Other material is fast to come up, but coefficient tables come up gradually, line by line. As this is happening X hogs the processor, at least under compiz. If I switch to another desktop while it's working, the output is displayed very rapidly.
Ah, switching to Courier 10-pitch at 10pt seems to fix both problems.
But my preferences needed to be reset each time I run Stata! Why? my ~/.stata10 folder was owned by root. Oops! (Unsurprisingly result of installation process). Delete it. Now preferences are persistent.
I'm running Ubuntu for 64 bit but just downloaded the .tgz for version 10.6 of the ICA client.
Note that you must move the .tgz into a new directory before unpacking... some of its contents go at the top (local) level.
Run ./setupwfc
I installed as root (which puts things in /usr/lib) and chose to integrate with KDE/Gnome –> result was that Firefox did NOT know what to do with an .ica file.
I installed as a user (which puts things in ~) and chose NOT to integrate with KDE/Gnome –> now when I browsed a .ica file Firefox gave me two choices of application to deal with it. I chose the first (not default!) and got the foreign application popping up in a window: great.
Incidentally, the Citrix support people by phone were as obnoxious as any firm can choose to be. I suppose corporations can put thoroughly obtuse and unempowered people on the phone and rely on customers' frustrations to have them try Google search, which will leverage all the work of volunteers doing the corporation's support work for free. You'd think at least Citrix could synthesize some of what is on the web already.
How to convert from SPSS (.sav) format to Stata, when all you have is Stata and free stuff? Well, Stat/Transfer is only 59$ for students, and available for unix. But there is no-cost (not OSS) software available to convert:
http://am.air.org: It's only for Windows, so I run it under VirtualBox.
It reads in SPSS and exports to Stata/SE, but the result eventually seemed inferior to Stat/Transfer's output. So I bought a license for that.
October 2009.
This was the least troublesome upgrade in a while... but it still did not work. It left my machine without any access to the speaker/sound hardware. Couldn't figure it out.
Installing 9.10 from scratch worked. Every single release I end up giving up on the upgrade and doing a fresh install. It's not much work, since I keep two system partitions, and the commercial software just needs to be relinked from a separate, persistent /home partition.
Other tweaks that took me a while to figure out:
my xrandr scripts stopped working. I needed to replace all “LVDS” with “LVDS1” and “VGA” with “VGA1” ... The software produces no warnings with the wrong (old) names, and it is even partly but not fully functional. Weird/annoying.
Beta Upgrade completely killed my account. Login left a white screen, stuck.
Anyway, BE CAREFUL NOT TO RUN FETCHMAIL BEFORE POSTFIX IS RUNNING. I THINK I LOST A WHOLE BUNCH OF EMAIL AS A RESULT OF THIS.
sudo apt-get install latex-beamer emacs latex2html elinks xpdf-utils ssh openssh-server python-mode emacs-extra emacs-goodies-el preview-latex a2ps psutils gv sshfs lyx latex-xft-fonts fetchmail postfix ipython python-mode alpine ubuntu-restricted-extras meld pdftk feh enscript mplayer imagemagick libdvdcss2 sbackup python-matplotlib texlive-extra-utils traceroute htop gprename pyrenamer sound-juicer
Need comment.sty
(later, in June).
to enable it.
First, you still need to start with adding a repository, as described at https://help.ubuntu.com/community/Medibuntu and accomplished with the following two lines.
sudo apt-get install app-install-data-medibuntu apport-hooks-medibuntu
Also, I keep my mail spool on the /home partition:
ln -s /home/mail /var/mail
Some more installed things:
Oh, I also clicked on date/time and set it to use NTP
I also installed Adobe Acroread – see ubuntuguide.org
And I had to set up my printer – nearly automatic.
I downloaded the RealPlayer rpm and installed it with alien, as before.
Once again, I have permanently lost email due to bad permissions in my /var/mail path. I had symbolically linked the latter to another path, and that path had not quite the right ownership, although
drwxrwsr-x 2 root mail 4.0K 2008-01-24 21:51 mail/
rather than
drwxrwsr-x 2 root root 4.0K 2008-01-24 22:13 mail/
. The other directories/files had the correct permissions.
Fetchmail got the mail. Postfix caught it, queued it, and then either bounced it or destroyed it. (Okay, maybe it wasn't permanently lost – maybe bounced.)
visit /home/user/logs/ to see log files, including apache logs.
Endless games with .htaccess. :
The following only allows people from a certain subnet to log in, but requires a password from them:
AuthUserFile /path-to-.htpasswd AuthName Security temporarily enhanced...
Order deny,allow
Allow from 1.somesubnet.
Deny from all
require user afriend friendtwo
AuthUserFile /path-to-.htpasswd AuthName Security temporarily enhanced...
Order deny,allow
Allow from 1.somesubnet.
Deny from none
require user afriend friendtwo
oh, blast. here, finally, i found the old, old version:
AuthUserFile /homegrad/path-to.htpasswd
AuthName Green College Members
require user afriend friendtwo
Satisfy Any
<Limit GET POST>
order deny,allow
deny from all
allow from my.ip.addres.
require user afriend friendtwo
</Limit>
Actually, the above old version works fine.
From Ubuntu 7.04, I still can't use do-release-upgrade, despite Ubuntu's instructions. The latter command claims I need to install a desktop like gnome-desktop for it to work. !!?! But it's for servers!
Oops. The boot partition filled up! Make sure to clean up those old kernels.
Stata's tech support wrote to me to explain how things work when my license got stuck. This was very useful info that doesn't seem to be available elsewhere (?):
———–
Dear Christopher,
This could be a problem with license tracking. I think it will be helpful for me to lay out in the open how our license checking works. Also, I think I know why your user is getting 'stuck' in your license, and I have a couple of suggestions for ways to prevent and work around this.
Stata uses a simple file to track simultaneous license usage. This file is
/usr/local/stata9/.license/stata.sim
(the initial part of the path may of course vary depending on where you installed Stata).
This file contains slots for as many users as your license supports. Each slot holds four pieces of information
userid hostname instances time/date stamp
Each unique userid/hostname combination counts as 1 user. That is, if user 'bob' on host 'alpha' starts Stata 3 times, this only counts as 1 user. The license-tracking file does hold the number of instances in it, so it knows that 'bob' is running 3 Statas, but it only counts these three instances as 1 license position since all three instances are the same userid/hostname combination. When 'bob' exits one of those instances, the instance counter will go down to 2. When he exits all instances, the license counter will go to 0 and that license slot will be open for another user.
If 'bob' starts Stata once from host 'alpha' and ten times from host 'beta', this counts as 2 users (bob/alpha and bob/beta). bob/alpha will show 1 instance, bob/beta will show 10 instances, and everything works as I described in the paragraph above when 'bob' exits Stata.
While Stata is running for a particular user/host, it periodically checks the license file to make sure that it hasn't been manipulated in an attempt to get around the restriction on the number of users allowed by the license. When Stata does this, it updates the time/date stamp for the given userid/hostname combination. Think of this as Stata telling the license file yes, I am still running.
When a new userid/hostname combination starts Stata, it looks for an open slot in the license-tracking file. A open slot is defined as one where the instance counter is 0, OR a slot where the time/date stamp is 12 or more hours old. If the time/date stamp hasn't been updated for 12 or more hours, then the instance or instances of Stata that were occupying that license position are considered to no longer be alive, and so the slot is freed for use by a new instance of Stata.
Therefore, at your site, even if you have a license position which is not freed when you think it should be, it should work itself out after 12 hours assuming that there really is not a copy of Stata running and associated with that slot in the license-tracking file. The only way the time/date stamp will be updated for that slot is if there is a running copy of Stata that is updating it. If the Stata is not running, the time/date stamp will not be updated, and 12 hours later, another Stata will be able to take over that slot.
The most common reason that license positions do not get returned properly to the license-tracking file is that users
1) start a console version of Stata
2) kill that console version of Stata by closing the window in which it was running without first typing -exit- to get out of Stata
This prevents Stata from running through its normal exit code and since it has been killed, it has no chance to remove itself from the license-tracking file.
The only other ways an instance of Stata can become stuck in the license-tracking file are if Stata crashes or if the user or system administrator explicitly uses Unix's 'kill' to kill a running Stata. Both of these are extremely rare of course.
My best guess is that you have users who are using the console version of Stata in a plain text window (such as an xterm or some sort of telnet or ssh application where they are connecting remotely) and they are closing the window in which Stata is running without first typing -exit- in Stata to allow Stata to exit normally and close out its license position. Killing Stata in this manner has other bad side effects beyond the stuck license positions, such as leftover tempfiles and unsaved preferences.
As a first step, you should try to train your users in the proper way to exit Stata whether they are running the console or GUI version of Stata:
type -exit- in Stata; don't close the window in which Stata is running or kill Stata in any way other than typing -exit-.
In the case of the X windows version, Stata creates its own window and so when you close that window, Stata types an -exit- command to itself, so everything is ok.
Hopefully this will cut down on some of the problems.
As system administrator, you can see what users are holding license positions. As root, you can always start Stata even if all license positions are full. After starting Stata, you can type
who
to see the user/host information as well as the instance count. You will see something like
. who
User Host Instances ————————————————— arr ozymandias 2
1 users
If you notice that certain users are consistently 'stuck' in the license, you should work with them to make sure they are exiting Stata properly.
As superuser, you can reset the license tracking file in case of emergency. This can cause problems, however, which I will explain below.
To reset the license tracking file, start Stata as root and type
. simulinit, replace
This will empty the license tracking file.
Here is the problem with doing that: each copy of Stata that really was running knows where it should be in that file. Remember I said above that a running Stata periodically updates the time/date stamp in the license tracking file. When it does this, it verifies that the userid/hostname combination that it knows is running Stata is the SAME as the one in the slot in which it is trying to update the time/date stamp. There are three possibilities:
1) the userid/hostname is the same (true as long as you haven't reset the license-tracking file): Stata updates the time/date stamp
2) there is no userid/hostname combination there; the slot is empty (true if you reset the license-tracking file): Stata puts itself back in the slot and updates the time/date stamp
3) there is a DIFFERENT userid/hostname combination there; someone else has taken over the slot (true if you reset the license-tracking file and another instance of Stata from someone else starts before a currently-running Stata has a chance to re-check its slot): Now you have a problem. Stata has detected that something has gone wrong with the license-tracking file or that it is being manipulated. Stata is willing to forgive this...for a short time. Stata notes to itself that it wasn't able to find itself in the license tracking file. Some time later, Stata tries again. When it does, hopefully the other copy of Stata that took over the slot is gone and Stata will be able to re-insert itself into the proper slot in the license tracking file. If it cannot do this, however, Stata tells the user that the tracking file has been manipulated. At this point the user is only allowed to save their data and exit Stata. No other commands will work.
To summarize, my recommendations are
- train users to exit Stata properly
- as root, use Stata's -who- command to find out which users are consistently 'stuck' in the file; come down on them as system administrator about their bad habits
- if you absolutely have to, as root, use 'simulinit, replace' inside Stata to reset the license tracking file. As long as no new Stata jobs start by the time all the existing Stata jobs have a chance to put themselves back in the file, everything will be ok.
I guess my needs for census shapes analysis are:
http://geos.refractions.net can do polygon unions and intersections.
ie Asus S62E specs:
* Intel CoreTM 2 Duo T7100, T7300, T7500, T7700 800MHz FSB Processors
* 14.1'' WXGA (1280x800) TFT Color Shine And Crystal Shine Enhanced Display
* Based On The Mobile Intel 965 Express Chipset Family
* Intel Graphics Media Accelerator GMA X3100
* Supports Intel Wireless WiFi Link 4965AGN And Intel PRO/Wireless 3945-A/B/G
* Optional DVD+CD-RW Combo Module Or Super-Multi DVD/RW Module
* Up to 3GB DDR2-533/667 SO-DIMM Dual Channel Memory
* SATA Hard Drive Support-Up To 200GB
* 4 In 1 Card Reader
.
.
Specifications:
Processor & Cache Memory Intel T7700, T7500, T7300 Processor With 4MB On-Die L2 Cache. 800MHz FSB
Intel T7100 Processor With 2 MB On-Die L2 Cache. 800MHz FSB
Operating System Microsoft Windows XP Professional Edition
Microsoft Windows XP Home Edition
Microsoft Windows XP Media Center Edition
Microsoft Windows Vista Home Basic
Microsoft Windows Vista Home Premium
Microsoft Windows Vista Business
Microsoft Windows Vista Ultimate
Chipset Intel GM965 + ICH-8M
Main Memory
Intel Turbo Memory DDR2-533/677 MHz Up To 3GB
2 x SO-DIMM Dual Channel Slots
Supports Intel Turbo Memory (Robson)
Display 14.1'' WXGA (1280x800) TFT
Color Shine And Crystal Shine Enhanced Display
Video Graphics & Memory Intel Graphics Media Accelerator GMA X3100
Hard Drive 2.5'' 9.5mm HDD; Capacity Of 40/60/80/100/120/160/200 GB And 4200/ 5400/7200 RPM-SATA Hard Drives Only
Card Reader Built-In 4 In 1 Card Reader. Supports MMC/ SD/ Memory Stick / MS-Duo
Optical Drive Optional 24X/24X/8X/24X DVD+CD-RW Combo Module
Optional 2X(2.4X)/4X/24X/24X/8X24X Super-Multi DVDRW Module
Fax/Modem/LAN/WLAN/ On board 10/100/1000 Mbps Fast Ethernet Controller
Supports Intel Wireless WiFi Link 4965AGN/AG And Intel PRO/Wireless 3945ABG
Three Antennae Support
MODEM Supported V.92 And Universal PPT. Azalia Ver 2.1 Compliant
LED Status Indicator Power On/Suspend (green )
Battery Charging/Low (orange)
Bluetooth, WLAN Accessing (green )
Email (green )
Storage Access, Caps/ Number/ Scroll (green )
Interface 1 x TV-out (S-Video)
1 x Express Card 34 / 54 Support
4 x USB 2.0 Ports
1 x 4 In 1 Card Reader
1 x VGA Port(Mini D-Sub 15-Pin)
1 x IEEE 1394 A Type Jack
1 x Headphone-Out jack(SPDIF)
1 x Microphone-In jack
1 x RJ11 Modem Jack For Phone Line
1 x RJ45 LAN Jack For LAN Insert
Keyboard 19 mm Full Size With MS-Windows Function Keys
2.0mm Travel
Audio Built-In Azalia Audio Chip, With 3D Effect & Full Duplex
Built-In Stereo Speakers And Microphone
S/W Volume Up/Down
Power Management Full Feature SMI Power Management, Stand-By, Suspend To Disk, And Suspend To RAM
ACPI 2.0 Supported
Battery Pack & Life
Li-Ion 6 Cell, 4800mAh, 64W Battery Pack
Smart Battery, Charging Time, 4hrs/2.5hrs (System On/
Off) To 90%.
AC Adapter Output : 19V DC, 3.42A, 65W
Input : 100~240V AC, 50/60Hz Universal
Dimension & Weight 334 x 252 x 22.7-35.7mm (W x D x H)
2.7kg (w/o 6 Cell Battery)
Security Pre-OS Authentication By Programmable Key Code
BIOS Booting User Password Protection
HDD User Password Protection And Security Lock
Kensington Lock Hole Provided
Warranty & E-support 2 Year Asus CBB Limited Warranty
Included Software Asus Built Or Modified For Win XP, Win Vista Power4 Gear+ Hotkey: Supports Instant Key Function Defined
With ODD Software: NERO BURNING ROM V7.5.13.0
This document was generated using the LaTeX2HTML translator Version 2019.2 (Released June 5, 2019)
The command line arguments were:
latex2html -show_section_numbers -split 0 linuxInstallationLessons.tex
The translation was initiated on 2021-01-18