Archive for the ‘ Bash ’ Category

Enable Compiz-Fusion on your GDM Login

One of the things that really bothered me about the GDM was no Compiz-Fusion Shadow around the login window. Compiz is obviously not present for good reason but it is possible to enable Compiz-Fusion on GDM if you can run Compiz. About 2 weeks ago I finally decided to mess with this a bit and found a way to do so that is quick and easy. ;)

Read more

Xorg Memory Leak Fix for Lucid 10.04 and Maverick 10.10 ATI Proprietary fglrx

As much as this should be fixed by now, it is not. A real and true memory leak fix does not exist and probably won’t for quite some time. However, the bash script below will free memory in X every 60 seconds when using the proprietary fglrx driver. I am not sure if the memory leak is in fglrx or X. The leaks do not exist on the open source drivers, but, who knows.
Read more

Evolution Mail 2.26.1 – Not deleting trash

After switching from windoz to Linux, I immediately started using Evolution Mail after being an Outlook user for many years. Evolution in many ways is better than Outlook besides being free, but there is a small issue.

Sometimes, somehow and someway the client loses sync with folders and this little bash script will fix the problem. I originally found this on the Ubuntu forums a few months ago.


#!/bin/bash
# see http://ubuntuforums.org/showthread.php?t=974536
cd $HOME/.evolution/mail
echo "Deleting .index(s)";
find -name "*.index" -exec rm {} \;
echo "Deleting .ev-summary(s)";
find -name "*.ev-summary" -exec rm {} \;
echo "Deleting .cmeta(s)";
find -name "*.cmeta" -exec rm {} \;
echo "Done.";

Bash script to automate mounting and unmounting of nfs shares

This is a small script I wrote that automates creating a directory for the mount point and then mounts the nfs share on that diretory. It also accommodates removal when needed and unmount’s the nfs share and removes the directory that was created.

Read more