The best way to tackle this is to add a network location to Thunar (the file manager) that way whenever you need to attach a file, the option will always be shown. Before starting, make sure you have set up the folder on Windows that you want to share on your network.
1. On your Linux Lite machine, create a folder in your home folder called 'picshares' for example.
2. Go to Menu, Accessories, Text Editor. Enter the following contents:
Code:
username=yourname
password=yourpass
where
yourname and
yourpass is your username and password on the Windows machine for the share.
Save the file in your home folder as '
.creds' don't forget the dot infront of creds!
3. Open a terminal and do:
Code:
sudo cp /etc/fstab /etc/fstab.bak
4. Then in the same terminal do:
Code:
sudo leafpad /etc/fstab
5. Copy the following line to the bottom of the fstab file:
Code:
# Picture Shares
//windowsmachinename/sharename /home/user/picshares cifs users,credentials=/home/user/.creds,workgroup=workgroup,ip=192.168.0.2 0 0
lets break that line down:
windowsmachinename: The name of your Windows machine
sharepath: the name of that Windows share
/home/user/picshare: the path and name of the folder we created in Step 1.
credentials=/home/user/.creds: the location of the credentials file we created in Step 2 (.creds)
user = your user on Linux Lite.
workgroup=workgroup: the workgroup name on Windows
ip=192.168.0.2: The ip address of the Windows machine
CAUTION: you MUST be careful when editing the fstab file, any typo or mistake will render your pc incapable of booting properly. Check, check again, then triple check before saving that file. Make sure you also leave a spare blank line at the bottom of the file.
So your fstab file will end up looking something like this:
Code:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=18212f58-251f-480d-8858-d6c6b054b717 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=a7ab352a-2750-4668-9a76-785536abeeb8 none swap sw 0 0
# Picture Shares
//windowsmachinename/sharename /home/user/picshares cifs users,credentials=/home/user/.creds,workgroup=workgroup,ip=192.168.0.2 0 0
If everything went well, the share should auto mount straight away in Thunar. If it doesn't, open a terminal and do:
You should now be able to browse to the image from eBay, or any other website.
Tested and confirmed working in Linux Lite 2.0