Friday, December 7, 2012

Solaris 10: Vim and MC - Can't live without it

Installing Vim:
1. Unzip all packages needed:
# gunzip libgcc-3.4.6-sol10-sparc-local.gz
# gunzip glib-1.2.10-sol10-sparc-local.gz
# gunzip gtk+-1.2.10-sol10-sparc-local.gz
# gunzip ncurses-5.7-sol10-sparc-local.gz
# gunzip libiconv-1.11-sol10-sparc-local.gz
# gunzip libintl-3.4.0-sol10-sparc-local.gz
# gunzip vim-7.2-sol10-sparc-local.gz

Friday, March 30, 2012

Fixing SSH connection Cisco VPN Client in Ubuntu Oneiric

1. To make NetworkManager connect to Cisco VPN. Update your NM packages. http://ubuntuforums.org/showthread.php?t=1750132

2. VPN connected.

3. SSH failed to connect

kholis@kalau:~$ ssh -v user01@192.168.1.2
OpenSSH_5.8p1 Debian-7ubuntu1, OpenSSL 1.0.0e 6 Sep 2011
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 192.168.1.2 [192.168.1.2] port 22.
debug1: Connection established.
debug1: identity file /home/kholis/.ssh/id_rsa type 1

Friday, February 3, 2012

Fix missing flag xfce4-xkb-plugin

When I use this plugin to change the keyboard layout to arabic. Text "ara" is appear instead of arabic flag.

I see arabic flag in /usr/share/xfce4/xkb/flags/ which has name sa.svg. To display flag in panel, simply copy or make link to ara.svg from that file.
$ cd /usr/share/xfce4/xkb/flags/
$ sudo ln -s sa.svg ara.svg


Wednesday, February 1, 2012

Hatteland 3M Microtouch Driver on Linux

The original driver work well if using default serial port, but it doesn't work for USB to Serial converter. If you have this problem, you can use open source mtouch driver in linux.

1. Detect your usb device
$ dmesg | grep usb
Usually /dev/ttyUSB0

2. Install mtouch driver
$ sudo apt-get install xserver-xorg-input-mutouch

3. Install inputattach to make the device using mtouch driver
$ sudo apt-get install inputattach
In other distro, it packaged as xinput-utils.

4. Connect the device
$ sudo inputattach -mtouch /dev/ttyUSB0

5. You can calibrate it by using xinput_calibrator
$ sudo apt-get install xinput-calibrator

Thursday, January 5, 2012

Oblivion theme for Netbeans

I found Oblivion theme for netbeans in this blog but there many differences compare to the original one (gedit) in Java code. I made some little modification of it. Here is the result:

You can download it here.