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.
I have one problem. how to make autorun option in linux. that means when put cd or dvd in system. how to make it automatically open run all files. atlease home page . now i put cd in system. i manually open all files. how to make everything open automatically
Thanks
That entirely depends on what do you exactly mean. I have some problem understanding you.
KDE and Gnome have some kind of autorun feature, in the sense that they are able to detect when a disk is open, and will offer a menu with some options, similar to this of WinXP offering you some options on what to do with the disk.
If you mean to launch a program when inserting the disk, I am not aware of any linux way to do this. There are a number of problems to achieve this, the program would need to be portable enough or be wrapped into some kind of scripting mechanism that's architecture-agnostic, since Linux works in a number of architectures. It would need to be compiled statically as well.
Anyway, try to define a bit better what do you mean so we can try to give a more concrete answer to your question.
That entirely depends on what do you exactly mean. I have some problem understanding you.
KDE and Gnome have some kind of autorun feature, in the sense that they are able to detect when a disk is open, and will offer a menu with some options, similar to this of WinXP offering you some options on what to do with the disk.
If you mean to launch a program when inserting the disk, I am not aware of any linux way to do this. There are a number of problems to achieve this, the program would need to be portable enough or be wrapped into some kind of scripting mechanism that's architecture-agnostic, since Linux works in a number of architectures. It would need to be compiled statically as well.
Anyway, try to define a bit better what do you mean so we can try to give a more concrete answer to your question.
Thanks for u r reply
My need is when i put cd in winxp it automatically open run some flash player program or any swf format program contains that cd . so in the same way i need in linux. if it is possible to make this. please advise me.
I guess that KDE and Gnome already do that for many file types, at least to some degree, don't they? It should pop up a Window letting you choose between many actions, just like in WinXP, however I doubt that swf is between the default file types, you will have to find a way to configure/add it, and I don't even know if there's a working swf player in Linux (I'd look at gnash).
Nowadays, this is highly dependent on the desktop you use, there's no system-wide daemon or something like that to do it.
I guess that KDE and Gnome already do that for many file types, at least to some degree, don't they? It should pop up a Window letting you choose between many actions, just like in WinXP, however I doubt that swf is between the default file types, you will have to find a way to configure/add it, and I don't even know if there's a working swf player in Linux (I'd look at gnash).
Nowadays, this is highly dependent on the desktop you use, there's no system-wide daemon or something like that to do it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.