On 11 August 2012 16:14, Iain Mellis <[email protected]> wrote: > I'm looking to shift my database from my home directory on my Solid state > boot disc to a server share on a traditional hdd. I've moved it and can > open it with "shotwell -d" but when I then open it from the unity bar it > creates an empty db file in my home folder again. How do I get it to open > the new location automatically? Many thanks.
When you click Shotwell in the Unity launcher it uses the shortcut file /usr/share/applications/shotwell.desktop to know what to do. If you edit that file using gksu gedit /usr/share/applications/shotwell.desktop you will see the line Exec=shotwell %U If you change that line to run shotwell with the -d option and save it then it should do what you want. There is a small problem with that as it is possible that an upgrade of shotwell might re-install the file so you would have to do it again. A slightly more complex solution that avoids this problem is to copy the desktop file to ~/.local/share/applications and rename it to something different (my_shotwell.desktop for example). Then edit that file and change the exec line, but also change the Name= line to something other than Shotwell (this is necessary otherwise unity gets confused between the two shortcuts). Check that the file is executable (in the Properties dialog in Nautilus), and make it executable if it is not (it will show in nautilus with the name you gave it in the Name field rather than as a .desktop file when it is executable). Remove the Shotwell icon from the Unity launcher (right click, unlock from launcher or something similar). In nautilus go to .local/share/applications and double click your new shortcut, which should open shotwell, then lock it to the launcher. Good luck Colin _______________________________________________ Shotwell mailing list [email protected] http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell
