Adsense code (2021-10-05)

Thursday, December 26, 2013

Install GTK+3 on Ubuntu

To install GTK+3 development tools on Ubuntu Linux, enter the command in terminal:

$ sudo apt-get install libgtk-3-dev


Change computer name for Ubuntu Linux

To change your computer name in Ubuntu Linux, you have to be the administrator of your system. Enter the command in Terminal:

$ gksudo gedit /etc/hostname

Edit the file /etc/hostname, replace the original computer name with new one. Then save and exit.

And also need to edit /etc/hosts, replace the entry of the original computer name with the new name.

$ gksudo gedit /etc/hosts

Then reboot your computer.

Thursday, December 19, 2013

Sublime Text, a sophisticated text editor for code, markup and prose

Sublime Text is a sophisticated text editor for code, markup and prose. It is available for OS X, Windows and Linux.

Sublime Text uses a custom UI toolkit, optimized for speed and beauty, while taking advantage of native functionality on each platform.

link: http://www.sublimetext.com/

Sublime Text
Sublime Text, a sophisticated text editor for code, markup and prose



Tuesday, December 17, 2013

Geany - small and fast code editor and IDE

Geany is a text editor using the GTK2 toolkit with basic features of an integrated development environment. It was developed to provide a small and fast IDE, which has only a few dependencies from other packages. It supports many filetypes and has some nice features.


To install geany:
$sudo apt-get install geany

Thursday, November 21, 2013

Get running Ubuntu version

To print the version of your running Ubuntu, enter the command:
$ lsb_release -a


Monday, September 9, 2013

Set title of Terminal

To saet title of Terminal, click Terminal option -> Set Title...

Set title of Terminal
Set title of Terminal

How to set command prompt in Ubuntu Linux

Enter the command to change command prompt in Ubuntu:

$PS1="<new prompt>"

set command prompt in Ubuntu Linux
set command prompt in Ubuntu Linux