I want that whenever I open Rhythmbox player It will auto mount the Windows Partition where all my music files are placed. Is there anyway I can invoke the mounting of Windows partition in the .desktop file
Please note that I don't want to automount windows partition on every login. I just want the windows parition to be mounted automatically whenever I open rhythmbox player.
Thanks in Advance.
You could build a little shell script "/usr/local/bin/myrythmbox" like #!/bin/bash
mount /media/musicfiles
rythmbox (or however the commandline would be for starting it ina terminal)
umount /media/musicfiles
This would first mount the drive, start your player and when that is "done with", unmount the drive again. For this to work, you would need to do three things:
I am not quite sure as for the line in the fstab regarding the "otheroptions", but "noauto" should keep the system from mounting the drive automatically and "user" allowing it non-roots to mount it.
Hope that helps,