1 |
On 01/05/06, Timothy A. Holmes <tholmes@×××××××××.net> wrote: |
2 |
> |
3 |
[snip...] |
4 |
> I would be interested in making this happen under fluxbox as well --- |
5 |
> Particularly automounting usb key drives, as well as the flash cards |
6 |
> from my digital camera |
7 |
|
8 |
Well you could used fbdesk if you want icons on your desktop, or if |
9 |
you prefer a minimalistic look like I do, add the appropriate entries |
10 |
in your /etc/fstab and your fluxbox menu. For example for USB CF or |
11 |
camera connection I have the following: |
12 |
|
13 |
/etc/fstab: |
14 |
============================= |
15 |
# Flash Card or Camera |
16 |
|
17 |
/dev/sda /mnt/sda auto,vfat,msdos |
18 |
noauto,user,noatime 0 0 |
19 |
/dev/sda1 /mnt/sda1 auto,vfat,msdos |
20 |
noauto,user,noatime 0 0 |
21 |
============================= |
22 |
NOTE: Some CF cards have no partitions because they are formatted as |
23 |
a large MSDOS floppy disk, hence the first entry. My camera is |
24 |
mounted using the second entry. |
25 |
|
26 |
~/.fluxbox/menu: |
27 |
============================= |
28 |
[submenu] (CF and camera) |
29 |
[exec] (mount CF) {mount /mnt/sda1 && konqueror /mnt/sda1} |
30 |
[exec] (unmount CF) {sync && umount /mnt/sda1} |
31 |
[separator] |
32 |
[exec] (mount Gizmo) {mount /mnt/sda && konqueror /mnt/sda} |
33 |
[exec] (unmount Gizmo) {sync && umount /mnt/sda} |
34 |
[end] |
35 |
============================= |
36 |
Of course, you could you eject instead of umount. |
37 |
|
38 |
HTH. |
39 |
-- |
40 |
Regards, |
41 |
Mick |
42 |
|
43 |
-- |
44 |
gentoo-user@g.o mailing list |