Add BootCamp on external HDD

1. Add a new virtual hard disk from within the Boot Camp VM settings (it should be Add Device… —> New Hard Disk) of IDE type (the size doesn’t matter, and probably it shouldn’t be of the split type), and save it – with a NameOfVMDK.vmdk name of your choice – inside your Boot Camp VM bundle (it should be the default position in the save dialog); close the VM settings and quit Fusion.
2. In the Terminal, type this command:
$ /Applications/VMware\ Fusion.app/Contents/Library/vmware-rawdiskCreator create /dev/diskX fullDevice ./Desktop/NameOfVMDK ide
… which will create the new .vmdk file on your Desktop.
3. Copy the newly created .vmdk into your Boot Camp VM bundle, thus overwriting the existing one (which was created from within the VM settings).
4. Open Fusion and the VM settings again and verify that the new IDE virtual disk now has the size of your real added hard disk.

Move Gnome window buttons

If you are used to left-side Close, Minimize, Maximize buttons, then can be moved by editing dconf.

  • If you are using Metacity (Gnome3 fallback), settings are located in:
    org.gnome.desktop.wm.preferences.button-layout
  • If you are using Gnome3, settings are located in
    org.gnome.shell.overrides

Contents of the given key must be:
close,minimize,maximize:

Fix print 4x scaling

My Linux printer was scaling down 4x times each printout, except ones from “document viewer”. Turned out that default option “Pages per sheet” in CUPS was reset to 4.

In order to set default value of “Pages per sheet” in CUPS to 1:
1)Stop cups: /etc/init.d/cups stop
2)edit file /etc/cups/printers.conf and set
Option number-up 1
3)Start cups: /etc/init.d/cups start

Increase rouncube attachment limit

1)Set global limits in file /etc/php5/apache2/php.ini:

upload_max_filesize = 32M
post_max_size = 32M

2)Set local limits in /usr/share/roundcube/.htaccess

php_value upload_max_filesize 16M
php_value post_max_size 17M
php_value memory_limit 256M

P.S. Perhaps you will need to adjust your Postfix SMTP server message size limit in /etc/postfix/main.cf

message_size_limit = 33554432