If you open a *.doc file in Linux it will be opened with OpenOffice.
For Linux <-> Windows networking, you need samba installed. It may already be installed but might need configuring.
Be sure that both hosts use the same domain or workgroup. Add the windows user & password to samba.
Code:
sudo smbpasswd -a <username>[RETURN]
<password>
<password>
It is common for someone to ignore this and not be able to log into a share.
Windows has different networking models. In samba you need to use the corresponding "security=" type. If this is a home network, and you don't have a domain, then the default "security=user" will be fine. This is a line in /etc/samba/smb.conf in the [GENERAL] section.
Another thing you can do is have an entry to mount the share in /etc/fstab, or to mount the windows share manually. I would recommend creating a credentials file in your home directory. Then you could have an entry like this in /etc/fstab:
Code:
//hostname/servicename /mnt/servicename cifs user,noauto,uid=username,dmask=0077,fmask=0177,credentials=/home/username/.credentials
Here, use the hostname of the Windows machine instead of hostname and your username instead of username. The credentials file is a text file containing two entries:
Code:
username=value
password=value
Here is a real example I tried out on a dell laptop to access a share on my hp laptop.
From dell laptops /etc/fstab:
Code:
//hpamd64/jschiwal /home/jschiwal/hpamd64 cifs defaults,uid=jschiwal,gid=jschiwal,file_mode=0117,dir_mode=0077,credentials=/home/jschiwal/.credentials 0 0
Now I'll create a directory to mount it on:
mkdir /home/jschiwal/hpamd64
And I'll mount it:
sudo mount /home/jschiwal/hpamd64
Now I can open the directory in the file browser or cd to it in the console and use it as if it were a local directory.