Wednesday, August 1, 2007

removable drives, devices and media preferences

removable drives, devices and media preferences

I really have no idea as to why gnome-volume-properties binary name was inadequately referenced back for its program function, with the word "volume properties" .


This document entry would cover most of the following questions.


How to mount removable drives when hot-plugged?


How to mount removable media when inserted?


How to automatically browse removable media when inserted?


How to specify auto-run programs on newly mounted drives and media?


How to customize launch application when a blank disc is inserted?


How to play audio CD and video DVD discs when inserted?


How to automatically import digital photographs when digital device were connected?


How to sync Palm (TM) and PocketPC devices when connected?


How to start cups daemon when a printer is plugged and detected?


How to run a program when a scanner is plugged and detected?


How to run a program when USB mouse, keyboard and table is connected?


I have been googling around for basic desktop device management and found out that most answer to those issues that I have read, can be easily handled by a simple gnome program called gnome-volume-properties.


This binary is part of default Gnome X installation. What I mean from this is that there is not need for yum to install it when you are using Gnome.


Before launching this program, it is a requirement that your hald daemon is currently running. You can enable them by


# service hald start


Hald daemon maintains a database of devices detected and connected to the system via dbus message daemon system


# service messagebus start


How to launch:


Ctrl F2, gnome-volume-properties


As you have now noticed, most linux commands issued from the past blog entries were referenced and launched from terminal windows or via Ctrl+F2. If you wish to have a shortcut of those binaries, which did not appear from Gnome menus, (since we have a lot of X binaries to include them all in one gnome menu shot), you can simply add them to your favorite panel as a binary shortcut.


Printers


My desktop usually starts with cups daemon disabled. So everytime I need to print, I just need to turn on the printer and make sure I ticked the box next to "Automatically run a program when printer is connected" and add a line like so


/sbin/service cups restart


Digicams / Videocams


From Cameras tabbed menu, you can simply tick the box and specify the default gthumb-import, which is really nice. Alternatively, a photo management software is a good one also, which was recently mentioned from my previous entry as well.


USB / Flash / Storage device / CD/DVD discs


Choose the mounting options boxes given from Storage tabbed menu. Simply plug your device via USB and checked those boxed and see what happens.


Multimedia:


There a lot of opensourced media players around the linux world, which are just waiting for this yum install command. You can specify the media player binary appended by a parameter like the one shown with the box. This approach also goes with video and audio CD/DVD discs.


I have not tested it though with portable music players.


Along with Sunc Palm and PocketPC. My option boxes for these were left blanked.


(text entries were posted via gnome-blog-poster, image were manually uploaded)





0 comments:

Sign up for PayPal and start accepting credit card payments instantly.
ILoveTux - howtos and news | About | Contact | TOS | Policy