LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-27-2005, 04:52 PM   #1
cheesekeeper
LQ Newbie
 
Registered: Feb 2005
Location: Cincinnati, O.
Distribution: Fedora Core 2
Posts: 19

Rep: Reputation: 0
How to stop KDE from opening CD/DVD browser window?


How can I stop KDE from opening a file browser window when I insert a DVD or CD? The window is also opened on every login.

Can I assign a different action, such as running a shell script on insert?
 
Old 04-28-2005, 09:19 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,511

Rep: Reputation: 177Reputation: 177
"How can I stop KDE from opening a file browser window when I insert a DVD or CD?"

Check /etc/fstab and see if automount is specified on the entries for your CD and DVD. If you are using automount then removing automount from the two relevent lines in /etc/fstab should solve the problem.

"The window is also opened on every login."

Check in kcontrol (control center) to see if you have told KDE to restore previous sessions. KDE may be mounting the devices because the previous session had the devices mounted.

kcontrol -> KDE components -> Session Manager -> Restore previous session

----------------------------
Steve Stites
 
Old 05-04-2005, 12:13 AM   #3
cheesekeeper
LQ Newbie
 
Registered: Feb 2005
Location: Cincinnati, O.
Distribution: Fedora Core 2
Posts: 19

Original Poster
Rep: Reputation: 0
I don't quite know how to read /etc/fstab, but it doesn't appear that anything is set for automount. Here is the output for
cat /etc/fstab | grep /dev/cdrom

/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0


I don't care if the disc automounts, I just want to do something other than opening a window in KDE.

As for restoring previous sessions, KDE is opening a window even if I had them closed in the previous session.

Quote:
Originally posted by jailbait
"How can I stop KDE from opening a file browser window when I insert a DVD or CD?"

Check /etc/fstab and see if automount is specified on the entries for your CD and DVD. If you are using automount then removing automount from the two relevent lines in /etc/fstab should solve the problem.

"The window is also opened on every login."

Check in kcontrol (control center) to see if you have told KDE to restore previous sessions. KDE may be mounting the devices because the previous session had the devices mounted.

kcontrol -> KDE components -> Session Manager -> Restore previous session

----------------------------
Steve Stites
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
why mandriva 10.2 gnome2.8 system freezes upon resizing/opening window/new window skaramanger Mandriva 8 08-30-2005 10:22 AM
why mandriva 10.2 gnome2.8 system freezes upon resizing/opening window/new window skaramanger Mandriva 2 08-15-2005 04:38 PM
CD/DVD Drive don't work from File Browser Application in my KDE 3.3 over Debian PinRojas Linux - Newbie 1 06-07-2005 01:31 AM
firefox default browser, opening html pages in new window perfect_circle LinuxQuestions.org Member Success Stories 3 03-29-2005 10:26 AM
In Gnome. How do you stop it opening a new window every time you double click? Snerkel Linux - Software 2 11-23-2004 05:18 PM


All times are GMT -5. The time now is 06:58 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration