Monday, May 26, 2014

Change gnome Windows Behavior

Purpose

To let the focus follows the mouse but doesn't raises the window 

How

use configuration Editor, and change the default value (click) of /apps/metacity/general/focus_mode to sloppy.


Sunday, May 25, 2014

Install OpenNX in Ubuntu 12.04

Ubuntu Version

lsb_release -a

Import key

wget -O - http://download.opensuse.org/repositories/home:/felfert/Debian_6.0/Release.key | sudo apt-key add -

add the following to the source list /etc/apt/sources.list:
deb http://download.opensuse.org/repositories/home:/felfert/xUbuntu_12.04 ./

Installation

sudo apt-get update
sudo apt-get install opennx

Usage

nxclient

Saturday, May 24, 2014

Google Drive Sync in Ubuntu 13.04

Installation

sudo add-apt-repository ppa:nilarimogard/webupd8

sudo apt-get update

sudo apt-get install grive

Using grive

mkdir ~/GoogleDrive
cd ~/GoogleDrive
sudo ln -s /usr/lib/libbfd-2.23.52-system.20130913.so /usr/lib/libbfd-2.23.2-system.so
grive -a   (only for first time configuration, after configuration, just use grive, this command should be run under the GoogleDrive directory)


Monday, May 12, 2014

Change Cadence Virtuoso Schematic Background Color

1- run icfb
2- Open a Terminal and type:
xrdb -query > xyz
3- return to specified folder. You should see the xyz file. Open this file in edit mode.
4- in the xyz file, change or add the option Opus.editorBackground from
black to your desired one. for example:
Opus.editorBackground: white
5- at the UNIX or LINUX prompt (e.g. the second terminal you opened), type:
xrdb -load xyz
6- restart your Cadence software

[from:http://www.edaboard.com/thread174506.html]

Friday, May 9, 2014

Open GUI in Remote Machine

Method 1: Use telnet

Assume the IP address of the local host is 128.100.2.16 and the IP address of the remote host is 17.200.10.5. Depending on the network you are on, you may also be able to use the computer names (domain names) instead of the IP addresses.
Step 1. On the local host
Type the following at the command line:
% xhost + 17.200.10.5
Step 2. Log on to the remote host
% telnet 17.200.10.5
Step 3. On the remote host (through the telnet connection)
Instruct the remote host to display windows on the local host by typing:
% setenv DISPLAY 128.100.2.16:0.0

Method 2: Use ssh

Connect to remote machine using ssh
ssh -X -C user@MyIp

this method is slow, though.


Method 3: Use nomachine or vncserver

Thursday, May 8, 2014

Setup Nomachine Connection in Ubuntu

1. disable firewall:
  sudo fw disable

2. check ssh:
  ssh localhost
if get an error:
 ssh: connect to host localhost port 22: Connection refused

then install the following:
 sudo apt-get install openssh-server