Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Tuesday, November 12, 2013

Auto reboot on VirtualBox

If you ever get a linux on continuous reboot for some kind of 'virtual hardware' issue, it could be a real nag!!

# VBoxManage setextradata <VMNAME> "VBoxInternal/PDM/HaltOnReset" 1

This will do the trick!!

[ trackback ]

Thursday, October 29, 2009

Ubuntu & NVidia :: Dual screen setup and gnome-panel

Dual monitors, set up with nVidia TwinView in a way that the gnome-panel does not stretch across the whole desktop but is only on one monitor.

Now I want to add another panel on the second monitor, but if I create a new one, I can only add it to the primary display.

Solution:
  • add a new panel as usual
  • run gconf-editor and go to apps/panel/toplevels/panel_
  • set the variable "monitor" from 0 to 1
And that's it!

[ trackback ]

Saturday, August 15, 2009

VMware machine on Linux over NTFS

When you get any VMware host software on Linux (Server or Workstation) running any guest on NTFS filesystem, you get ntfs-3g to 100% CPU usage on a regular basis.

This can be overiden by setting
  • mainMem.useNamedFile=FALSE
in the .vmx definition file.

This gets 'mount.ntfs-3g' CPU usage back to manageable levels... 3~10%.

Sunday, July 29, 2007

Adding missing GPG key for custom repositories

Option 1:

wget [URL].gpg -O- | sudo apt-key add -

Option 2

#!/bin/bash
gpg --keyserver subkeys.pgp.net --recv $1
gpg --export --armor $1 | sudo apt-key add -