Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,im using ubuntu 5.04 with xfce and i have have 3 questions:
1. I have USB flash drive and when i am with GNOME it just appear on the desktop,but when im with xfce+nautilus it doesnt appear.Do u know how to make xfce to mount it automaticly?
2. I had run nautilus under xfce and saved the session,but now i want to kill it.Could u tell me the command please?
3.I would like to see my ntfs partition uder ubuntu.I heard something aboout /etc/fstab but i dont know what exactly to put in it.would u tell me please?
1. I don't know how canone automatically mount a USB while in xfce.
2. pkill nautilus
3. Find the device name using fdisk
fdisk /dev/hda
enter 'p' (without quotes) and press enter. That would print the partition table. Once you know the name of your NTFS partition then you can make an entry in the /etc/fstab. Before that you need to create a mount point where your partition will be mounted. So,
mkdir /mnt/ntfs
Say, your NTFS partition is /dev/hda1 then you can should enter the following in the /etc/fstab
/dev/hda1 /mnt/ntfs ntfs defaults 1 0
Save the file and exit.
Then do,
mount -a
and your NTFS partition should be mounted. Note that you must have NTFS filesystem support in the kernel otherwise you won't be able to mount an NTFS partition.
Originally posted by rado_london
1. I have USB flash drive and when i am with GNOME it just appear on the desktop,but when im with xfce+nautilus it doesnt appear.Do u know how to make xfce to mount it automaticly?
There's no native support for hotplugging in XFCE. One way around it is to run the command gnome-volume-manager while in XFCE and then save your session--however, it doesn't allow for clean unmounting.
Quote:
2. I had run nautilus under xfce and saved the session,but now i want to kill it.Could u tell me the command please?
Even though, theoretically, you're supposed to just "kill" Nautilus, I've found it more effective to run the command xfdesktop.
Quote:
3.I would like to see my ntfs partition uder ubuntu.I heard something aboout /etc/fstab but i dont know what exactly to put in it.would u tell me please?
I use xfce as my wm/desktop. Here is how I got my usb stick working:
1. (as root, so you'll have to use sudo) mkdir /mnt/key.
2. I added the following line to my /etc/fstab file. Again, you'll have to do as root, (sudo gedit /etc/fstab)
/dev/sda1 /mnt/key vfat noauto,user,rw 0 0
3. Then, in xffm, under the fstab widget, you'll see /mnt/key, plug in your usb stick, right click on /mnt/key and select "mount". Your files will then show up.
After you're done, you'll have to right click on /mnt/key and select unmount. Anytime you use it in the future, simply repeat this last step.
This is the manual way to do things, though. I prefer to manually mount and unmount my media, so it works for me. You might want to check out ivman . For something that will work automatically. I don't know if it is in the ubuntu repositories, but it is worth a look.
Thanks a lot!Ive done everything u told me.My usb flash memory works i killed nautilus.Ive got one more problem with the ntfs partition.I have /mnt/ntfs and i can see all my win files but onluy when i am root.i tried to change the permissions but it tells me that this is read only file and is inpossible.have u got any ideas?
Thanks again
Originally posted by rado_london I have /mnt/ntfs and i can see all my win files but onluy when i am root.i tried to change the permissions but it tells me that this is read only file and is inpossible.have u got any ideas?
Thanks again
The partition has been mounted according to the entry you made in your fstab file. In this case only root has read permissions.
To enble read permissions for all users edit line that corresponds to the ntfs partition and make it look like this. Suppose your ntfs partition is /dev/hda1 , the corresponding entry in fstab would be :
Code:
/dev/hda1 /mnt/ntfs ntfs defaults, umask=333 0 0
This would give all users read (and only read) permissions on that partition.
Writing to ntfs partitions still lacks some support. There are drivers available that can do this but it'll take sometime untill it becomes more common.
Here, take a look at this . It has almost any information you would want concerning linux + ntfs.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.