track ip addresses, lookup mac addresses, etc

My Linux Settings and Configuration Files

Published on January 01, 2006

Listed below are configuration files for my Linux partition.

Mouse Settings for left-handed users

By default, the mouse is set up for right-handed users. If you are left-handed you can reverse the buttons. To do this, create a file in your home directory called .Xmodmap. Then put this single line in it.

pointer = 3 2 1

Then run the following command only once. You will never need to run the command again.

xmodmap .Xmodmap

From now on, your mouse is a left-handed mouse.

If this does not work, maybe you have a Logitech mouse or a 5 or 7 button mouse. To check the number of keys you have, run the command.

xmodmap -pp

My .Xmodmap file has this:

pointer = 3 2 1 7 6 4 5

Startup files

My .tcshrc file

    
# .tcshrc coded by arul john

alias c clear
alias rm rm -i
alias p pine -i
alias n frm -s new # new mail
alias f finger
alias ls ls --color=tty -F
alias emacs emacs -nw # to prevent X display of emacs
# alias ls gls --color=tty -F

#Foreground colors: 
#30=black, 31=red, 32=green, 33=yellow, 34=blue 
#35=purple, 36=turquoise, 37=white 

#Background colors: 
#0=transparent, 40=black, 41=red, 42=green, 43=yellow, 
#44=blue 45=purple, 46=turquoise, 47=white 

set prompt='%{\033[1;31m%}[%m]%{\033[0;32m%}%~%{\033[0;35m%}%%%{\033[0m%} '

My `.emacs` file

; Arul's .emacs file
; ==================

; Font lock
(if (fboundp 'global-font-lock-mode)
    (global-font-lock-mode t))
; Set fonts
(set-face-font 'default "-*-courier-medium-r-*-*-12-*-*-*-*-*-*-*")
; Maximum colors
(setq font-lock-maximum-decoration t)
; Default display colors
(set-face-foreground 'default "green")
(set-face-background 'default "black")
(set-face-foreground 'modeline "ivory")
(set-face-background 'modeline "LightSeaGreen")
(set-face-foreground 'highlight "yellow")
(set-face-background 'highlight "blue")
(set-face-foreground 'bold "ivory")
(set-face-background 'bold "black")
(set-face-foreground 'italic "gold1")
(set-face-background 'italic "black")
(set-face-foreground 'bold-italic "gold")
(set-face-background 'bold-italic "black")
(set-face-background 'isearch "bisque3")
; Set tab width to 4
(setq default-tab-width 4)

; Highlight during query
(setq query-replace-highlight t)
; Incremental search highlights
(setq search-highlight t)
; Highlight blocked region or not
(setq-default transient-mark-mode t)

; Inhibit startup message
(setq inhibit-startup-message t)
{ % include 'ajrwd' %}

Disclaimer: Our website is supported by our users. We sometimes earn affiliate links when you click through the affiliate links on our website.

Published on January 01, 2006

← Previous Post Changing file system from Ext2 to Ext3 in Debian

Installing a webcam in Linux Next Post β†’

{ % include 'footer' %}