Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (6) </ [1] 2 3 4 5 6 ... >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: disk icons< Next Oldest | Next Newest >
kreon28 Offline





Group: Members
Posts: 48
Joined: Oct. 2006
Posted: May 05 2007,14:19 QUOTE

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 ?
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: May 05 2007,16:47 QUOTE

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...


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
kreon28 Offline





Group: Members
Posts: 48
Joined: Oct. 2006
Posted: May 05 2007,17:31 QUOTE

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.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: May 05 2007,18:45 QUOTE

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.
Back to top
Profile PM 
kreon28 Offline





Group: Members
Posts: 48
Joined: Oct. 2006
Posted: May 06 2007,07:43 QUOTE

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)
Back to top
Profile PM 
26 replies since May 05 2007,14:19 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (6) </ [1] 2 3 4 5 6 ... >/
reply to topic new topic new poll
Quick Reply: disk icons

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code