Archive for Dezember 2007

h1

Fixing suspend and hibernation in ubuntu….

Dezember 20, 2007

You might have noticed that the suspend and hibernation function in ubuntu/kubuntu won’t work. While there’s no official fix, you might find this work around helpful, hope you enjoy!

Most people need hibernation for their laptops.
step is to install a tool called «uswsusp»

    sudo apt-get install uswsusp

And by typing the below command you check if the suspend function works now….
sudo s2ram
Same goes for hibernation

sudo s2disk

Read the rest of this entry ?

h1

working with LaTex

Dezember 7, 2007

LaTex Logo

LaTex (pronounced La-Tech) is a document markup language and document preparation system for the TeX typesetting program.

I’ve been using it to write a paper for university so I’ll be sharing my knowledge that I gained so far here with you.

Let’s start with the basics, you will need a LaTex Editor to write your text in, because you cannot just write it in MS Word or OpenOffice Writer and compile it from there. Just to set the record straight, LaTex is a markup language, which uses commands to make your text look bold, coloured or any other text alignments you want to put it in.

The output of your LaTex document will be a .pdf file, as soon as you compile it. This usually does the editor for you. So make sure you have the Adobe Reader or any other tool that can open/read pdf documents installed, so you can actually read your finished document 😉

For instance, if you want to put your text in italics you need a command like \textit{your text in italics}. But more of that later!

Back to the LaTex Editor question, which one to choose? Well, first of all it depends on the operating system that you’re using. I’m using Linux (a unix based operating system) therefore I chose to use Kile (http://kile.sourceforge.net/).

If you’re using Windows, you might want to use these editors – as they’re all free software:

However, there are also multiplatform editors which should work on all operating systems. There’s a plugin for example for the Eclipse Editor, and even LaTex-Suite-Plugin for the popular Vim text editor.

Which editor you may choose, make sure you’re comfortable using it – this means it meets your needs and is not too complex to use. You’re better off to start lowkey, with a basic functionality.

Read the rest of this entry ?

h1

the big bash commands list….

Dezember 5, 2007

Yes, this is my first attempt of creating a list of useful, everyday bash commands – as I find myself constantly in the situation looking for a specific bash command. If you’re unlucky, googleing the right command (especially if you don’t know what it’s called) can cost you several minutes if not hours.

So this will save me and hopefully you as well, the next time plenty of time. If you think there’s an important command still missing, which is more than likely, feel free to leave a comment with the command and a short explanation what it does.

Very special thanks to Bernd for the idea and his input! Thank you!

Read the rest of this entry ?