LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How to import photos from camera to Slackware ? (https://www.linuxquestions.org/questions/slackware-14/how-to-import-photos-from-camera-to-slackware-920046/)

Bourbon 12-22-2011 09:15 AM

How to import photos from camera to Slackware ?
 
Hi All :)

This is the first post of mine and I got a bad surprise: ending to write it I have been clicking to submit and I got the warning “You are not logged in”.
Of course I was logged in...
Anyway, I am trying to write it again: as I wrote in the subject, I am looking for the right way to import photos from my camera (Fuji FinePix S4000) to the OS Slackware 13.37 32 bit KDE.
At present time, I do it plugging the camera with the USB cable and copying the photo's folder to the Slackware; unfortunately, doing that I get all files readable only, so, to work on them needing to change owner's permission from “Readable” to “Writable and readable”; it is uncomfortable needing to work with many files; so, please, I am asking if you know the right way to get photos already “Writable and readable”.
Before posting I have been searching in the Forum and found this thread:

http://www.linuxquestions.org/questi...5/#post3999039

where the User Seld suggesting the program “Rapid Photo Downloader” (wishing to say “thank you” to him, for that).
Unfortunately, that program needing lots of dependecies, is not comfortable to install it (I have been looking for the dependencies indeed, but I am unable to locate the download for .tar.gz packages); at the same time, I have been experiencing that “DigiKam” is not working on 13.37 because needing (as Amarok/ffmpeg) “libavcodec.so.52” (Slackware comes out with “libavcodec.so.53”).
Please, anyone knowing the solution ?

Best Regards

(Please, apologize me for my not fluent English language, I am Italian)

TLE 12-22-2011 09:45 AM

Hello!

I have no problem with Digikam, good program

I also installed (good to have) kipi-plugins first, then digikam

http://slackbuilds.org/repository/13.../kipi-plugins/
http://slackbuilds.org/repository/13...phics/digikam/

No problem at all in 13.37

slackass 12-22-2011 10:44 AM

Running Digikam here also.

Here's my build order

kipi-plugins
lensfun
liblqr
digikam

You can use this to create a .sqf for sbopkg
http://www.sbopkg.org/

Happy Slackin'

Keith Hedger 12-22-2011 10:48 AM

Why not try importing from the command line:
Code:

cp -r "/path/to/camras/pictures" "/path/to/dest/folder";chown -R $USER:$USER "/path/to/dest";chmod -R +w "/path/to/dest"
Depending on how the camra is mounted and the permissions of the dest folder you may not need one or the other of chown/chmod

Bourbon 12-22-2011 11:11 AM

Ciao Tle, ciao Slackass, ciao Keith Hedger,

Thank you very much for your kind concern :) about DigiKam I was been installing it with all plugins listed by you, using the tool “Slackyd” which takes care about all needing dependencies, indeed I don't understand why it is working for you and not working for me; even I have been struggling to remove all packages completely (something was stuck inside an hidden folder in /home).
I am afraid to install Digikam again now and wishing to try Keith Hedger's suggestion.
I will let you know the result, after the experiment.

Many thanks again, Best Wishes to all of you

slackass 12-22-2011 01:37 PM

“Slackyd” may be the problem.
It's best to just build your own.
http://slackbuilds.org/

BroX 12-22-2011 05:12 PM

Gwenview (default image viewer in KDE) also imports photos. I use Digikam to import and organise my photos though.

dc_eros 12-22-2011 06:20 PM

I just installed DigiKam few days ago and it works smooth so far.

slackass 12-22-2011 07:01 PM

I should have mentioned:
Digikam generally has to be built on the version of KDE that your running.
It's hard telling what version Slacky was using.
It's best to roll yer own, on your own system..

frankbell 12-22-2011 08:41 PM

I'm puzzled why the pictures should come over as read only. I think there's more here than the method used to get the pictures onto your hard drive.

I am able as user to copy pictures from my both of my Fuji FinePix cameras to my Slackware 13.37 computer directly with Konqueror or with the command line and have them come over as read-write.

Edit: I would much rather just copy the files over, then edit the ones worth keeping, than mess with some fancy bells-and-whistles photo-management software.

Bourbon 12-23-2011 10:40 AM

Hi All :)

I have been working on the issue and now making a briefing for you:

Suggestion by BroX = I have been plugging the camera (Fuji FinePix S4000) and opening Gwenview.
Result: Gwenview does not seeing the camera.

Suggestion by Frankbell = Opening Konqueror with camera already plugged.
Result: Konqueror does not seeing the camera

Suggestion by Keith Hedger = As user and as root, I have been writing the following command (1st time without “chown” and “chmod”, 2nd time with both of them):
cp -r /camera/USB PTP Class Camera/USB PTP Class Camera/DCIM/100_FUJI /home/dominum chown -R $dominum:$dominum /home/dominum chmod -R /home/dominum
Result: file or directory does not existing

I apologize, because due my lack of experience, maybe I did mistakes trying to apply the suggestions.

Finally, I found the solution: has been good to become a LQ Member, because I have been seeing that we don't have the Forum only but also others interesting and useful resources.
I found the solution following this link:
http://wiki.linuxquestions.org/wiki/...eras_and_Linux
I have been trying just the 1st command, this one:
dominum@Dominum---Slackware:~$ gphoto2 –get-all-files
Done ! - All files have been transferred to the /home immediately and “Writable and readable”.

Merry Christmas :)

Keith Hedger 12-23-2011 11:31 AM

Quote:

Originally Posted by Bourbon (Post 4557023)
... Suggestion by Keith Hedger = As user and as root, I have been writing the following command (1st time without “chown” and “chmod”, 2nd time with both of them):
cp -r /camera/USB PTP Class Camera/USB PTP Class Camera/DCIM/100_FUJI /home/dominum chown -R $dominum:$dominum /home/dominum chmod -R /home/dominum
Result: file or directory does not existing ...

You must use quotes when path names include spaces and semi-colons when joining two or more commands on one line as per the posted command line so:
Code:

cp -r "/camera/USB PTP Class Camera/USB PTP Class Camera/DCIM/100_FUJI" "/home/dominum";chown -R $USER:$USER "/home/dominum";chmod -R +w "/home/dominum"

Bourbon 12-23-2011 01:40 PM

Hi Keith,

I have been trying to use the right command, attempting many times, even wishing to send you log but big problem: not only the files not moving from camera, the system is sick, everything blocked, I am writing as root, even after reboot cannot go to the user, this is the warning:
Quote:

Kstartupconfig4 does not exist or fails. The error code is 3. Check
I am a bit confused now and just writing.
Ciao

repo 12-23-2011 01:52 PM

Try as root:
Code:

chown -R dominum:users /home/dominum/.kde

Kind regards

Bourbon 12-23-2011 02:08 PM

Hi Repo,

Thank you for your help, after that command, I can log in as user but stuck on the splashscreen, the one with five icons in the center, the first one flashing and nothing else, I have been using the emergency button to reboot, I am again logged as root now. Ciao

Edit

Maybe this one helps:
Quote:

root@Dominum---Slackware:~# ls -al
totale 220
drwx--x--- 19 root root 4096 dic 24 01:15 ./
drwxr-xr-x 23 root root 4096 dic 21 15:42 ../
-rw------- 1 root root 174 dic 24 01:15 .Xauthority
drwx------ 3 root root 4096 dic 23 21:31 .adobe/
-rw------- 1 root root 8134 dic 24 01:54 .bash_history
-rw-r--r-- 1 root root 25 mag 10 2011 .bashrc
drwx------ 3 root root 4096 mag 22 2011 .cache/
drwxr-xr-x 6 root root 4096 dic 21 19:11 .config/
drwx------ 3 root root 4096 mag 7 2011 .dbus/
-rw------- 1 root root 22 mag 12 2011 .dmrc
drwx------ 2 root root 4096 dic 23 21:16 .gconf/
drwx------ 2 root root 4096 dic 23 21:17 .gconfd/
drwx------ 2 root root 4096 dic 21 16:28 .gnupg/
drwxr-xr-x 2 root root 4096 ott 31 01:11 .gstreamer-0.10/
drwx------ 6 root root 4096 mag 7 2011 .kde/
drwxr-xr-x 3 root root 4096 mag 12 2011 .local/
drwx------ 3 root root 4096 dic 23 21:31 .macromedia/
drwx------ 4 root root 4096 dic 23 21:29 .mozilla/
drwxr-xr-x 2 root root 4096 set 16 19:29 .mplayer/
drwx------ 3 root root 4096 dic 23 23:11 .ooo3/
-rw------- 1 root root 321 dic 23 21:17 .recently-used
drwx------ 4 root root 4096 dic 21 19:12 .thumbnails/
drwxr-xr-x 2 root root 4096 dic 24 01:15 .xine/
-rw-r--r-- 1 root root 627 mag 4 2011 .xinitrc
-rw------- 1 root root 55459 dic 24 02:01 .xsession-errors
-rw------- 1 root root 61377 dic 21 21:00 .xsession-errors-:1
drwx------ 2 root root 4096 mag 12 2011 Desktop/
After that, I Try with:
Quote:

root@Dominum---Slackware:~# chown -R dominum:users /home/dominum/.Xauthority
root@Dominum---Slackware:~# root@Dominum---Slackware:~# chown -R dominum:users /home/dominum/.Xauthority
bash: root@Dominum---Slackware:~#: command not found
root@Dominum---Slackware:~# chown -R dominum:users /home/dominum/.bash_history
root@Dominum---Slackware:~# chown -R dominum:users /home/dominum/.bashrc
chown: impossibile accedere a "/home/dominum/.bashrc": File o directory non esistente
root@Dominum---Slackware:~# chown -R dominum:users /home/dominum/.bashrc
chown: impossibile accedere a "/home/dominum/.bashrc": File o directory non esistente
root@Dominum---Slackware:~# chown -R dominum:users /home/dominum/.dmrc
root@Dominum---Slackware:~# chown -R dominum:users /home/dominum/.recently-used
root@Dominum---Slackware:~# chown -R dominum:users /home/dominum/.xinitrc
chown: impossibile accedere a "/home/dominum/.xinitrc": File o directory non esistente
root@Dominum---Slackware:~# chown -R dominum:users /home/dominum/.xsession-errors
root@Dominum---Slackware:~# chown -R dominum:users /home/dominum/.xsession-errors-:1
chown: impossibile accedere a "/home/dominum/.xsession-errors-:1": File o directory non esistente
root@Dominum---Slackware:~#
Nothing changed, on the splashscreen still stuck on the 1st flashing icon (the one showing hd).
Suspecting that the lines on "ls -al" with "-rw-r--r--" needing attention, but I don't know what I can do.


All times are GMT -5. The time now is 06:11 PM.