Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
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.
Add this in /etc/fstab file
/dev/sdb1 /media/usb/ auto defaults,auto,user 0 0
You need to create /media/usb directory first.
I don't think Fedora does it that way. fstab will work, but you need to create entries for all ports, since one might insert two sticks, one in /dev/sdb1, and another in /dev/sdc1.
Isn't there a solution using dbus or udev or something?
So the gnome people say make sure hald is running, ok I got that. Process 3114 is hald. Also hald-addon-storage is polling /dev/sdb which is where I am hotplugging my USB sticks.
Then, go into Preferences and select "Removable Drives and Media Preferences", so I do that, and I select to "Mount removable drives when hot-plugged". Check.
Then I hot plug a USB stick and voila, NOTHING HAPPENS.
So, what is wrong.
The problem with Linux is that there are 3 million ways to do everything and none of them work.
So the gnome people say make sure hald is running, ok I got that. Process 3114 is hald. Also hald-addon-storage is polling /dev/sdb which is where I am hotplugging my USB sticks.
Then, go into Preferences and select "Removable Drives and Media Preferences", so I do that, and I select to "Mount removable drives when hot-plugged". Check.
Then I hot plug a USB stick and voila, NOTHING HAPPENS.
So, what is wrong.
The problem with Linux is that there are 3 million ways to do everything and none of them work.
Apparently some dbus policy is denying access, if I get this corrected I might get somewhere.
It was set to "deny" before. Now it works like Fedora, except it doesn't launch Nautilus, which is good cuz I don't need Nautilus.
Thanks for your patience.
Ok, that's all fine and dandy, but now I would like this to work outside of any Window Manager. When I run the system from a console, there is no automounting taking place. How do I get that to work? In other words, what is the piece that Gnome is bringing to the table that is missing from the console?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.