Updates from December, 2010 Toggle Comment Threads | Keyboard Shortcuts

  • Tushar Neupaney 9:26 am on December 23, 2010 Permalink | Reply  

    Ubuntu 10.10. What I did to my computer. 

    After installing Ubuntu 10.10 into my computer the following are the list of software and tweaks i did to my computer. If you like it you can use it.

    1. Installed Firefox addons:
    a. Adblock Plus
    b. DownloadHelper
    c. Download Statusbar
    d. FaviconizeTab
    e. Fission
    f. Greasemonkey
    g. Omnibar
    h. Smart Stop/Reload
    i.  SmoothWheel
    j.  Stylish (installed the style: Highlight Input&Textarea)
    k. Firebug
    l. FireFTP
    m. Chromifox Basic

    And Did the following Tweaks

    (More …)

     
    • Mat 3:46 pm on January 17, 2011 Permalink | Reply

      Good job… glad to see someone so thorough. I thought I was the only fastidious person out there. Recommending this to fellowship of Linux users.

    • nethermann 11:45 pm on August 1, 2011 Permalink | Reply

      To create a cheap-o Artha dockley with Docky, create a 1×1 pixel transparent artha.png, then move it to /usr/share/pixmaps/artha.png. This eliminates the tray icon, but artha will still be running in the tray. Then add your artha launcher to the docky panel. You will get your hotkey definition notifications, and can use the docky icon to open artha. Viola – a docky handler for artha!

    • rishidev 4:34 am on March 23, 2012 Permalink | Reply

      the best and most useful info at one stop!!……………………
      excellent site.

  • Tushar Neupaney 6:04 am on July 1, 2010 Permalink | Reply
    Tags: , , service, stop,   

    stop mysql from running at startup 

    My Linux box was running mysql from the start and I did have no clue. It was not in my startup applications list, neither in my init.d folders.

    But whenever i did nmap of localhost, i could see the mysql port open. I could kill mysql service, need to kill it multiple times, only then it used to die.

    I even installed “sysv-rc-conf” so that i could stop it at run levels, but it was not running at any runlevels. I then did “update-rc.d mysql disable”. Which didn’t work either.

    Later I found that there was a file called “mysql.conf” in /etc/init/ folder. I renamed the file to mysql.conf.disabled and it worked out. Hope this will help others who have the same problem.

     
  • Tushar Neupaney 8:33 am on May 26, 2010 Permalink | Reply  

    Lookup details of an IP or Domain (whois lookup) graphically 

    By using the following script you can easily lookup for an ip or domain using zenity and shell script. (sorry Windows folks, i just hate you).

     

    #!/bin/bash
    # Get the domain name
    Z=”/usr/bin/zenity”
    O=”/tmp/whois.o.$$”
    domain=$(${Z} –title  “Domain Information” \
                    –entry –text “Domain name who’s information you seek!” )

    if [ $? -eq 0 ]
    then
        whois $domain  | tee >${O}
     
      # Display back output
      ${Z} –width=800 –height=600  \
                   –title “Whois info for $domain” \
                   –text-info –filename=”${O}”
    else
      ${Z} –error \
                   –text=”No input provided”
    fi

     

    Enjoy. 😀

    Posted via web from Linux fanatic

     
  • Tushar Neupaney 11:18 am on April 8, 2010 Permalink | Reply  

    oh i am back in ruby! 

    After a long time, I am back and am back in ruby too.
    doing new things in ruby.

    class linuxfanatic 
      def says(message)  
        puts message  
      end  
    end  
      
    tushar = linuxfanatic.new  
    tushar.says “oh i am back in ruby!” 

     

    Posted via web from Linux fanatic

     
  • Tushar Neupaney 11:09 am on March 30, 2010 Permalink | Reply  

    Find latitute and longitute in google maps. 

    To make this script work the map must have some point to the center. Else, click on the center of the map of whose you want longitute and latitute and then paste the following in your browser. You will get your result.

    javascript:void(prompt(”,gApplication.getMap().getCenter()));

    Posted via web from Tutorial Universe

     
  • Tushar Neupaney 6:18 am on March 22, 2010 Permalink | Reply  

    Make Your Linux Box Blazing fast! 

    This list is compiled for my personal use, should work for anyone. Try the followings:

    1. Use lighter applications (Replace your default applications with them)

    Gedit >> Mousepad
    Picture viewer (EOG …) >> Gpicview
    Network Manager >> Wicd
    Evince >> epdfview

    2. Increase Swappiness

    $ sudo vim /etc/sysctl.conf
    Edit: vm.swappiness=10

    3.  For dual cores (Use Concurrency)

    $ sudo vim /etc/init.d/rc
    Edit: CONCURRENCY=shell

    4. Clean up apt cache at /var/cache/apt/archives and unneccessary apt-sources list in /etc/apt/sources.list

    $ sudo apt-get autoclean

    5. Install BUM (Boot Up manager)

    $ sudo apt-get install bum

    Remove unneccessary applications and services from startup

    6. Remove some unneccessary TTY’s

    $ sudo vim /etc/default/console-setup
    Edit: ACTIVE_CONSOLES=”/dev/tty[1-3]”

    Note: goto /etc/event.d/ and change the tty’s files that you DONOT want. Edit them and comment lines starting with “start on runlevel”. So, in this case, you’ll comment the start line in tty4..tty6 files.

    7. Install Prelink

    $ sudo apt-get install prelink
    $ sudo vim /etc/default/prelink
    Edit
    : PRELINKING=Yes
    $ sudo /etc/cron.daily/prelink

     8. Install Preload

    $ sudo apt-get install preload

    9. Get rid of kinit if you don’t use hibernate and sleep functions.

    $ sudo vim /etc/initramfs-tools/conf.d/resume
    Edit: Comment (Put # in front of) RESUME=XXXX…………………….

    [Disclaimer] Administer the following at your own risk.

    Posted via web from Linux fanatic

     
  • Tushar Neupaney 6:30 am on January 14, 2010 Permalink | Reply
    Tags: .vimrc, Configuration, Editor, , , , Vim   

    My .vimrc file 

    Vim is the editor of my choice for my linux box. I have configured my .vimrc file in my ubuntu.

    ————————————————————————————————————-

    ” Tushar Neupaney’s VIMRC File
    ” Followme twitter.com/tneupaney
    ” linuxfanatic.posterous.com

    ” (sw)shiftwidth: how many columns text is indented with reindent operations
    ” (sts)softtabstop: how many columns vim uses when you hit tab
    ” (ts)tabstop: how many columns a tab counts for
    set ts=4 sw=4 sts=2

    expandtab: appropriate number of spaces in insert mode
    set expandtab

    ” Make gvim colorscheme as evening
    if v:progname =~? “gvim”
    colorscheme evening
    endif

    ” Prevents keeping of backup after overwriting the file
    set nobk

    ” To see line numbers on the left
    set number

    autocomplete parenthesis, brackets and braces
    inoremap ( ()<Left>
    inoremap [ []<Left>
    inoremap { {}<Left>

    Syntax highlighting on
    syntax on

    share windows clipboard
    set clipboard+=unnamed

    Hightlight the curent column
    set cursorcolumn

    Hightlight the current line
    set cursorline

    ——————————————————————————————-

    Here is the Screenshot!

     
  • Tushar Neupaney 12:23 pm on January 13, 2010 Permalink | Reply  

    [Solved] Wireless Driver for Compaq CQ40 (bcm4312) 

    Trying out ubuntu in our new office laptops the Compaq CQ40, I found out that the wireless driver was not working. To find out the actual wirelss device installed in the system I tried the following commands:

    1. lshw -C network

    This gave me the product result as BCM4312 802.11b/g from Broadcom Corporation. Tried a lot of googling and found that you could download a file from broadcom here. And do the following! While this works for me.

    # Removing previous instances of wireless drivers if any
    1. lsmod | grep “b43\|ssb\|wl”
    2. rmmod b43
    3. rmmod ssb
    4. rmmod wl

    # Prepare the device driver from the file that you’ve downloaded
    5. cd to the downloaded file
    6. make clean
    7. make

    # Blacklist previous drivers
    8. echo “blacklist ssb” >> /etc/modprobe.d/blacklist.conf
    9. echo “blacklist b43” >> /etc/modprobe.d/blacklist.conf
    10. echo “blacklist wl” >> /etc/modprobe.d/blacklist.conf

    # Install the driver
    11. insmod wl.ko

    🙂

     

    Posted via web from Linux fanatic

     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel