Determining the base directory of a bash script

While writing bash scripts, I find it a good idea to put reusable functions into their own scripts and then source them into other scripts. This means that one must use the source /file/to/source call to load these files. To be able to do this, the bash script must know where the scripts to source […]

Ubuntu 10.04 and Lucid Lynx: No icons in menu or buttons

For the Ubuntu 10.04 Lucid Lynx, the developers decided to remove the Interface tab in System -> Preferences -> Appearance. What made them do that I can not fathom. Yet there is (still) an option to put the icons back. You can put it back for all new users by adding the following two lines […]