View previous topic :: View next topic |
Author |
Message |
alienjon Veteran
Joined: 09 Feb 2005 Posts: 1726
|
Posted: Tue Jun 19, 2007 9:04 pm Post subject: Autostart digikam after camera is mounted [solved] |
|
|
While in KDE, I setup both 'mounted camera' and 'camera' to automatically run 'digikam' as soon as the camera or mounted camera is detected. When I turn on the camera and it automounts, however, I get this:
Quote: |
The file or folder / does not exist.
|
Simply running 'digikam' from my KMenu or from the terminal works fine, though.
Last edited by alienjon on Mon Aug 27, 2007 9:46 pm; edited 1 time in total |
|
Back to top |
|
|
didymos Advocate
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Wed Jun 20, 2007 12:14 am Post subject: |
|
|
Well, the command kmenu uses is this:
Code: |
digikam -caption "%c" %i %m
|
I don't see why that should matter, but maybe it'll work. _________________ Thomas S. Howard |
|
Back to top |
|
|
alienjon Veteran
Joined: 09 Feb 2005 Posts: 1726
|
Posted: Wed Jun 20, 2007 4:23 am Post subject: |
|
|
I get an error with that in the terminal. I think some of the parameters assume information that KMENU would otherwise provide. |
|
Back to top |
|
|
didymos Advocate
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Wed Jun 20, 2007 6:06 am Post subject: |
|
|
Yeah, that won't work in a terminal. All those % variables would be replaced before the command actually got issued. But, it should work if you're setting actions or file associations. _________________ Thomas S. Howard |
|
Back to top |
|
|
alienjon Veteran
Joined: 09 Feb 2005 Posts: 1726
|
Posted: Wed Jun 20, 2007 6:08 am Post subject: |
|
|
Still a no go with or without those parameters. Same '/' error in both cases. I wonder if I can specify the directory as a parameter and if that would fix the issue? |
|
Back to top |
|
|
alienjon Veteran
Joined: 09 Feb 2005 Posts: 1726
|
Posted: Wed Jun 20, 2007 6:18 am Post subject: |
|
|
ya, just tried it but I still get the same error. |
|
Back to top |
|
|
alienjon Veteran
Joined: 09 Feb 2005 Posts: 1726
|
Posted: Mon Aug 27, 2007 9:46 pm Post subject: |
|
|
Found the fix. Apparently this was a bug with digiKam itself. Updating to 0.9 series fixed the issue. Here's where I found the solution (so I don't take props where they're due!) |
|
Back to top |
|
|
El_Presidente_Pufferfish Veteran
Joined: 11 Jul 2002 Posts: 1179 Location: Seattle
|
Posted: Mon Aug 27, 2007 11:46 pm Post subject: |
|
|
What happens if you already have digiKam open, then attach a camera? |
|
Back to top |
|
|
alienjon Veteran
Joined: 09 Feb 2005 Posts: 1726
|
Posted: Tue Aug 28, 2007 12:22 am Post subject: |
|
|
It just keeps the one instance of digiKam but opens the view for that specific camera. (Shows the pictures currently on the camera with the options to download/delete them) |
|
Back to top |
|
|
El_Presidente_Pufferfish Veteran
Joined: 11 Jul 2002 Posts: 1179 Location: Seattle
|
Posted: Tue Aug 28, 2007 12:30 am Post subject: |
|
|
What command are you using to start digikam?
If i have ivman run digikam --detect-camera while digikam is already running I get two instances running. |
|
Back to top |
|
|
alienjon Veteran
Joined: 09 Feb 2005 Posts: 1726
|
Posted: Tue Aug 28, 2007 1:51 am Post subject: |
|
|
I can't actually tell. After the upgrade there was a new option created for the 'camera' type listed: "digiKam detect and download" (as well as 2 others with similar names but for 'mounted camera' and 'unmounted camera', not 'camera'). I'd like to tell you specifically what they are, but the 'properties' button is greyed out so I can't look at them specifically. I think they're something added to the newest version of the program. Did you upgrade to 0.9.2? |
|
Back to top |
|
|
El_Presidente_Pufferfish Veteran
Joined: 11 Jul 2002 Posts: 1179 Location: Seattle
|
Posted: Tue Aug 28, 2007 2:28 am Post subject: |
|
|
alienjon wrote: | Did you upgrade to 0.9.2? |
Yeah, but i'm not using KDE to autostart it. I'm just using a plain old ivman rule |
|
Back to top |
|
|
alienjon Veteran
Joined: 09 Feb 2005 Posts: 1726
|
Posted: Tue Aug 28, 2007 4:33 am Post subject: |
|
|
That would probably be why. If you know where the kdinit (or whatever kde directly uses to run these) config or data file that would contain this info would be, just let me know and I could check for ya. |
|
Back to top |
|
|
|