Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Music during login screen

  1. #1
    Join Date
    Mar 2009
    Beans
    23
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Music during login screen

    Does anyone know if it is possible to run music during the login screen (not just after you login?)

    Even if it's not implemented standardly, if only with a script or something. . .

    thanks

  2. #2
    Join Date
    Jan 2008
    Location
    /us/al/home/mb_webguy
    Beans
    2,339
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Music during login screen

    System->Administration->Login Window, Accessibility tab. Change the "Login screen ready sound". I'm pretty sure it has to be a wav.

  3. #3
    Join Date
    Jan 2008
    Location
    the space between spaces.
    Beans
    1,654

    Re: Music during login screen

    Currently a drum tone plays at the login screen, you can change it with System>Administration>Login Window.
    "If a cluttered desk signs a cluttered mind, Of what, then, is an empty desk a sign?" -Albert Einstein.

  4. #4
    Join Date
    Mar 2009
    Beans
    23
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Music during login screen

    Thanks! Any chance that I can have a playlist? I guess I could just make a really long sound with different songs.

    do you happen to know if it was a really long sound, would it stop when I log in, or would it keep going until finished?

    EDIT: It doesn't stop - anyone know to make it stop?
    Last edited by enabulator; April 4th, 2009 at 03:12 AM.

  5. #5
    Join Date
    Mar 2009
    Beans
    23
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Music during login screen

    Is there any way to have some script or something run when it get to the login screen that plays music, and then have something of a similar nature (script or something) run when you log in to stop the music?

  6. #6
    Join Date
    Apr 2006
    Location
    Utah, USA
    Beans
    521
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Music during login screen

    Not sure but poke around in /etc/gdm maybe the file /etc/gdm/init/Default to start with. Stick a command in there to play a file (found a good resorce for CLI audio players) and see what happens. If that doesn't do it look at the other files in there.
    Of course back up anything you change first.

    Once you know that works find something that will do a whole playlist.

  7. #7
    Join Date
    Mar 2009
    Beans
    23
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Music during login screen

    Thanks for the reply,

    I'm new to ubuntu, and I don't know bash, or whatever the files are coded in. Sometime i might learn, but at least now I have an idea of where to start.

    EDIT: the /bin/sh means its dash, right?
    Last edited by enabulator; April 4th, 2009 at 10:23 PM.

  8. #8
    Join Date
    Mar 2009
    Beans
    23
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Music during login screen

    is dash/bash/whatever it is basically the same as typing in the terminal?

  9. #9
    Join Date
    Mar 2009
    Beans
    23
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Music during login screen

    ok, so I got music to play with
    Code:
    mplayer /path/to/file
    However, I didn't get quite what I wanted.

    If I add the command to /etc/gdm/Init/Default, it playes before the login screen, and the song has to finish before the screen comes up at all.
    If I add to /etc/gdm/PreSession/Default, It plays after I login, but before the things under System >> Preferences >> Sessions run.
    I am assuming that if I add to /etc/gdm/PostSession/default, that it will run after the things under System >> Preferences >> Sessions run.
    If I add to /etc/gdm/PostLogin/Default.sample, it doesn't do anything (even if name changed to Default) - btw:why?

    For all of these all action stops, the music plays, and then it continues. Can the music run concurrently with whatever else is happening?

    I still don't even know how to have the music stop after someone logs in.

    Does anyone else have any other ideas on where to go with this? Is it impossible?

    thanks

  10. #10
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,510
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Music during login screen

    Quote Originally Posted by enabulator View Post
    ok, so I got music to play with
    Code:
    mplayer /path/to/file
    However, I didn't get quite what I wanted.

    If I add the command to /etc/gdm/Init/Default, it plays before the login screen, and the song has to finish before the screen comes up at all.
    .......
    Code:
    mplayer /path/to/file &
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

Page 1 of 2 12 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
  •