#6 Screen not locking

v1.1
closed-fixed
Backend (20)
5
2007-08-24
2007-08-21
fmaste
No

I used the .deb file to install on Ubuntu 7.04 Feisty Fawn.
The screen is not automatically locked, it just go to sleep like a black screensaver and returns without any password.

I download the source and changed two lines (51 and 52) on proximity.py with the following:

'lock_command=string(default=''gnome-screensaver-command --lock'')',
'unlock_command=string(default=''gnome-screensaver-command --deactivate'')',

and it worked.

I also tried the older commands on a terminal ("gnome-screensaver-command -a" and "gnome-screensaver-command -d") and they did not work, just a black screen.

Great application! Please check this so that everybody can use it.

Discussion

  • Lars Friedrichs

    Lars Friedrichs - 2007-08-21
    • milestone: --> 748635
    • assigned_to: nobody --> highno
     
  • Lars Friedrichs

    Lars Friedrichs - 2007-08-21

    Logged In: YES
    user_id=114903
    Originator: NO

    Interesting - is your gnome screensaver configured to be locking the screen at all? Mine is - that's possibly why it locks the screen with password just by activating. I will check that.

     
  • Lars Friedrichs

    Lars Friedrichs - 2007-08-21
    • milestone: 748635 --> v1.1
    • status: open --> closed-fixed
     
  • Lars Friedrichs

    Lars Friedrichs - 2007-08-21

    Logged In: YES
    user_id=114903
    Originator: NO

    I rechecked that and it is true - the options for gnome-screensaver-command read as follows
    -a = activation
    -l = locking
    and it does as said - even if the screensaver is not configured for asking the password -l will make it ask for it. I changed that in the SVN version.
    Thanks for the note. (btw, it does not matter if short parameters or long ones are used, I prefer the shorter ones as I am pretty lazy :-)

     
  • fmaste

    fmaste - 2007-08-21

    Logged In: YES
    user_id=1797096
    Originator: YES

    Yes, I have no screen saver, I just put the display to sleep after some time of inactivity. That's why activating the screen saver does not lock the screen.
    But now with -l it is working fine even without having the gnome screen saver configured to lock the screen.

     
  • fmaste

    fmaste - 2007-08-21
    • status: closed-fixed --> open-fixed
     
  • Lars Friedrichs

    Lars Friedrichs - 2007-08-24

    Logged In: YES
    user_id=114903
    Originator: NO

    Ok, I consider this bug to be closed then as SVN and nightly do include the new command as default now.

     
  • Lars Friedrichs

    Lars Friedrichs - 2007-08-24
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks