About Me

Copenhagen, Denmark
Doing random stuff on my computers and documenting it for future use. Probably not interesting to anybody but meee. lappysaurus: HP Elitebook 2530P. minilan: ASUS Eee PC 901. evillan: Fujitsu Siemens Amilo PRO V3205. mobillan: HTC Hero.

Friday, September 26, 2008

Wine and ChemSketch, part II

17.12: Removing all installed wine programs using wine's own functionality. Also removing wine.

17.14: Instead of saving the .exe file, I'll try to open it with wine instead. That might help. Downloading wine. Downloading chemsk11.exe. Installing.

17.25: Nope, still not working. Will google now.

17.58: I have to disable msxml3.dll. Apparently. Still not working. I'll return to this later, over and out now.

TEXINPUTS again again

16.58: (Just downed a bag of the fakest artificial sugar I could find laying around. Sugar high!) So, TEXINPUTS is being mean again.

17.05: Tried to play around with .bashrc and it was not working, not working, and... working. I always manage to pull it together in a serendipitous manner. Anyways, maybe it has something to do with the "exec bash"-command. My .bashrc currently holds this code snippet: "export TEXINPUTS=~/LaTeX/pakker//:" which ought to work. I'll check later.

17.10: I should probably also add the python major mode to emacs, but I'm not really using the program at the moment, so that'll have to wait. Time to play with wine'n'chemsketch, ouch.

Thunderbird and Firefox - importing old profiles

16.34: Back again. Following a guide (http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Thunderbird) to transfer my old Thunderbird profile to the new install. Currently copying the files to .mozilla-thunderbird/XXXXXX.newprofil

16.37: Configuring the profiles.ini: "Path=fmrmo3pf.ltp." And it's working, thank goodnes. Excellent. I'll do the same with firefox now.

16.39: Copying away. I should have copied the files into the new profile instead of just copying the whole directory. Firefox and Thunderbird just ignored these. 24 seconds left. I need to install ChemSketch and Marvin Beans after this. I'll restart the browser now to see if the profile was imported correctly.

16.44: It works. I overwrote the new profile, so all my tabs are from my old ubuntu install. Nostalgia.

Installing Marvin Beans

14.40: Even though I use ChemSketch (or not, since the installation process is messing with me), I prefer to use Marvin Beans (http://www.chemaxon.com/marvin/do-download-marvinbeans.html) to draw molecules. The output is much nicer and not so pixelated. Also, the program is not as bloated as ChemSketch. This will probably take som time too.

14.45: Need to install Java SE Runtime Environment first. Installing sun-java6-jre through aptitude, probably not right. Googling away.

14.52: Whoops, definitely the wrong one. Removing it again.

14.59: This is the one: https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=j2re-1.4.2_18-oth-JPR@CDS-CDS_Developer. Following the guide: http://www.jibble.org/settingupjava.php.

15.01: Moving the .bin file to /opt/java_runtime, following these instructions: http://java.sun.com/j2se/1.4.2/jre/install-linux.html. Making symbolic link to /usr/bin/.

15.07: "which java" isn't returning anything. And now I'm hungry. Time to take a break.

Problems with TEXINPUTS

14.32: I've created a directory in my home directory where I keep all my LaTeX packages. All the other packages are working fine; LaTeX is able to find them when compiling. I've made a subdirectory where I keep sinunitx since the package contains a lot of .cfg files. Something is wrong, LaTeX can't find the siunitx.sty in the siunitx directory.

14.37: Okay, this makes no sense. I changed "export TEXINPUTS=~/LaTeX/pakker//:" to "export TEXINPUTS=~/LaTeX/pakker/siunitx:" in .bashrc and now it works fine. Weird. Anyways, it seems to work for now, so I won't change it.

Fighting with wine

14.18: Installing wine for the umpteenth time. Why is ChemSketch still there? Deleting it. Downloading the ChemSketch .exe file again. 34 seconds remaining.

14.26: Not gonna happen, apparently. ChemSketch does not want to play with me. I'll return to that later.

Wine and ChemSketch

13.48: I'm using ChemSketch (http://www.acdlabs.com/download/chemsk.html) in nano1 (nano course). First, I install wine. Then I register at acdlabs (no spam, fortunately) and download the .exe file.

13.55: Something went wrong. Trying again. And done.

14.00: Installing the template for drawing labware (guide in Danish: http://www.fys.ku.dk/~lpham/vejledning_til_labudstyr.pdf, the template: http://www.fys.ku.dk/~lpham/labudstyr.sk2).

14.04: Not working now. Damn it. Removing everything and trying again. Not working. Removing wine and installing it again. Why is ChemSketch still running? Killing the process.

14.11: Seems like it is installing the removed version, I found ChemSketch in the fake C:/-drive. Killing ChemSketch, removing wine again and rebooting.

Math programs: gnuplot, maxima and friends, maple

12.56: Installing gnuplot. Installing maxima. Installing xmaxima.

13.10: Downloading and installing imaxima (emacs major mode for maxima with LaTeX output - very nice! http://members3.jcom.home.ne.jp/imaxima/Site/Welcome.html). Looks like I need to install maxima-emacs as well. It works! That was relatively painless, I remember struggling with it the first time.
I had to copy my .emacs file again, looks like it was overwritten when I installed emacs. Will check the other config files too.

13.18: Dowloading Maple 12 from the university site. 6 minutes remaining. My browser history in firefox is gone. It's weird.

13.26: 93% done. Done. Untar. "sudo Maple12_Linux/Linux/Disk1/InstData/VM/Maple12Linux32Installer.bin" (I want to it install it at /opt/maple12, and if I run InstallMapleLinux I don't have the necessary rights).

13.37 (leet): Installing... and done. Not working? I probably have to reboot, which I'll do now.

13.45: Oh, I forgot to make a symbolic link: "sudo ln -sv /opt/maple12/bin/*maple /usr/bin/". Now it's working. I have missed you, Maple.

LaTeX and friends

11.54: Installing texlive-full. "After unpacking 1331MB will be used." Wow. It's taking some time. Checking my email.

12.03: Still downloading away. Customizing this blog in the meanwhile.

12.21: Setting up texlive. "This may take some time..." Oh yeah. After this, I'm going to install emacs.

12.42: Aaand done. Installing emacs22. Installing auctex. Moving all .sty files into ~/LaTeX/pakker and "sudo texhash." Missing siunitx? Nope, looks like the PATH in .bashrc is misbehaving. Will reboot later and check.

Thunderbird

11.33:

Back on. Still missing 7 updates, aptitude doesn't want to play. Trying the update manager - working fine.
Installing thunderbird. Removing evolution. Creating new short cut (System->Preferences->Keyboard Shortcuts), Alt+F3 is now opening a new terminal. Changing "Preferred Applications": Thunderbird instead of evolution, Totem instead of Rhytmbox. Trying to import my Thunderbird setting; asking on a Thunderbird forum since Google is angry at me. Installing flashplugin to firefox.

Aptitude done

11.26

Firefox can't open right now - aptitude is working hard on something, probably upgrading to firefox 3 from the beta... And now it wants me to reboot. Be right back!

Firefox

11.12:

I want the google search results from the toolbar to open in a new tab (Ctrl-K opens in new tab: http://lifehacker.com/software/firefox/firefox-tip-open-search-results-in-a-new-tab-255171.php).
Installed the following add-ons: tiny menu (https://addons.mozilla.org/en-US/firefox/addon/1455), flash block (https://addons.mozilla.org/en-US/firefox/addon/433) and adblock plus (https://addons.mozillak.org/en-US/firefox/addon/1865). Restarted firefox. Removed Bookmarks Bar and navigation bar, moved Back/Forward, google search and url bar next to Menu. My lappie is only 12" and I need to maximize the space.

Burn cd and make backup

I downloaded the iso-image of ubuntu 8.04 and burned it. I made a backup of my home directory and a couple of other important files (mostly sty-files for my LaTeX thingies).
Installed ubuntu 8.04, copied my home directory into the new system.
Opened firefox and created this blog.
Configured firefox (in Preferences) and joined google experimental search.
Changed colors in xterm (white on black). Customize the panels (upper: autohide, system monitor, moved clock to lower panel, removed other defaults etc.). Changed appereance (black on white, black desktop).
Installed all the new updates (121).

Reinstall ubuntu 8.04

I've used ubuntu for about a year now (started in August 2007), and despite minor annoyances and problems I've really come to like the OS.
However, in September 2008 I fucked up my system for good. I installed wicd, an alternate network manager for linux, because my wireless internet card didn't want to play and after that, my Maple and Maxima install didn't work. I tried to remove wicd and reinstall network-manager again, which only made things a lot worse; I wasn't able to access the graphical interface (X11). So I removed network-manager and reinstalled wicd using the terminal. Still not able to get Maple or Maxima going, though. I'm currently using Maple in a university course and really needed it to work. Sure, I could access the server at my university via ssh and feed Maple through that, but that was excruciatingly slow and painful. So I finally decided to make a fresh installation of ubuntu 8.04.

This blog serves as a walk through. I'll document all the things I configure in my ubuntu install, so I'll be able to return to this blog later when similar problems arises. It'll probably only be useful to me, but I'm putting it out on the internet so other people can use it too.

Blog Archive