LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 12-01-2009, 04:30 AM   #1
saran_redhat
Member
 
Registered: May 2009
Location: chennai
Posts: 247

Rep: Reputation: 16
Autorun option


Hai friends

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
 
Old 12-01-2009, 04:37 AM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
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.
 
Old 12-01-2009, 10:24 PM   #3
saran_redhat
Member
 
Registered: May 2009
Location: chennai
Posts: 247

Original Poster
Rep: Reputation: 16
autorun problem

Quote:
Originally Posted by i92guboj View Post
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.

thank u
 
Old 12-02-2009, 02:40 AM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
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.
 
Old 12-02-2009, 06:45 AM   #5
saran_redhat
Member
 
Registered: May 2009
Location: chennai
Posts: 247

Original Poster
Rep: Reputation: 16
autorun problem

Quote:
Originally Posted by i92guboj View Post
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.
Sorry , I cant understand please advise me.

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rpm have --nodeps option with dpkg is such an option available deepclutch Debian 2 03-26-2006 09:49 PM
Autorun CD sureshkellemane Linux - Newbie 5 03-17-2005 08:04 PM
autorun apokryphos Linux - General 5 10-11-2004 10:43 AM
CD with Autorun Insomnia Linux - General 2 05-26-2004 07:19 AM
cd autorun Daem0hn Linux - General 0 07-22-2003 06:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration