Category Archives: Uncategorized

Ubuntu Kernel Clean up

The following deletes all old kernels except for the current one in use.

sudo apt-get purge $(dpkg -l ‘linux-*’ | sed ‘/^ii/!d;/'”$(uname -r | sed “s/\(.*\)-\([^0-9]\+\)/\1/”)”‘/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d’ | head -n -1) –assume-yes

Dell Monitor Stuck in Power Save Mode

“Throughout the last six months I’ve come across computers at my work with monitors that just wont display at all. Instead I get the message, “Monitor is in power save mode, activate using PC.” Now this is happening when the PC is booted and running. Beyond turning on the PC’s power, how can you activate the monitor? Is this message an indication of some other problem?”

As someone who routinely runs into this issue, I’ve also been wondering about this for the last few months. I bought an old Dell E176 on Ebay for console access. Recently when I needed it for upgrading a few computers, this became a issue. After reading through the forum posts, it’s clear that Dell monitors have problems with there memory settings (in the monitor’s hardware, not the PC) and coming out of power save mode.

Solution

Unplug the power cord for the monitor from the wall and wait for about 10 seconds, then replug-in the monitor. This should force the monitor to come out of sleep mode and re-calibrate it’s settings. Unplugging the VGA/DVI cable doesn’t do this.

Afterwards, set your desktop power settings to never sleep the monitor. Otherwise, do the aforementioned again.

 

Zimbra 8 – Adjust max attachment size for email

This sets the maximum attachment size to 50 megabytes. Log into the shell account and type the following:

su zimbra
zmprov mcf zimbraMtaMaxMessageSize 50000000
zmprov mcf zimbraFileUploadMaxSize 50000000
zmprov mcf zimbraMailContentMaxSize 104857600
zmprov modifyConfig zimbraMtaMaxMessageSize 5048000
postfix reload

Then restart zimbra

zmcontrol restart