Hi! USB mounts beautifully. Since i am setting this up for noobs, how to get an icon to appear automagically on desktop when a usb jump drive is inserted, or a CD? (I know, i could put a link to"media" but it's easier for the students this way.)
Also - how do i mount a floppy, and can i do the same as above?
Thanks!
topic title: mounting floppy, usb, etc
13 posts
• Page 1 of 1
-
Posts: 57
- Joined: 20 Oct 2007
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#2
Whoops, I only just noticed this post, sorry for not getting back sooner.
This is one (easy) way to configure it.
1. Choose rox-pinboard and panel options (if not already set by default).
2. Plug in usb device
3. Go to where it mounts, I guess media/usb
4. Drag the folder onto the rox-desktop and/or the rox-panel.
5. Open the folder from the desktop or panel.
6. Once finished, it should automount (wait a few seconds say 5), if not try a right-click on the folder and then choose unmount.
7. Unplug usb device.
8. Plugin usb device, wait a few seconds and then hover mouse over the created folders in (4) - a green light should show when it is ready.
9. Click on folder to mount it, and bingo, you are off.
The settings"should" be saved on a reboot for each user.
Foer a floppy, you should be able to do the same, though there may be a problem with the floppy not showing up in /media or mount. If that is the case then you will need to create a directory for floppy and link to it in the /etc/fstab file.
If you are not sure how to do this, post back.
Now there is a way that rox-desktop can automatically place and remove an icon to the desktop when an external device is plugged in (like kde), but I haven't tried it yet. The information is at the Rox forum.
If you get this working, please post back too.
enjoy antiX.
This is one (easy) way to configure it.
1. Choose rox-pinboard and panel options (if not already set by default).
2. Plug in usb device
3. Go to where it mounts, I guess media/usb
4. Drag the folder onto the rox-desktop and/or the rox-panel.
5. Open the folder from the desktop or panel.
6. Once finished, it should automount (wait a few seconds say 5), if not try a right-click on the folder and then choose unmount.
7. Unplug usb device.
8. Plugin usb device, wait a few seconds and then hover mouse over the created folders in (4) - a green light should show when it is ready.
9. Click on folder to mount it, and bingo, you are off.
The settings"should" be saved on a reboot for each user.
Foer a floppy, you should be able to do the same, though there may be a problem with the floppy not showing up in /media or mount. If that is the case then you will need to create a directory for floppy and link to it in the /etc/fstab file.
If you are not sure how to do this, post back.
Now there is a way that rox-desktop can automatically place and remove an icon to the desktop when an external device is plugged in (like kde), but I haven't tried it yet. The information is at the Rox forum.
If you get this working, please post back too.
enjoy antiX.
-
Posts: 57
- Joined: 20 Oct 2007
#3
Oh good! Thanks for the reply--
USB: OK - I had already discovered what you mentioned about the USB device already and had done just that, plus changing the default folder icon to a USB icon, and it worked perfectly...a pleasant surprise. For the student users, i was wondering if upon plugging in the USB device, can ROX automatically be started? I know this is kinda anethema to Linux, but it's for the school library, not my computer lab. It's not a big deal--i don't mind teaching the students outside class time. I'll check the forums regarding this when i have a little time and post if i find anything.
FLOPPY: I searched around for the floppy drive -- is it fd0?? IDK but i couldn't find anything that would open up anywhere. If you can guide me on making a directory and linking it, that would be great. (Boy, i almost think it would be great if suddenly there WERE no floppies anymore!!! __{{emoticon}}__ )
Oh, yeah - another question: why are the HDs listed as sda, sdb, instead of the typical hda, hdb? It took me by surprise since i'm used to sda being for a pluggable device, not a hard drive. I'm not complaining, just curious! AnitX is an answer to prayer!!!
USB: OK - I had already discovered what you mentioned about the USB device already and had done just that, plus changing the default folder icon to a USB icon, and it worked perfectly...a pleasant surprise. For the student users, i was wondering if upon plugging in the USB device, can ROX automatically be started? I know this is kinda anethema to Linux, but it's for the school library, not my computer lab. It's not a big deal--i don't mind teaching the students outside class time. I'll check the forums regarding this when i have a little time and post if i find anything.
FLOPPY: I searched around for the floppy drive -- is it fd0?? IDK but i couldn't find anything that would open up anywhere. If you can guide me on making a directory and linking it, that would be great. (Boy, i almost think it would be great if suddenly there WERE no floppies anymore!!! __{{emoticon}}__ )
Oh, yeah - another question: why are the HDs listed as sda, sdb, instead of the typical hda, hdb? It took me by surprise since i'm used to sda being for a pluggable device, not a hard drive. I'm not complaining, just curious! AnitX is an answer to prayer!!!
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#4
Floppy: Yes it is fd0.
Here we go.
1. Open rox-filer as root
2. Navigate to media folder and in it create a new folder called floppy
3. Edit /etc/fstab by adding this line to the end:
/dev/fd0 /media/floppy vfat,ext2 noauto,users,exec,rw 0 0
(Make sure you add an extra blank line afterwards, otherwise you get an error message).
4. Click on restart in fluxbox menu and you should now be able to mount a floppy via rox.
Rox: You can set your computers to have a permanent rox-desktop (and in antiX Lysistrata idesk), by editing the .fluxbox/startup file and removing the # in front of rox or idesk.
Again the rox website has some information as does the antiX website here:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://antix.mepis.com/index.php/Howto_articles#Rox_tips_and_tricks"
linktext was:"http://antix.mepis.com/index.php/Howto_ ... and_tricks"
====================================
Good luck!
Oh forgot about the sda part.
Basically it is something like this:
With the 2.6.22 kernel, the names got changed. Now all hardware is sd, the next letter depends on whether it is a primary/secondary drive, a c is for external usb harddrives, a d I think is for cd/dvd etc
Here we go.
1. Open rox-filer as root
2. Navigate to media folder and in it create a new folder called floppy
3. Edit /etc/fstab by adding this line to the end:
/dev/fd0 /media/floppy vfat,ext2 noauto,users,exec,rw 0 0
(Make sure you add an extra blank line afterwards, otherwise you get an error message).
4. Click on restart in fluxbox menu and you should now be able to mount a floppy via rox.
Rox: You can set your computers to have a permanent rox-desktop (and in antiX Lysistrata idesk), by editing the .fluxbox/startup file and removing the # in front of rox or idesk.
Again the rox website has some information as does the antiX website here:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://antix.mepis.com/index.php/Howto_articles#Rox_tips_and_tricks"
linktext was:"http://antix.mepis.com/index.php/Howto_ ... and_tricks"
====================================
Good luck!
Oh forgot about the sda part.
Basically it is something like this:
With the 2.6.22 kernel, the names got changed. Now all hardware is sd, the next letter depends on whether it is a primary/secondary drive, a c is for external usb harddrives, a d I think is for cd/dvd etc
-
Posts: 57
- Joined: 20 Oct 2007
#5
OK - i followed your advice as best as i knew how a half-dozen times, but to no avail.
Here's what i did:
open terminal
type"sux"
enter passsword
type"rox"
navigated to /etc/fstab
From here, i used both leafpad and nano to open the file; i clicked on it and also tried i right-clicking to"open as text" -- i also typed"leafpad /etc/fstab" from the commandline. Anyway, every time i tried and each way i tried i then i entered:
"/dev/fd0 /media/floppy vfat,ext2 noauto,users,exec,rw 0 0"
or
"/dev/fd0 /media/floppy vfat,ext2 noauto,users,exec,rw 0 0" (with the extra space)
(NOTE: in the above lines,"0" is zero, not the letter O)
i added the extra line and then saved.
Then i checked the file /etc/fstab to make sure the added lines were still there, which they were. Then i rebooted.
EVERY TIME, the file reverted to what was there before; my added lines simply vanished! Any idea what i am doing wrong?
Here's what i did:
open terminal
type"sux"
enter passsword
type"rox"
navigated to /etc/fstab
From here, i used both leafpad and nano to open the file; i clicked on it and also tried i right-clicking to"open as text" -- i also typed"leafpad /etc/fstab" from the commandline. Anyway, every time i tried and each way i tried i then i entered:
"/dev/fd0 /media/floppy vfat,ext2 noauto,users,exec,rw 0 0"
or
"/dev/fd0 /media/floppy vfat,ext2 noauto,users,exec,rw 0 0" (with the extra space)
(NOTE: in the above lines,"0" is zero, not the letter O)
i added the extra line and then saved.
Then i checked the file /etc/fstab to make sure the added lines were still there, which they were. Then i rebooted.
EVERY TIME, the file reverted to what was there before; my added lines simply vanished! Any idea what i am doing wrong?
-
Posts: 41
- Joined: 24 Oct 2007
#6
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://penguin.ch/dokuwiki/doku.php/mepis:level_0#twice_as_mount"
linktext was:"a bug"
====================================
), the file system table gets rewritten at reboot __{{emoticon}}__
At least partly, that is - entries above the comment on"dynamics" ought to survive this"revisionism" without damage ...
Due to what I (!) regard as (Subito Piano wrote: EVERY TIME, the file reverted to what was there before; my added lines simply vanished! Any idea what i am doing wrong?
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://penguin.ch/dokuwiki/doku.php/mepis:level_0#twice_as_mount"
linktext was:"a bug"
====================================
), the file system table gets rewritten at reboot __{{emoticon}}__
At least partly, that is - entries above the comment on"dynamics" ought to survive this"revisionism" without damage ...
-
Posts: 57
- Joined: 20 Oct 2007
#7
My experience is based on one computer at home. Tomorrow or Thursday i'll try it on one or two school computers and see if the results are the same....and/or try adding the line earlier in the file, as hinted by U-Rider--?!?!?!
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#8
UnicornRider is correct. The line needs to be in the 'dynamic' section.
-
Posts: 57
- Joined: 20 Oct 2007
#9
Ahh, yes. Works beautifully now. Thanks! __{{emoticon}}__
Now an unrelated question: can i place a"minimize all windows" (i.e.,"show desktop") button in the fluxbox taskbar? I mean, i'm not trying to turn fluxbox into icewm, but it's a handy button!
Now an unrelated question: can i place a"minimize all windows" (i.e.,"show desktop") button in the fluxbox taskbar? I mean, i'm not trying to turn fluxbox into icewm, but it's a handy button!
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#10
Already in Lysistrata is keybindings to do this.
Open several apps and then windows key plus d.
See the fluxbox/keys file.
Open several apps and then windows key plus d.
See the fluxbox/keys file.
-
Posts: 57
- Joined: 20 Oct 2007
#11
???
Ahh, yes, WinKey+D works fine but now another"problem" is apparent. The icons disappear. Let me explain the full mystery...
At the very first i set up my desktop using WMs>ROX>pinboard and added a few icons to the ones already there (like the CD drive icons that were there by default). Later, when i followed the directions to make the pinboard permanent, i lost my wallpaper and icons and got a blank grey screen."No big deal, i don't need wallpaper," says i, and i proceeded to add new icons, skipping the CD drive icons. BUT i noticed that if i turned the pinboard off AND then back on again, i got back the wallpaper -- with the FIRST set of icons--!??!? Now, upon starting up, i have the grey screen and my second set of icons by default; using WinKey+D, my icons disappear and the wallpaper returns, and if i press WMs>ROX>pinboard again i revert to the first set of icons with wallpaper---?!??!?!? Oh, yeah, and the wallpaper is unchangeable--i mean, the background image stays the same when i change wallpaper BUT the background image in the menu shows the new wallpaper!
Now, i am setting all this up for student use on school computers and they DON'T need wallpaper and certainly they can minimize windows manually, so i have all the info i need to get it all up and running to my satisfaction...but all this is a little bizarre--can you explain it? __{{emoticon}}__ Perhaps this is all because the very FIRST thing i should have done was make the pinboard permanent?
Ahh, yes, WinKey+D works fine but now another"problem" is apparent. The icons disappear. Let me explain the full mystery...
At the very first i set up my desktop using WMs>ROX>pinboard and added a few icons to the ones already there (like the CD drive icons that were there by default). Later, when i followed the directions to make the pinboard permanent, i lost my wallpaper and icons and got a blank grey screen."No big deal, i don't need wallpaper," says i, and i proceeded to add new icons, skipping the CD drive icons. BUT i noticed that if i turned the pinboard off AND then back on again, i got back the wallpaper -- with the FIRST set of icons--!??!? Now, upon starting up, i have the grey screen and my second set of icons by default; using WinKey+D, my icons disappear and the wallpaper returns, and if i press WMs>ROX>pinboard again i revert to the first set of icons with wallpaper---?!??!?!? Oh, yeah, and the wallpaper is unchangeable--i mean, the background image stays the same when i change wallpaper BUT the background image in the menu shows the new wallpaper!
Now, i am setting all this up for student use on school computers and they DON'T need wallpaper and certainly they can minimize windows manually, so i have all the info i need to get it all up and running to my satisfaction...but all this is a little bizarre--can you explain it? __{{emoticon}}__ Perhaps this is all because the very FIRST thing i should have done was make the pinboard permanent?
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#12
Here is probably the best way to get rox-desktop up permanently for your students.
1. In .fluxbox/startup file, uncomment the rox -pinboard=default &
2. Restart X, 'Exit' on menu.
3. You should now login to the grey rox-desktop you saw before.
4. Drag the apps you wish to have on the desktop, changing the icons as described in the antiX howto.
5. Open rox-filer, right click in a space in it, choose options > Compatibility > Check the first option in the list.
6. Restart X and you should now login to your customised rox-desktop. (and it sticks on reboot)
This process renders the rox option in the fluxbox menu useless, and it is probably best to remove it from the menu.
Not quite sure whether you will have to do this for each account. I guess you will have to. I also guess that each user will be able to customise their own desktop with their own folders/files etc.
Wallpaper can be customised, but it is a bit tricky.
An alternative to using rox-desktop is to use idesk (installed in the final, and I think rc2). idesk in some ways is easier to set up, it keeps conky on the desktop, and changing wallpaper is the same as with the default fluxbox desktop. If you google idesk, you'll get lots of help how to set it up.
1. In .fluxbox/startup file, uncomment the rox -pinboard=default &
2. Restart X, 'Exit' on menu.
3. You should now login to the grey rox-desktop you saw before.
4. Drag the apps you wish to have on the desktop, changing the icons as described in the antiX howto.
5. Open rox-filer, right click in a space in it, choose options > Compatibility > Check the first option in the list.
6. Restart X and you should now login to your customised rox-desktop. (and it sticks on reboot)
This process renders the rox option in the fluxbox menu useless, and it is probably best to remove it from the menu.
Not quite sure whether you will have to do this for each account. I guess you will have to. I also guess that each user will be able to customise their own desktop with their own folders/files etc.
Wallpaper can be customised, but it is a bit tricky.
An alternative to using rox-desktop is to use idesk (installed in the final, and I think rc2). idesk in some ways is easier to set up, it keeps conky on the desktop, and changing wallpaper is the same as with the default fluxbox desktop. If you google idesk, you'll get lots of help how to set it up.
-
Posts: 57
- Joined: 20 Oct 2007
#13
Thank you again for all your kind help.
In the comp lab, we use Mepis (3.4.3 at the moment, but hoping to upgrade to 7). The computers generally are heftier and the users are either the computer class students or else kids working on various projects with me nearby.
The science room and library now have AntiX computers. In these cases i am able to utilize older equipment AND cut down the students' options. Pidgin is totally removed and the only apps shown on the desktop are what they should need -- AbiWord, OpenOffice, Firefox, and maybe GnuChess as the only game. If those savvy enough to right-click and wander around to non-academic diversions decide to do so, it's easy enough for me to edit the menu. The grey screen is actually a good thing--not that i like a colorless world, but the stark blandness subtly reminds them that the computers are here for academics, not for goofing around. They won't be able to play around with the desktops beyond moving the icons around (and i might even take the time to figure out how to lock them in place!); all this plus Linux being virtually virus and spyware-proof by nature -- a real winning combination!
Mind you, i teach the most wonderful students in the world -- but kids are kids. The science teacher ASKED to JUST have linux on his computer after a student messed around with it, so now there are three of us Linux users on the loose!! __{{emoticon}}__
So i think i'm done with this topic post. THANK YOU again for your good work on AntiX and and your patient answering of my questions. This kind of assistance goes far helping me learn Linux. Thanks for answering me on the other post, too.
In the comp lab, we use Mepis (3.4.3 at the moment, but hoping to upgrade to 7). The computers generally are heftier and the users are either the computer class students or else kids working on various projects with me nearby.
The science room and library now have AntiX computers. In these cases i am able to utilize older equipment AND cut down the students' options. Pidgin is totally removed and the only apps shown on the desktop are what they should need -- AbiWord, OpenOffice, Firefox, and maybe GnuChess as the only game. If those savvy enough to right-click and wander around to non-academic diversions decide to do so, it's easy enough for me to edit the menu. The grey screen is actually a good thing--not that i like a colorless world, but the stark blandness subtly reminds them that the computers are here for academics, not for goofing around. They won't be able to play around with the desktops beyond moving the icons around (and i might even take the time to figure out how to lock them in place!); all this plus Linux being virtually virus and spyware-proof by nature -- a real winning combination!
Mind you, i teach the most wonderful students in the world -- but kids are kids. The science teacher ASKED to JUST have linux on his computer after a student messed around with it, so now there are three of us Linux users on the loose!! __{{emoticon}}__
So i think i'm done with this topic post. THANK YOU again for your good work on AntiX and and your patient answering of my questions. This kind of assistance goes far helping me learn Linux. Thanks for answering me on the other post, too.