Page 1 of 5 123 ... LastLast
Results 1 to 10 of 43

Thread: HOWTO: Automatically play CDs and DVD when inserted.

  1. #1
    Join Date
    Oct 2004
    Location
    Denmark - Scandinavia
    Beans
    19,200
    Distro
    Ubuntu 18.04 Bionic Beaver

    HOWTO: Automatically play CDs and DVD when inserted.

    Tested with x86 Dapper, Edgy, Feisty and Gutsy

    Here's a little HOWTO, but nevertheless a helpful one for automatically play your Music CDs and your DVD movies when they are inserted.

    First go to System tab ---> Preferences ---> Removable Drives and Media
    Or by command:
    Code:
    gnome-volume-properties
    Now switch to Multimedia tab in Removable Drives and Media.



    Music Player

    In the Audio CD Disc write this in the commandline box:

    Xmms
    Code:
    xmms -p /media/cdrom
    Beep Media Player (bmp)
    Code:
    beep-media-player -p /media/cdrom
    Audacious
    Code:
    audacious -p /media/cdrom

    Movie Player

    In the Video DVD Disc write this in the commandline box:

    VLC
    Code:
    wxvlc dvd:///dev/dvd
    Mplayer
    Code:
    gmplayer dvd://1 -dvd-device /dev/dvd

    Now you can insert your Music Cds and DVDs and it startsup automatically. You might change it a little bit if you got multiply CD/DVD.
    A logout may be needed before it can take effect.
    Last edited by Artificial Intelligence; May 12th, 2008 at 11:30 AM. Reason: updating
    | AMD Ryzen 1700x 3.4 GHz | ASUS PRIME X370-A | 32 GB 2400 Mhz DDR4 |
    | ASUS Nvidia 1070 8 GB | SSD 250 GB | HDD 1 TB |


    My Blog: https://eosvisions.wordpress.com

    Try elementary OS - https://elementary.io

  2. #2
    Join Date
    Apr 2005
    Location
    IRC or Forums
    Beans
    543
    Distro
    Ubuntu

    Re: HOWTO: Automatically play CDs and DVD when inserted.

    Howto tested, and works like a charm, great job AI
    AskDroid - Android Q&A Community

  3. #3
    Join Date
    Oct 2004
    Location
    Denmark - Scandinavia
    Beans
    19,200
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: HOWTO: Automatically play CDs and DVD when inserted.

    Thanks, bro ^^
    | AMD Ryzen 1700x 3.4 GHz | ASUS PRIME X370-A | 32 GB 2400 Mhz DDR4 |
    | ASUS Nvidia 1070 8 GB | SSD 250 GB | HDD 1 TB |


    My Blog: https://eosvisions.wordpress.com

    Try elementary OS - https://elementary.io

  4. #4
    Join Date
    Aug 2005
    Beans
    992

    Re: HOWTO: Automatically play CDs and DVD when inserted.

    I use bmp for music & gxine for movies. can I use these instead?

  5. #5
    Join Date
    Oct 2004
    Location
    Denmark - Scandinavia
    Beans
    19,200
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: HOWTO: Automatically play CDs and DVD when inserted.

    I don't use any of these multi-media, but I guess bmp will work, dunno about xine.
    | AMD Ryzen 1700x 3.4 GHz | ASUS PRIME X370-A | 32 GB 2400 Mhz DDR4 |
    | ASUS Nvidia 1070 8 GB | SSD 250 GB | HDD 1 TB |


    My Blog: https://eosvisions.wordpress.com

    Try elementary OS - https://elementary.io

  6. #6
    Join Date
    Sep 2005
    Location
    Houston, Texas
    Beans
    509

    Re: HOWTO: Automatically play CDs and DVD when inserted.

    awesome. note to self. Must try this out.

  7. #7
    Join Date
    Jan 2006
    Location
    Belgium, Leuven
    Beans
    194
    Distro
    Ubuntu 6.10 Edgy

    Re: HOWTO: Automatically play CDs and DVD when inserted.

    it doesn't work with me


    when i put this wxvlc dvd:///dev/dvd in a terminal, it starts playing, but when i just insert a disk, it doesn't play?

  8. #8
    Join Date
    Oct 2004
    Location
    Denmark - Scandinavia
    Beans
    19,200
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: HOWTO: Automatically play CDs and DVD when inserted.

    update: added beep media player
    | AMD Ryzen 1700x 3.4 GHz | ASUS PRIME X370-A | 32 GB 2400 Mhz DDR4 |
    | ASUS Nvidia 1070 8 GB | SSD 250 GB | HDD 1 TB |


    My Blog: https://eosvisions.wordpress.com

    Try elementary OS - https://elementary.io

  9. #9
    Join Date
    Oct 2004
    Location
    Denmark - Scandinavia
    Beans
    19,200
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: HOWTO: Automatically play CDs and DVD when inserted.

    Updated:
    Rewritten the howto.
    Added Mplayer to autoplay.
    | AMD Ryzen 1700x 3.4 GHz | ASUS PRIME X370-A | 32 GB 2400 Mhz DDR4 |
    | ASUS Nvidia 1070 8 GB | SSD 250 GB | HDD 1 TB |


    My Blog: https://eosvisions.wordpress.com

    Try elementary OS - https://elementary.io

  10. #10
    Join Date
    Oct 2004
    Location
    Denmark - Scandinavia
    Beans
    19,200
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: HOWTO: Automatically play CDs and DVD when inserted.

    Quote Originally Posted by maxdevis
    it doesn't work with me


    when i put this wxvlc dvd:///dev/dvd in a terminal, it starts playing, but when i just insert a disk, it doesn't play?
    You need to logout and login before it works.
    | AMD Ryzen 1700x 3.4 GHz | ASUS PRIME X370-A | 32 GB 2400 Mhz DDR4 |
    | ASUS Nvidia 1070 8 GB | SSD 250 GB | HDD 1 TB |


    My Blog: https://eosvisions.wordpress.com

    Try elementary OS - https://elementary.io

Page 1 of 5 123 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •