PDA

View Full Version : Tricks



zero-n
October 11th, 2009, 07:05 PM
Run Num Lock key on startup:

1- First you need to download the script that will run num lock.

sudo apt-get install numlockx

2-

gksu gedit /etc/gdm/Init/Default

3- add this statment to the file beginning.

if [ -x /usr/bin/numlockx ]; then
/usr/bin/numlockx on
fi

4- done do a restart to check it.



Add time & date to history command :

1- open the bashrc file:

gedit $HOME/.bashrc

2- in the eof add this line

export HISTTIMEFORMAT="%h/%d - %H:%M:%S "

3- done (but to may need to logout & in )


Source (http://www.linuxac.org/forum/linuxac43/thread25345.html)