Friday, 24 March 2017

how to set display resolution permanently even after reboot

Use System -> Preferences -> Display menu option or gnome-display-properties tool to configure desired display resolution for user.

This tool will create '~/.config/monitors.xml' file which will be referred each time upon user login.

The same file can be copied to /var/lib/gdm/.config/ directory for gdm to have that display resolution upon reboot.

Friday, 20 January 2017

Increase Disk Size VirtualBox Host CentOS 6.5 and guest windows 7

Power off the guest virtual machine.

#VBoxManage modifyhd /root/VirtualBox VMs/windows/windows.vdi --resize 46080

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

That will resize a virtual disk image to 45GB.

After that check the disk management in windows 7 then you will find unallocated space. allocate that space to drive.

that's it.