Friday, May 8, 2020

How to share folders between Windows and Ubuntu running in Virtualbox

  1. Create a folder on window host machine e:\Win7SharedFolder
  2. Start vitrualbox >> Settings >> General >> Advance >> set Shared clipboard = Bidirectional ; Set Drag n Drop = Bidirectional 
  3. Start vitrualbox >> Settings >> Shared folder >> add new shared >> browse the folder e:\Win7SharedFolder
  4. Start the Linux Virtual machine >> Oracle VM virtualBox  menu >> Devices >> Insert Guest Additions CD Image  >> Install guest additon 
  5. Create a folder UbuntuSharedFolder on Ubuntu Home  
  6. On terminal run below command :  
        $ sudo mount -t vboxsf  Win7SharedFolder UbuntuSharedFolder


       keeping both folders same in windows and Linux also works like below: 
       $ sudo mount -t vboxsf  WinUbuntuShared  WinUbuntuShared

Friday, April 13, 2012

Linux words Equivalent in Windows

Linux                     -                             Windows

Launcher             -                              Start menu

Synaptic Package Manager  -      Add remove programs in control panel

 %%%                    --                             Task manager

Dash                      --                             Start Button


rest i will keep updating as i will learn :-)

send me more if you have at RavinderSanjay@gmail.com

Saturday, February 18, 2012

How to create Linux partition on windows as dual boot system

If you are using windows operating system on your computer and want to install Linux also as dual boot system   but you are new to Linux environment  and dont know nothing about how to partition hard disk ,  this blog is the right place for you .

Lets learn how to install Linux  (Ubuntu 11.10) step by step on you system.

Step 1.  (Preparing the Bootable Linux CD/ Pendrive)
Go to  http://www.ubuntu.com/download/ubuntu/download to download Ubuntu Linux

Step 2.  click here to create a bootable pen drive

Step 3.(Back up you data from Last drive )

I will explain this with an  example
Let's assume that you have 240 GB hard disk in your system .

Drive Letter       Space              Label
C Drive                50 GB               [Window]
D Drive               90 GB               [Data]
E Drive             100 GB               [Movies]

Now move   all the data from E Drive[Movies] to D Drive [Data]


Step 2.(Partitioning the Hard Disk )

Now your  E drive is empty   after moving all data to D drive .
Now we want to make a below partitions for Linux

20 GB drive for Linux  and other software installation and user data
  6 GB Partition for Swap  drive  [Swap drive size should be at least double of your system RAM size, I have 3 GB RAM in my system in this example ]

Go to Control Panel --> Administrative Tools -->        --- > Disk Manager
Divide/ Resize  the E drive into 74 GB + 20 GB + 6 GB sizes = 100 GB (total size of E drive)


Restart the system and boot with Bootable Pendrive / CD

For 20 GB drive select " / "  from mount dropdown  box  and ext3  file format
Example : /dev/sda6 ext3 52428 MB


For   6 GB drive select Swap                                                                          
Example : /dev/sda7 swap 5494 MB




 


Saturday, February 11, 2012

why Ubuntu ( Linux ) is better than Windows

Ubuntu ( Linux )  is better than Windows due to  following reasons:

- The hard drive does not need to be de-fragmented
- Hard drive can be encrypted for extra security
- Faster file system (EXT4)
- No viruses, no malware
- Stable stand-by mode
- Fun to use
- Continues to work great even on older hardware
- Excellent support through the Ubuntu user community
- Network friendly
- Ubuntu is free !
- Linux has no registry
- 35,000 plus free excellent  softwares available in linux
- Never needs to be re-booted
- No annoying pop-ups telling you that an upgrade is available. Ubuntu updates all
  installed software in one single action.
- Around 300 different Linux distributions available (like windows have win95, 
   win98,    win2000, winXP, Win7, win8)
-Many windows based software can also be run using Wine utility



Different Linux distributions use different desktop environments ( windows have only one desktop look and feel environment  ). The two big ones are KDE and GNOME.  Other environments  are :

GNOME
KDE
LXDE
FLX
XFCE
Fluxbox
Openbox
Kubuntu
KDE plazma desktop, (http://it-diary.com/linux/ubuntu-linux/install-kde-plasma-desktop-ubuntu-11-10/)
Unity
Classic
GNOME Shell


Razor-qt
Awesome WM
E17
Mate
Cinnamon

 All of the above Desktop Environments are customizable. You can add Panels, launchers, applets, indicators, you have a notification area, etc.

Extra info :

Debian and Redhat distributions ( in short "distros" )  use the same kernel and GNU parts, but differ chiefly in packaging. Debian has its own called Deb and Redhat uses RPM. Packaging is confusing for new users. It is essential to know what it is because that is how your applications are installed.


First we generally don't download Debs or RPMs. We get them from controlled sources that are maintained and secure called repositories.

Repositories are maintained by the distribution and you can use them with confidence that they are free of viruses and malware and are meant to work with your version of their distribution

list of Useful Ubuntu linux softwares

Install ubuntu-restricted-extras  software  by running following command in Terminal.
$ sudo apt-get install ubuntu-restricted-extras


Synaptic Package Manager" which gives you a point and click interface to choose applications to install - think of it like an App Store


You can install VLC media player by following command
$ sudo apt-get install vlc


Skype Video Chatting applications can also be installed on Ubuntu Linux
http://www.skype.com/intl/en/get-skype/on-your-computer/linux/


With the help of Compiz Settings Manager you can customize eye candy effects according to your likings. Install Compiz Settings Manager by this command
$ sudo apt-get install ccsm



Ubuntu Tweak ( for compiz settings, desktop settings, gnome settings, login screen settings , package cleaner, source center & application center )
http://ubuntu-tweak.com/


MyUnity is compatible with Ubuntu 11.10 and 11.04, to install open terminal and paste following commands
$ sudo add-apt-repository ppa:myunity/ppa
$ sudo apt-get update
$ sudo apt-get install myunity


Deja Dup : the perfect Linux backup software,
Gwibber   : Ubuntu's microblogging tool for Twitter and Facebook



Many Windows programmes can be made to run in Linux using a compatibility layer called Wine which enables running Windows programs on Ubuntu.
$ sudo apt-get install wine

list of software to use using WineHQ http://appdb.winehq.org/index.php



Note : will keep updating more useful software here .... keep watching .....

Sunday, February 5, 2012

FAQ by new users of Ubuntu 11.10 Linux

0.  How to get help for ubuntu
Answer :

1. what is launcher
Answer : launcher is similar to task-bar in windows

2. Stop auto hiding of launcher
Answer : http://www.addictivetips.com/ubuntu-linux-tips/enabledisable-auto-hide-for-unity-2-d-launcher-in-ubuntu-11-10-tip/

3.show desktop icon
Answer : http://askubuntu.com/questions/77249/where-is-showdesktop-button-on-11-10

4. How to update web cam driver
Answer : install "cheese" software

5.How to set default video player
Answer : Go to System Settings/ System info/ Default Applications and set it there. Works in Ubuntu 11.10

6.How to install any software
Answer :  choose software from ubuntu software centre

OR  install Synaptic software (This  is a software repository ) by running below command in terminal .
$  apt-get install synaptic


7. How can I change the default music player?
Answer :  Right-click any MP3 file, and from the menu select “Properties”.In the window that appears, go to the “Open With” tab and select VLC. Click the “Set As Default” button to set VLC as the default player.

8. How to move minimize maximize and close button on right side of every window
Answer : Run below command
gconftool-2 --set "/apps/metacity/general/button_layout" --type string ":minimize,maximize,close"

9. How to remove global menu (which is on the very top menu on the screen)
Answer : Run below command
sudo apt-get remove appmenu-gtk3 appmenu-gtk appmenu-qt

10. How to restore global menu
Answer : Run below command
sudo apt-get install appmenu-gtk3 appmenu-gtk appmenu-qt

11. How to shut down system after 2 hrs
Answer : Run below command
sudo shutdown -h +240

note : 240 minute = 2 hrs