28 Dec 2011

TuxGarage: Tutorials, News, Troubleshooting: Run AWN / Dock in Natty Narwhal, instead of Gnome ...

This how to is probably the best most versatile and useful way to get AWN running in Ubuntu Linux. It adds a session option at the log in screen. So you don't touch the default setup. It is also a look into a very powerful world. Creating your own custom sessions.

TuxGarage: Tutorials, News, Troubleshooting: Run AWN / Dock in Natty Narwhal, instead of Gnome ...: If you want to use Avant Window Navigator (AWN) or another dock instead of the default panels/launcher in Natty Narwhal, there are multiple ...

20 Dec 2011

Reading the documentation in /usr/share/doc especially the .gz compressed files

Have you ever wanted to read the the documentation in the /usr/share/doc directory. If you install apache it makes it nice and easy to read all the documentation that comes with most Linux packages.
First install Apache2
$ sudo apt-get install apache2 apache2-doc
apache2-doc is the special case here. It allows you to browse your documentation /usr/share/doc/ through your web browser. from


This does not work out right though. you need to change the configuration of apache to get it to decompress and show the *.gz files as plain text.
I posted on Stackoverflow to get a way to use the apache to show the content of *.gz documents in the /usr/share/doc/ directory. This is what was posted as possible solution

Here are those instructions in brief. It tells apache how to deal with .gz files to process them as plain text and send them to the browser as plain text.
 sudo a2enmod headers
 sudo a2enmod deflate
 gksu gedit /etc/apache2/sites-enabled/000-default
Go to the bottom of the file and find the section with Alias /doc/ "user/share/doc/" and change it to look like this.
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/local/doc">
    Options Indexes MultiViews FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    Allow from ::1/128

    AddEncoding gzip gz
    <FilesMatch "\.gz$">
      ForceType text/plain
      Header set Content-Encoding: gzip

 sudo apache2ctl restart
Now you are done and can read your *nix documentation that comes with most packages.


I use the internet, and Google mostly to answer questions I have. Some times when I get an answer I have been looking for I post about it on my blog / social media. I recently found my favorite sight for interacting with like minded individuals. You would have come across stack exchange on some of your Google searches as well.

The community is not made up of normal's, but exceptional people. Who are very knowledgeable in the areas they contribute. The technical areas of programming, Linux, security and and language.  As a introvert I find my self clinking from question to the next to read all the different and interesting responses.
I spent some time answering questions as well.

how to copy an ubuntu install from one laptop to another http://askubuntu.com/questions/62340/how-to-copy-an-ubuntu-install-from-one-laptop-to-another/62383#62383

how are typical users expected to read the documentation in usr share doc http://askubuntu.com/questions/24072/how-are-typical-users-expected-to-read-the-documentation-in-usr-share-doc/29768#29768 with my answer http://askubuntu.com/a/29768/10998.

why do computers work in binary http://stackoverflow.com/questions/5165013/why-do-computers-work-in-binary/5167023#5167023

I highly recommend, using your Google account to create an account on stackexchange. To ask your technical questions here.