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

Saturday, May 24, 2014

How to Install and Calibrate Joystick in Ubuntu

How to Install and Calibrate Joystick in Ubuntu

~$ sudo apt-get update
~$ sudo apt-get install joystick
~$ sudo apt-get install jstest-gtk


To calibrate, open jstest-gtk from search key.

Friday, March 7, 2014

[How-to]Merge PDF files

In Ubuntu, this is how I merged my PDF files.


~# gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=finished.pdf fileone.pdf filetwo.pdf 
 
gs............................starts the Ghostscript program 
 
-dBATCH.......................Exit after processing files 
 
-dNOPAUSE.....................no user confirmation
 
-q............................no process messages 
 
-sDEVICE=pdfwrite.............PDF format
 
-sOutputFile=finished.pdf.....specify output filename

Friday, December 6, 2013

Ubuntu Desktop - What to install next?


Security

Sophos (Antivirus for Linux): See instruction here: https://www.sophos.com/en-us/products/free-tools/sophos-antivirus-for-linux.aspx
Avast Anti-virus: See instruction from here, http://kumpurmi.blogspot.com/2014/07/avast-linux-guide.html

Choose some security options from here, https://wiki.ubuntu.com/BasicSecurity
Firewall:
~$ sudo apt-get update
~$ sudo apt-get install gufw
   Run gufw in Dash and follow the instructions here,https://wiki.ubuntu.com/BasicSecurity/Firewall

Restrict Dash
~$ gsettings set com.canonical.Unity.Lenses remote-content-search none
   This will tell Dash not to search the internet.

System Settings > Security & Privacy > Search > Off
   This will tell Dash to exclude online searches from its displays.

Crypto
~$ sudo apt-get install seahorse-nautilus
   Nautilus plugin for GnuPG.

Multimedia Support

~$ sudo apt-get install flashplugin-installer
~$ sudo apt-get install vlc 
~$ install JAVA, http://kumpurmi.blogspot.com/2015/03/installing-java-on-ubuntu-1404lts.html
~$ sudo apt-get install ubuntu-restricted-extras
~$ sudo apt-get install libdvdread4
~$ sudo /usr/share/doc/libdvdread4/install-css.sh

~$ sudo apt-get install libav-tools  (This is a command-line video converter, avconv.)
~$ sudo apt-get install phonon-backend-vlc, minitube

~$ sudo apt-get install imagemagick  (This is a command-line for resizing image files that can work on multiple files in one batch.)

Archive Utilities

~$ sudo apt-get install rar

Internet

Google ChromeExtension:


Printer - Canon

~$ sudo add-apt-repository ppa:michael-gruz/canon-trunk
~$ sudo apt-get update
~$ sudo apt-get install cnijfilter-ip1900series

or download the driver from here, https://drive.google.com/file/d/0B4CqOxmp5noLdEdmT2lUZmtrLTg/edit?usp=sharing, and
and install the driver at Systems Settings > Printers > Add

Fix Flash

Download flash player installer.
~$ tar -xzf install_flash_player_11_linux.i386.tar.gz
~$ mkdir -p $HOME/.mozilla/plugins
~$ cp libflashplayer.so $HOME/.mozilla/plugins


Theme

~$ sudo apt-get install unity-tweak-tool

File Sharing

Install Filezilla from Ubuntu Software Center

Phone Manager

Wammu


Proprietary Device Drivers

Dash > Additional Drivers
Select device and appropriate driver offered by Ubuntu
Click Apply