Wednesday, October 28, 2009
Right Click Open Terminal in current folder
nautilus-open-terminal runs on Gnome Windows manager and it allows you to right click in your file manager
and open up your terminal in the current folder. Clearly a very useful tool.
It used to be installed as a default application in many distributions but for some reason it was left out of Fedora 11
To add it back in simply type
sudo yum install nautilus-open-terminal
If it somehow got left out of your Ubuntu installation, then type
sudo apt-get install nautilus-open-terminal
You will need to restart your Gnome session to activate it.
Friday, October 23, 2009
How to Install Google Chrome on Ubuntu
edit the /etc/apt/sources.list file
sudo vim /etc/apt/sources.list
Add one of the following
For ubuntu 9.10 (armic) add the following two lines
deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu karmic main
For ubuntu 9.04 (Jaunty) add the following two lines
deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty mainFor ubuntu 8.10 (Intrepid) add the following two lines
deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu intrepid main
deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu intrepid mainSave the file
Next add the GPG key by typing:
sudo apt-key adv
--
recv-keys--
keyserver keyserver.ubuntu.com 0xfbef0d696de1c72ba5a835fe5a9bf3bb4e5e17b5Update the source list. by typing
sudo apt-get update
Install chromium by typing
sudo apt-get install chromium-browser
Done
Monday, October 19, 2009
Clone a hard Drive
Good, easy way to clone a hard drive.
dd which is used for converting and copying files, can be used as a powerful and simple image cloning application.
dd if=/dev/hda of=/dev/hdb
done
if you want to see your progress
then type in another terminal
kill -SIGUSR1 xxxx
were xxxx is the process ID of the running dd process
and the progress will report on the original terminal that you started your cloning operation on.
Wednesday, October 14, 2009
share a single mouse and keyboard accross multiple computers
you have 3 PC's on your Desk. One running Linux , One running MAC OS and the other running Windows XP.
all 3 with their own Monitor .
wouldn't it be cool, to be able to use the same Mouse and keyboard for all 3 PC's. and to be able to copy and paste, Text, Images and HTML content between the PC's.
No Problem, (drum roll...) ... in steps Synergy.
Synergy lets you share a single mouse and keyboard between multiple computers with different operating systems, each with its own display.
Redirecting the mouse and keyboard is as simple as moving the mouse off the edge of your screen. Synergy also merges the clipboards of all the systems into one, allowing you to cut-and-paste between systems. it also synchronizes screen savers so they all start and stop together.
Synergy uses TCPIP to communicate mouse position and keyboard keystrokes between the PC's. So all you need for Synergy to work is to have your PC's connected to the same network. (No additional hard ware is required)
you can download synergy from http://synergy2.sourceforge.net/
Tuesday, October 6, 2009
Shutdown a Windows Machine from your Linux Machine
Ever need to reboot or shutdown a Windows machine on your network, from your Linux workstation.
No problem.
or
yum install samba-common package
net rpc shutdown -I ipAddressOfWindowsPC -U username%password
This will issue a shutdown command to the Windows machine. username must be an administrator on the Windows machine.
Other commands are:
net rpc shutdown -r : reboot the Windows machine
net rpc abortshutdown : abort shutdown of the Windows machine
Type:
net rpc
to show all commands