dimecres, 13 de març de 2013

How to edit a PDF file with Ubuntu

There is a very intuitive software to edit PDF files with Ubuntu called "PDF-Shuffler".

Open a terminal and:

ubuntu@ubuntu:~$ sudo apt-get install pdfshuffler

If you prefer editing your PDF files through a terminal, you can install pdftk

ubuntu@ubuntu:~$ sudo apt-get install pdftk

The pdftk official website can help you see examples on how to us it:

dijous, 31 de gener de 2013

Windows Fonts in LibreOffice with Ubuntu

Do you need to use the Windows fonts in your Libreoffice in Ubuntu?

Open a terminal in Ubuntu and:
ubuntu@ubuntu:~$ sudo apt-get install ttf-mscorefonts-installer 

to add them in all the applications:

ubuntu@ubuntu:~$ sudo fc-cache

Open Libreoffice, you should be able to use Windows fonts now.

dissabte, 19 de gener de 2013

Ubuntu problem. Error: unknown filesystem. Grub rescue

I try to write down the problems I sometimes deal with in Ubuntu, not only to keep the solutions in my blog in case I have the problem again, but also to help other people to solve the same problem.

A friend who is using Ubuntu 11.10 told me he had a problem. Just after turning on his computer, he got this message:

error: unknown filesystem
grub rescue> 

Here there are the steps I followed to solve it:

i.   Burn a Ubuntu Live CD. (I did it with Ubuntu 12.10, just right now the last version).

ii.  Open a terminal in the Ubuntu live session

iii. ubuntu@ubuntu:~$ sudo -s

iv.  ubuntu@ubuntu:~$ fdisk -l

(Now you see the partitions in your hard drive)


/dev/sda1  *             2048   968654847   484326400      83  
/dev/sda2       968656894   976771071      4057089        5  
/dev/sda5       968656896   976771071      4057088       82

v.   Choose your root partition. In this case, sda1.

ubuntu@ubuntu:~$ fsck /dev/sda1

Answer yes "y" to all the questions.

vi.  Reboot. Then, it should be solved.