Using my digital camera with ubuntu (linux)

Leave a comment

Working with my digital camera took a little doing on Ubuntu.

Ubuntu mounts it automatically, apparently using a gphoto2 library. So doing things via the GUI is really quite easy. Plug and play!

But I love the command line to manipulate files. I couldn’t find where the mount point was. Not under /mnt. Not under /media…

I learned that the gvfs-mount command shows information about what ubuntu GUI mounts automatically. And if you install gphoto2, you can run gphoto2 –auto-detect, which will show you the name of your camera and the USB info. Apparently the gphoto2 utility has a variety of camera manipulation commands it can perform.

It seems ubuntu puts samba at work behind the scenes to mount digital cameras, most of which have windows based file systems. Samba mounts to ~/.gvfs. So “ls ~/.gvfs yielded:
gphoto2 mount on usb%3A001,002

From there, I could run

ls ~/".gvfs/gphoto2 mount on usb%3A001,002"

Then I could see the DCIM directory. Off and running with commands like cp and rm!

ubuntu on my laptop, next steps

Leave a comment

A quick followup. Ubuntu recognized my wireless Epson workforce 610 all-in-one printer. Prints fine. I haven’t tried to make any of the other functions work, like scanning. I see on the internet that some folks have had trouble with that.

Software updates for ubuntu work well. Using the gui Ubuntu software center, I downloaded and installed libreoffice’s database product called Base without a hitch. Then I used the command line tool called apt to download tcl/tk, sqlite3 and a bunch of database drives. That all worked easily and quickly.

Multi-media stuff like sound and video? No issues so far. Even burned some cds/dvds with Bracero.

Next up: Do some re-jiggering to make the laptop house multiple distributions. I’m reviewing How to install and boot 145 operating systems in a PC to help me plan things out. I’m only going with 4 to 6 distros, so should work just fine.

ubuntu on my laptop, so far


I took the plunge and updated my laptop from Vista to Ubuntu 11.10. I couldn’t eliminate a virus from the Vista deployment easily, didn’t want to spend money on commercial anti-virus, and learning linux better will help me at work. EMC bases many of their products on Linux (Avamar, Data Domain in the backup space, for example). I’m reasonably fluent in Linux, having installed it many times, worked with Oracle on it, used other unix flavours for DBA work.

How’d it go?

I have a compaq presario v6000 that uses a Broadcom wireless card and a NVidia graphics card.

I tried out the live-cd first, which allows you to run Ubuntu on your existing machine without writing to the hard drive so you can try things out without commitment. That could not display graphics correctly when run as is. Google searching taught me a fix. Hold down the F5 key during boot up and use the Other Options menu choice to select the boot option nomodeset. With that, live-cd display graphics correctly.

While running on live-cd, my wired network connection worked fine. But I couldn’t download the broadcom driver.

I decided to install. Install was smooth. The installer detected the broadcom wireless card and configured the drivers.

But after I installed ubuntu to the hard drive, I was back to the graphics problem. The hard drive install does not have the same menu choice via F5. What to do? I returned to google, and I learned that if you hold down the Shift key during boot, you can edit the grub boot up sequence. Using that technique, I again added nomodeset. I also learned that to make this change permanent, one needs to permanently edit the grub.conf file, which the shift key trick does NOT do.

Last issue. I wanted to use the Nvidia driver. To do that, I clicked on the system settings and chose additional drivers. This dialog displayed the Broadcom card configured during installation time, plus several Nvidia driver choices. I choose the recommended one. After doing this, I needed to reboot. Here I needed to hold down shift to turn off nomodeset in order to let Nvidia take over. Finally, I had to return to grub editing to do a removal of nomodeset.

Thoughts thus far: Ubuntu looks and works great. However, if you have a laptop like mine that needs tweaking, you still gotta be a geek to run linux.

Next: I will load up utlities like tcl/tk and sqlite, and possibly postgres to see how database stuff starts working. Will also see what end-user friendly databases are available for end users. Ubuntu 11.10 uses something called LibreOffice. Perhaps there is a Microsoft Access type tool in that.