![]() ![]() Mac OS X is clever enough to lookup the username and password from the Mac keychain so there's no need to add the username and password in clear text to the configuration file. So add this line to /etc/auto_afp: /./Volumes/music -fstype=afp,rw afp://ip-address:/music If you want to configure AFP, do it like this: However, some Mac OS Version doesn't like this so I switched over to use my own folder named '/mount'. You just add a '/./' in front of your desired mount path and Mac OS X will even accept the Volumes folder. However, if you try to directly mount into this folder, autofs will fail. This is the default folder for all mounted shares on a mac. Normally Mac OS X tries to mount network shares into the '/Volumes' folder. I've encountered this behaviour with the latest macOS Catalina 10.15.7 supplemental update. You are free to choose a different name and can also use afp/cifs/nfs etc.īe aware that macOS updates can overwrite this file! Make sure you'll check the content of this file after you've updated. In this case I want to create a configuration for automatically mount SMB volumes. This will tell autofs to look for a file in the '/etc' folder with name 'auto_smb'. net -hosts -nobrowse,hidefromfinder,nosuid Edit the file /etc/auto_master and add the last line: # Prepare autofs to use a separate configuration fileĪutofs needs to be configured so that it knows where to gets its configuration. ![]() Autofs is available for many OS and is preinstalled on Mac OS X so I show you how I mounted my iTunes library folder using this method. So it seems XFCE is using this instead of trying to mount it as a filesystem.With autofs you can easily mount network volumes upon first access to the folder where you want to mount the volume. if I put "Thunar", it opens a new file browser window). Of special note, if I enable the Cameras->Digital Cameras box, whatever command I put there is run when the iPhone is connected (i.e. Automatically run a program when a tablet is connected ![]() Automatically run a program when a USB mouse is connected Automatically run a program when a USB keyboard is connected Automatically run a program when a printer is connected Import digital photographs when connected Burn a CD or DVD when a blank disc is inserted Auto-run programs on new drives and media Why can't it just mount it to a folder that I can go to in Thunar just like in GNOME? Post added at 01:25 PM CST - Previous post was at 12:03 PM CST -Īpparently if I run F-Spot manually and go to import photos, it lets me select "Apple iPhone" or something from a source menu and then can import the photos that way. ![]() So it seems as though the iPhone sort of looks like a digital camera enough that GNOME mounts it as one, but it's just different enough that XFCE doesn't mount it at all. Once I connect it to the computer, it auto-mounts, I get a run dialog to import photos and I can browse the photos in Thunar just like I could with Nautilus. To be sure it isn't just that XFCE doesn't mount digital camera type devices, I tested it with an actual digital camera that plugs in via USB. What is different here? Is it possible to get XFCE to auto-mount them? I thought XFCE uses GVFS like GNOME does? This is Fedora 12, by the way, with XFCE 4.6. No auto-mounting is done in XFCE, no auto-run dialogs, nothing. In XFCE though, plugging in the iPhone doesn't do anything at all, except begin charging the phone. Also the F-Spot auto-run dialog pops up asking if I want to import photos from the iPhone. With the GNOME desktop environment, when I plug in my iPhone, Nautilus automatically mounts it and I can browse and download my photos from it, as though the iPhone were a digital camera. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |