Published February 5, 2010
Tags: nautilus, network, ubuntu
Problem: You click Network → Places and than on Windows-Network and on your Workgroup. Now you are waiting and nothing happens, so you do not find shares from other hosts. Maybe you get an error, that the mounting failed.
Fire up your bash and type smbtree which will likely display something like this:
Enter guru's password:
cli_start_connection: failed to connect to XPMT<20> (0.0.0.0). Error NT_STATUS_UNSUCCESSFUL
\\GURU-DESKTOP guru-desktop server (Samba, Ubuntu)
\\GURU-DESKTOP\Epson-Stylus-Photo-RX600 Epson Stylus Photo RX600
\\GURU-DESKTOP\IPC$ IPC Service (guru-desktop server (Samba, Ubuntu))
\\GURU-DESKTOP\print$ Printer Drivers
If you get this error (cli_start_connection: failed to connect to XPMT<20> (0.0.0.0). Error NT_STATUS_UNSUCCESSFUL) edit /etc/samba/smb.conf (as root) and change the following line
; name resolve order = lmhosts host wins bcast
into this (delete semicolon and move host to the end)
name resolve order = lmhosts wins bcast host
Now restart your PC (restarting samba and killing nautlius does not work).
Source: Bugs #389909 and #469548 (Duplicate)
If you want to send an E-Mail quickly per Mozilla Thunderbird in Nautilus like the Send To Feature you have to write a little script. (I found a .deb for replacing Evolution with Thunderbird, but it did not work. Instead it killed the whole feature. At the end you will get a menu like the one in the screenshot on the right.
- Because I do not need Evolution in Nautilus I removed the nautilus-sento app. To do this execute the following:
sudo apt-get remove nautilus-sendto.
- Create a file in ~/.gnome2/nautilus-scripts named sendto.
- Make it executable with chmod a+x sendto
- Paste the following one-liner into the file and save it
thunderbird -compose attachment="file://$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS"
Note: If you have Thunderbird 1.5 (or minor?) you must replace “thunderbird” with “mozilla-thunderbird”.
- Restart Nautilus with
Now you can right click on a file and select Scripts -> sendto to send a file as an attachment in Thunderbird.
For more scripts you can goto Nautilus File Manager Scripts.