jueves, 27 de febrero de 2014

FreeFileSync in Ubuntu 13.10

I've been uninstalling and installing stuff lately and this program is one of those. I have to search every time the commands to install it cause I just can't remember, so, here I will safe it as long as this blog exists :)

sudo add-apt-repository ppa:freefilesync/ffs
sudo apt-get update
sudo apt-get install freefilesync

That's it :)

martes, 18 de febrero de 2014

How to reconfigure the graphic interface in Ubuntu 13.04

Trying to fix a problem with my touchpad, I screw up the graphic interface. I am not sure what I did to the core files of the system, but once I reboot the system, it didn't show anything at all... Black page with a blinky pointer on it. 
So, first, I had to reboot again and right before it goes to black again, press Ctrl+Alt+F2 (that would take you to the command console). Set the login and password. 

Make sure everything is on the lastest version, so type:
sudo apt-get update && sudo apt-get upgrade
After this, you have 2 options. The thing is that this version of Ubuntu comes with a display manager called lightdm. You could remove all the files and reinstall it, or install a new one (which is also very common) named gmd. I will explain both (although it is almost the same process).

Installing Gdm
1. I made sure Gdm wasn't installed before (or with damaged packages)
sudo apt-get remove gdm
sudo apt-get purge gmd
sudo apt-get install gmd 
2. I removed all the xserver.xorg also, to reinstall them again
sudo apt-get remove --purge xserver-xorg
sudo apt-get install xserver-xorg
 3. Reboot the system or start gdm
sudo reboot 
or
sudo start gdm 

Installing (or reinstalling) LightDm
1. Type in the console
sudo apt-get remove lightdm
sudo apt-get install lightdm
sudo dpkg-reconfigure lightdm
At this point, a window will show up to select one of the two display managers. Pick one of the two, and now reboot or start one of the two from the console.

That worked for me!

 

lunes, 17 de febrero de 2014

Troubleshoot with ttf-mscorefonts-installer in Ubuntu

This is problem occurred right after installing an update for Ubuntu 13.0, and basically it doesn't allow me to install any other package in the system. The output for it is:

The package ttf-mscorefonts-installer needs to be reinstalled but I can't find a package for it. 

This means that even when opening the console and typing

sudo apt-get-install ttf-mscorefonts-installer 

won't find anything at all.

The problem was that at some point of one of the automatic updates, the internet connection broke and some packages of the installation couldn't update properly. Or that is what happened in my case, so, what I did was to update the system again, with this simple commands:

sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade
Right after, another console will pop up and it will show this 

┌─────────────────┤ Configuring ttf-mscorefonts-installer ├─────────────────┐

So I had to press the OK highlighted button at the bottom. 

And that was it!