Configuring the Number of Workspaces on Ubuntu 12.10

I typically like to have more than 4 workspaces for my X Windows sessions.

Under Ubuntu 12.10 there is a little trickey involved in updating the default configuration.

First you need to install the compizconfig-settings-manager.  This will enable you to configure the workspace switcher and some other system configs.  Be careful, this will also allow you to break things so only configure what you understand via compizconfig-settings-manager.

Install ccsm:

  • # apt-get install compizconfig-settings-manager

To run invoke (as root):

  • # ccsm
Continue reading “Configuring the Number of Workspaces on Ubuntu 12.10”

Running a Headless Virtual Machine under VMPlayer

If you want to run a headless VM under VMPlayer simply add the following to your vmware preferences file ($HOME/.vmware/preferences):

pref.vmplayer.exit.vmAction = “disconnect”

Restart VMPlayer and fire up your VM.  When you quit that VMPlayer instance it will ask you if you are sure that you want to quit and leave the virtual machine running.

When you quit the player the VM will now be running headless.→ Continue reading “Running a Headless Virtual Machine under VMPlayer”

Preventing resolv.conf From Being Automatically Overwritten with Each Restart or network restart

I am running CentoOS 6.3 and have set up a local nameserver.  As a result, I’ve customized my version of /etc/resolv.conf to include both the IP of my local nameserver as well as a domain and search configuration directives.

When I restarted the machine, or if I restarted networking resolv.conf was overwritten.

It turns out that the contents of the ifcfg-ethN files determine how the network scripts behave and how, or if resolv.conf is modified programatically.

To prevent this make → Continue reading “Preventing resolv.conf From Being Automatically Overwritten with Each Restart or network restart”