Results 1 to 5 of 5

Thread: numlockx and lightdm

  1. #1
    Join Date
    Oct 2008
    Beans
    3,509

    numlockx and lightdm

    In quantal I could enable numlock at the greeter by
    Code:
    gksudo gedit /etc/lightdm/lightdm.conf
    and add

    Code:
    greeter-setup-script=/usr/bin/numlockx on
    When doing this in Raring,
    the initial boot to the greeter works and numlock is enabled
    but when I logout all I get is a black screen with an x cursor.
    numlockx is installed.
    Anyone know if there is a bug for this?
    Last edited by stinkeye; February 19th, 2013 at 08:10 AM.

  2. #2
    Join Date
    Mar 2012
    Beans
    304

    Re: numlockx and lightdm

    You might want to take a look at this bug report:

    https://bugs.launchpad.net/lightdm/+bug/1128474
    GNU/Linux

  3. #3
    Join Date
    Oct 2008
    Beans
    3,509

    Re: numlockx and lightdm

    Quote Originally Posted by brainwash View Post
    You might want to take a look at this bug report:

    https://bugs.launchpad.net/lightdm/+bug/1128474
    Thanks, looks like the same bug and added to it.

  4. #4
    Join Date
    Mar 2012
    Beans
    304

    Re: numlockx and lightdm

    Can anyone else confirm this bug? Here are the different script parameters which may be affected:
    Code:
    # display-setup-script = Script to run when starting a greeter session (runs as root)
    # greeter-setup-script = Script to run when starting a greeter (runs as root)
    # session-setup-script = Script to run when starting a user session (runs as root)
    # session-cleanup-script = Script to run when quitting a user session (runs as root)
    GNU/Linux

  5. #5
    Join Date
    Jun 2009
    Location
    0:0:0:0:0:0:0:1
    Beans
    4,140
    Distro
    Xubuntu 13.04 Raring Ringtail

    Re: numlockx and lightdm

    anyone have a fix for this? the bug report says fix commited, but the issue is still present for me - fixed in proposed 1.5.1-0ubuntu1
    Code:
    ~$ apt-cache policy lightdm
    lightdm:
      Installed: 1.4.0-0ubuntu5
      Candidate: 1.4.0-0ubuntu5
      Version table:
     *** 1.4.0-0ubuntu5 0
            500 http://us.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
            100 /var/lib/dpkg/status
    Code:
    ~$ cat /etc/lightdm/lightdm.conf
    [SeatDefaults]
    greeter-session=lightdm-gtk-greeter
    user-session=xubuntu
    #greeter-setup-script = sh -c 'numlockx on;ogg123 /usr/share/sounds/ubuntu/stereo/system-ready.ogg 2> /dev/null &'
    #session-cleanup-script = /usr/local/bin/session-cleanup-script
    #session-setup-script = sh -c 'ogg123 /usr/share/sounds/ubuntu/stereo/desktop-login.ogg &'
    Code:
    ~$ cat /usr/local/bin/session-cleanup-script
    #!/bin/bash
    ogg123 /usr/share/sounds/ubuntu/stereo/desktop-logout.ogg &
    #echo "`date`" > /var/log/xfce-logout-script
    pid="`pgrep -f gmusicbrowser | head -1`"
    #echo "pid = $pid" >> /var/log/xfce-logout-script
    if [ "0$pid" -gt "0" ]; then
        user=$(ps aux | awk '{print $1" "$2}' | grep $pid | awk '{print $1}')
    #    echo "user = $user" >> /var/log/xfce-logout-script
        sudo -u $user gmusicbrowser -cmd Quit
    fi
    Last edited by pqwoerituytrueiwoq; March 9th, 2013 at 03:31 AM.
    Laptop: ASUS A54C-NB91 (Storage: WD3200BEKT + MKNSSDCR60GB-DX); Desktop: Custom Build - Images included; rPi Server
    Putting your Networked Printer's scanner software to shame PHP Scanner Server
    I frequently edit my post when I have the last post

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
  •