Friday, July 18, 2014

Install SketchUp Make 2014 into Ubuntu 14.04

Install SketchUp Make 2014 into Ubuntu 14.04

This post of Ji M exactly worked for me, http://ubuntuhandbook.org/index.php/2014/06/install-google-sketchup-ubuntu1404/ 

Summary:
1. Configure Wine > Applications > Windows Version
    Select Windows 7

2. Configure Wine > Libraries > New override for library
    Add riched20

3. Install SketchUp

4. Launch SketchUp with no RubyAPI by:
    SketchUp.exe /DisableRubyAPI
    or
    Edit the command on the application's desktop link.


Problem:
The application hangs at start-up immediately after selecting a template. Step no. 4 above corrected the problem.

Saturday, July 12, 2014

Avast Linux Guide

Download Avast Linux here:
http://files.avast.com/files/linux/avast4workstation_1.3.0-2_i386.deb
or from my backup:https://drive.google.com/file/d/0B4CqOxmp5noLNnFUQzFkSUZ0NU0/edit?usp=sharing

WARNING:
 Installation Procedure:
sudo dpkg -i avast4workstation_1.3.0-2_i386.deb 

On Kernel error try this: 
sudo sysctl -w kernel.shmmax=128000000
or to permanently effect the setting
echo sysctl -w kernel.shmmax=128000000 >> /etc/init.d/rcS


Installed Application
Executables from terminal
- avast
- avast-update
- avastgui

Error on Updating
When updating, the /home/[user]/.avast/400.vps will increase in size. If size breaches the size of kernel shared memory, a kernel error will again occur. Increase again the size of kernel.shmmax as instructed above.

References
https://forum.avast.com/index.php?topic=91145.0
https://forum.avast.com/index.php?topic=116665.0

Friday, July 11, 2014

Friday, July 4, 2014

How to resize pictures in Ubuntu

In Ubuntu, this is how I resize my image files

First, I installed imagemagick
~# sudo apt-get install imagemagick

To resize file individually
~# convert [imagefilename] -resize 1366 [newimagefilename]
  • The [newimagefilename] can be the same as the original filename if the original file is not intend not to be preserved.
  • 1366 will be the new size, change this with desired figure.
To deal with multiple files, I use loop like this: 

~# for file in *.JPG; do convert $file -resize 1366 $file; done