X and Fluxbox :: disk icons



Hi,

I put some png with disk icons on my desktop.
Now, what should I write in a .lnk files to open a window with my /mnt/hda1 contents ?

If you mean like a Windows folder view, no chance. But in the emelfm two-sided view it would be
"emelfm /mnt/hda1", I think...

Quote (curaga @ May 05 2007,12:47)
If you mean like a Windows folder view, no chance. But in the emelfm two-sided view it would be
"emelfm /mnt/hda1", I think...

Thanks again for your help and ok, I mean window rather like GNOME or KDE but...anyway
that emelfm could be enough if I can mount that disks.
In that moment my fstab looks like this:

Code Sample

/dev/hda2  /  ext3  defaults,errors=remount-ro  0  1
proc  /proc  proc  defaults  0  0
/dev/fd0  /mnt/auto/floppy  vfat  defaults,users,noauto,rw,showexec,umask=000  0  0
/dev/cdrom  /cdrom  iso9660  defaults,ro,user,noexec,noauto  0  0
/dev/hda1 /mnt/hda1 vfat noauto,users,exec,umask=000,uid=1001,gid=50 0 0
/dev/hda5 none swap defaults 0 0
/dev/hdb1 /mnt/hdb1 vfat noauto,users,exec,umask=000,uid=1001,gid=50 0 0

and I pasted in .xintrc something like:
Code Sample

mount /dev/hda1 /mnt/hda1 &
mount /dev/hdb1 /mnt/hdb1 &


Anyway the fstab doesn't remeber changes after reboot and disks aren't mounted immediately after reboot so I have to use that little automount tool

Now, my first goal is to have mounted the two vfat partitions in main tree at boot
e.g. in fstab
mount /dev/hda1 /Disk_C

and
second goal is using that icon which can point to disk (but you have answered how to do that already in emelfm)

P.S. I have also problem with my floppy, which can be mounted and unmounted only by root and of course I have looked for the answer in the board but unfortunately advices which helped others, didn't help me
P.P.S. I read here in the forum about CD-Rom automounting.
I mean it would be great if I shouldn't have to mount cd-rom every cd I put but rather have some option which can monitor my cd and mount it automaticly. I know that such automounter exist but I don't know which tool I should look for.

If you mean a "file manager", in gnome its nautilus and kde uses konquerer (which are much heavier than emelfm).  In mydsl there's rox filer if you want to try that out.

If you want to edit fstab in a frugal, you can boot with "nofstab" and restore your own - but it may be easier to put the mount commands in bootlocal.sh for example (.xinitrc should be reserved for X apps). You could do something like "mkdir /Disk_C && mount /dev/hda1 /Disk_C"

I think you can use the Icon tool to modify/create icons.  If you want to make one manually check in ~/.xtdesktop (see wiki for more info)

For floppy as a regular user, you can try (re)placing a line in fstab for it and set gid/uid flags.

automount was stripped out of DSL, so it isn't there even if you see messages relating to it during boot.  I suppose you can put it back in from the Knoppix cd though.

Quote (^thehatsrule^ @ May 05 2007,14:45)
If you want to edit fstab in a frugal, you can boot with "nofstab" and restore your own - but it may be easier to put the mount commands in bootlocal.sh for example (.xinitrc should be reserved for X apps). You could do something like "mkdir /Disk_C && mount /dev/hda1 /Disk_C"

I think you can use the Icon tool to modify/create icons.  If you want to make one manually check in ~/.xtdesktop (see wiki for more info)

For floppy as a regular user, you can try (re)placing a line in fstab for it and set gid/uid flags.

automount was stripped out of DSL, so it isn't there even if you see messages relating to it during boot.  I suppose you can put it back in from the Knoppix cd though.

I tried to edit bootlocal.sh but I got an error during boot
Code Sample
mount: Invalid argument
(the directory Dysk_C was created)
So I think I should try to make my own fstab, but how to do that if fstab is not remembered after boot?
(I know I can do "nofstab" but if I do that /etc/fstab would be remebered? - I've got HD install of DSL)

Next Page...
original here.