Ubuntu Technical

Ubuntu technical problems and solutions reference, a modern cookbook.

Tag Archives: ubuntu 12.04

Unity Glass Tweak

I have just downloaded the nice looking Unity Glass nicely packed into a .deb package by the Spanish Ubuntu blog

For now it looks super cool and slick, and I am happy with this tweak. So, I am writing this post just to have a way of reminding myself how to uninstall in case it starts behaving badly 🙂

sudo apt-get --reinstall install unity

Cheers



Flattr this

Advertisements

Compress and Extract files with tar.gz

Or simply building a “tarball” as it is sometimes called. Even though this is a trivial task, I found myself quite often looking for the command, better yet for the options, because I tend to forget. So why not look for the command on my own blog.

Creating a tar archive

cd location_of_files_to_be_archived
tar cvzf name_of_archive.tar.gz *

Parameters explained:
– c – create
– v – verbose output
– z – –gzip, –gunzip, –ungzip filter the archive through gzip
– f – use the following file for archive

Note: The f option needs to be the last in the list of parameters. Whatever characters are following f, will be the name of the tarball.

Extract a tar archive

cd location_of_files_to_be_archived
tar xvzf name_of_archive.tar.gz *

Parameters explained:
– x – extract

Cheers



Flattr this

Sound problems after Ubuntu 12.04 upgrade

I have managed to make my first successful migration since I am using Ubuntu. Of course successful is a relative term. I had a few issue, among them was my sound. I had no sound from my OS or Rhythmbox. I did have sound from movies (probably due to the fact that my VLC drivers/codecs were installed correctly, and I also had sound in Google Chrome on youtube

I found the solution to my sound problem on SoundTroubleshootingProcedure.

For me the first tip did the job:

sudo add-apt-repository ppa:ubuntu-audio-dev/ppa; sudo apt-get update;sudo apt-get dist-upgrade; sudo apt-get install linux-sound-base alsa-base alsa-utils gdm ubuntu-desktop  linux-image-`uname -r` libasound2; sudo apt-get -y --reinstall install linux-sound-base alsa-base alsa-utils gdm ubuntu-desktop  linux-image-`uname -r` libasound2; killall pulseaudio; rm -r ~/.pulse*; sudo usermod -aG `cat /etc/group | grep -e '^pulse:' -e '^audio:' -e '^pulse-access:' -e '^pulse-rt:' -e '^video:' | awk -F: '{print $1}' | tr '\n' ',' | sed 's:,$::g'` `whoami`

Cheers



Flattr this

%d bloggers like this: