LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-11-2009, 11:01 PM   #1
CrashedAgain
Member
 
Registered: Jan 2004
Posts: 307

Rep: Reputation: 33
gnome...auto starting digikam.


system is Ubuntu 9.04 with gnome desktop ...but I use digikam for photos.

When a camera is plugged in, gnome pops up a 'choose application' dialog box...or at least it used to. It also auto mounts the camera "volume". Digikam appears to be unable to auto-detect and download from a mounted volume so I could not use digikam directly, I had to unmount the volume (from the 'choose app' dialog box), cancel the choose app box, cancel the resulting "unable to lock volume" error, then manually start digikam and import from the camera.

Now I've screwed even this up...I chose "unmount volume" and "always do this" from the dialog box, but that didn't work, I guess "unmount volume" is not a proper 'application' so then (genius that I am) I chose 'do nothing' and 'always do this'.

Now I don't get the dialog box and it still mounts the volume, then gives the 'unable to lock' error message and now cannot get digikam to download the photos unless I first manually unmount the volume using the icon on the desktop. Royal PITA and too complex for the "other user".

So...the questions:

How do I undo the 'do nothing' setting. There must be a config file somewhere that I can edit.

How do I tell gnome to NOT automount photo cards.
or...
How do I set up a launcher that will first unmount the card/camera then start digikam (actual command is digikam --detect-camera.
 
Old 08-12-2009, 04:06 AM   #2
corbintechboy
Member
 
Registered: Sep 2003
Location: Kentucky
Posts: 480
Blog Entries: 1

Rep: Reputation: 51
Write a script?

#!/bin/sh
umount /dev/wherever it mounts
digikam --detect-camera
exit 0

Run as root sudo sh .name of script

EDIT: Before running do:
chmod a+x name-of-script
 
Old 08-12-2009, 10:43 AM   #3
CrashedAgain
Member
 
Registered: Jan 2004
Posts: 307

Original Poster
Rep: Reputation: 33
I thought of that but one problem is making sure you are unmounting the right 'volume'....there might be more than one mount point for different cameras and/or camera cards.
This could maybe be solved if the script were executed from the dialog box (the correct volume would then be "%-something") but until I can find out how to undo the 'do nothing' setting I cannot get the dialog box to appear.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gnome: Starting an app switches to a running instance instead of starting a new one SeppJ Linux - Newbie 0 05-28-2009 11:06 AM
digikam delete problem - related to gnome/kde trash handling? thorsten becker Linux - Software 0 07-01-2008 02:46 AM
Using Digikam As Default With Gnome Desktop OldCode SUSE / openSUSE 0 09-01-2006 03:17 PM
Auto starting daemons magnum81 Debian 3 07-28-2006 02:51 PM
gnome application question / digiKam KezzerDrix Linux - General 1 04-11-2005 10:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration