17.21: (Did this four days ago, forgot to document it) Found dotfiles.com (appears to be dead now) and trawled through various .emacs and .bashrc/.bash_profil. Added snippets of code to my .emacs (especially from http://www.dotfiles.com/files/6/466_dot-emacs) - documented in the file.
17.24; Still no update on the Desktop/-thing yet.
About Me
- Lan
- 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.
Sunday, October 5, 2008
Saturday, October 4, 2008
rm -rf Desktop
15.31: Uh oh. Accidentally "rm -rf Desktop" yesterday. That wasn't really a problem since I don't have anything in it, problem is that everything in my home dir got spilled into the desktop. Tried to rmdir Desktop which didn't help. Tried to fix it in gconf-editor at apps->nautilus->preferences, but it was already unchecked. Tried to check it, reboot, uncheck and reboot again, didn't work.
Sunday, September 28, 2008
Java thingy in firefox
20.54: Installed gcjwebplugin (tastselv/digital signatur).
20.59: Didn't work. Installing sun-java6-jre (so we meet again). Still not working. Trying to restart Firefox.
21.02: Nope. Rebooting ubuntu.
21:06: Success! Excellent.
20.59: Didn't work. Installing sun-java6-jre (so we meet again). Still not working. Trying to restart Firefox.
21.02: Nope. Rebooting ubuntu.
21:06: Success! Excellent.
TEXINPUTS and CAPSLOCK - again!
16.27: TEXINPUTS... the plot thickens! From a .log file from my newly compiled .tex file:
16.33: Still not working. And I didn't forget to sudo texhash it this time. The weird thing is,
16.34: Oh yeah, I reverted CapsLock to the default via System->Preferences->Keyboard->Layouts->Layout Options->CapsLock behavior. You can to all sorts of things but not disable it. Why? I don't want to do fancy stuff.
16.37: I'll probably just move siunitx.sty to /usr/share/texmf-texlive/tex/latex/.
16.39: Aand it's working. Still prefer the idea about locally installed LaTeX packages in the home dir, though. Anyways
/usr/share/texmf-texlive/tex/latex/SIunits/SIunits.styAnd from bash:
ltp@evillan:~$ kpsewhich SIunits.styTried with my other .sty files from ~/LaTeX/pakker too. All of them are in the texlive-full distribution now, it seems. Well, all except siunitx, my favorite package for typesetting (SI) units. That's probably why I'm having trouble with TEXINPUTS. I'll move siunitx.sty to ~/LaTeX/pakker and see what happens then.
/home/ltp/LaTeX/pakker/SIunits.sty
16.33: Still not working. And I didn't forget to sudo texhash it this time. The weird thing is,
ltp@evillan:~$ kpsewhich siunitx.styI also 'exec bash'ed it.
/home/ltp/LaTeX/pakker/siunitx.sty
16.34: Oh yeah, I reverted CapsLock to the default via System->Preferences->Keyboard->Layouts->Layout Options->CapsLock behavior. You can to all sorts of things but not disable it. Why? I don't want to do fancy stuff.
16.37: I'll probably just move siunitx.sty to /usr/share/texmf-texlive/tex/latex/.
16.39: Aand it's working. Still prefer the idea about locally installed LaTeX packages in the home dir, though. Anyways
ltp@evillan:~$ kpsewhich siunitx.styI don't recall having any problems with TEXINPUTS before. PATH, sure, but that was probably because of ignorance, but not TEXINPUTS. I'm still a n00b.
/usr/share/texmf-texlive/tex/latex/siunitx/siunitx.sty
Saturday, September 27, 2008
unrar, CapsLocks and codecs to totem
21.16: Installing unrar.
21.17: Having CapsLock as Esc is quite annoying. Will fix it later.
21.20: Installing "GStreamer ffmpeg video plugin" (via totem). Need it for an .avi.
21.26: (After reboot). Installing "GStreamer extra plugins." My god, after the reboot, CapsLock is now acting like Esc and Esc is now acting like CapsLock. The confusion ensues. Will deal with that later/tomorrow.
21.17: Having CapsLock as Esc is quite annoying. Will fix it later.
21.20: Installing "GStreamer ffmpeg video plugin" (via totem). Need it for an .avi.
21.26: (After reboot). Installing "GStreamer extra plugins." My god, after the reboot, CapsLock is now acting like Esc and Esc is now acting like CapsLock. The confusion ensues. Will deal with that later/tomorrow.
Disable CAPS LOCK
19.46: Added "xmodmap -e "remove lock = Caps_Lock"" to .bashrc, since I always accidently hit Caps Lock when typing fast.
20.01: Worked and then something happened. Put this code snippet in .bashrc instead:
20.06: What the fuck. It appears that CapsLock is functioning as Esc now (but Esc is thankfully not CapsLock). Whatever. If it bugs me to much, I'll have to find another solution. I also have to check what happens after a reboot.
20.01: Worked and then something happened. Put this code snippet in .bashrc instead:
Fingers crossed. Will se what happens after I log out. I remember 7.10 had a much easier solution to this, but I can't remember what I did.if [ "$PS1" ]; then
# Disables the bloody CapsLock button
xmodmap -e "remove lock = Caps_Lock"
fi
20.06: What the fuck. It appears that CapsLock is functioning as Esc now (but Esc is thankfully not CapsLock). Whatever. If it bugs me to much, I'll have to find another solution. I also have to check what happens after a reboot.
Kolourpaint, pdf viewers, games and internet stuff
9.38: Installing kolourpaint, my favorite lightweight (well, a least compared to the gimp) graphics editor. I'll also install the gimp after this.
9.40: I'm missing openoffice-writer. Weird. I do have Presentation and Spreadsheet. I think it was automatically removed when I removed the sun-java6-jre. Still, it doesn't make sense. Installing openoffice.org-writer now.
9.44: Wait, the gimp is already installed as default. They should provide a more lightweight graphics editor like kolourpaint. My DE is Gnome, but still. Definitely better than the "gnome paint" (can't remember name).
9:.46: Installing xpdf and kpdf. I have a thing for pdf viewers. Generally I think the default one on gnome (evince) is the best, but I've encountered a lot of pdfs that looked awful in one viewer and just fine in another.
9.50: Removing gnome-games. Just to be safe.
9.51: Installing lynx. My favorite terminal based web browser and just perfect when X11 is being random and I need to do stuff without the graphical interface.
9.53: Installing gftp. I actually quite like the one in Nautilus, but it's always good to have a back-up, just in case. gftp has a clumsy interface and I normally use the terminal based ssh anyway, but you know... I like to have multiple choices.
9.56: Installing alpine. Yeah. Don't really need it, but...
9.57: I guess that's it for now. I've probably forgot something, so I'll return to this blog everytime I do stuff on my lappie.
9.40: I'm missing openoffice-writer. Weird. I do have Presentation and Spreadsheet. I think it was automatically removed when I removed the sun-java6-jre. Still, it doesn't make sense. Installing openoffice.org-writer now.
9.44: Wait, the gimp is already installed as default. They should provide a more lightweight graphics editor like kolourpaint. My DE is Gnome, but still. Definitely better than the "gnome paint" (can't remember name).
9:.46: Installing xpdf and kpdf. I have a thing for pdf viewers. Generally I think the default one on gnome (evince) is the best, but I've encountered a lot of pdfs that looked awful in one viewer and just fine in another.
9.50: Removing gnome-games. Just to be safe.
9.51: Installing lynx. My favorite terminal based web browser and just perfect when X11 is being random and I need to do stuff without the graphical interface.
9.53: Installing gftp. I actually quite like the one in Nautilus, but it's always good to have a back-up, just in case. gftp has a clumsy interface and I normally use the terminal based ssh anyway, but you know... I like to have multiple choices.
9.56: Installing alpine. Yeah. Don't really need it, but...
9.57: I guess that's it for now. I've probably forgot something, so I'll return to this blog everytime I do stuff on my lappie.
ChemSketch and Marvin Beans
9.27: Aha! After some googling, I've found out that ChemSketch is generally not working under wine anymore. I have to install an older version of wine. Tried to disable the .dll as described in http://appdb.winehq.org/objectManager.php?sClass=version&iId=5846&iTestingId=13851, that didn't work. No surprise really, given that the comment is from 2006. I managed to get Marvin Beans (particularly MarvinSketch) to work, just needed to reboot the computer in order to get the PATH working. After that, I downloaded and unzipped the platform independent version (could not get the one for linux to work), moved it to /opt/ and added another line in PATH (PATH=$PATH:/opt/marvinbeans/bin/: in .bashrc). It's working now and the newer version looks swankaaay. Or something.
Well, it kinda sucks I can't get ChemSketch to work, but I do have the program installed on another computer (running XP) and I guess I don't need it that much anyway.
9.34: So that's about it for now. I still have a couple of things to do, but they're not urgent. I had a couple of other programs installed (gnumeric, gchempaint...), but I wasn't using them anyway. Really liked gnumeric though.
- Oh, I actually have to install something.
Well, it kinda sucks I can't get ChemSketch to work, but I do have the program installed on another computer (running XP) and I guess I don't need it that much anyway.
9.34: So that's about it for now. I still have a couple of things to do, but they're not urgent. I had a couple of other programs installed (gnumeric, gchempaint...), but I wasn't using them anyway. Really liked gnumeric though.
- Oh, I actually have to install something.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 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.
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.
Subscribe to:
Posts (Atom)