Posts Tagged 'nautilus'

Nautilus: Slow Network or network does not work

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:

guru@guru-desktop:~$ smbtree
Enter guru's password:
WORKGROUP
	\\XPMT
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\share
		\\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)

HowTo use Mozilla Thunderbird in Nautilus’ Send To… instead of Evolution (for Attachments)

Menu Screenshot Nautilus Script SendtoIf 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.

  1. 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.
  2. Create a file in ~/.gnome2/nautilus-scripts named sendto.
  3. Make it executable with chmod a+x sendto
  4. 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”.
  5. Restart Nautilus with killall nautilus

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.