Page 1 of 1

Maya - Password-ready login (no extra keypresses nor clicks)

Posted: Sun May 20, 2012 9:35 pm
by esteban1uy
Login screen with no extra keypresses nor clicks, (out-of-the-box Mint 13 with MDM session manager).

1- Open a text editor and paste the following code:

Code: Select all

#!/bin/sh
gnome-screensaver-command -l
dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.SimulateUserActivity
2- Save it inside your personal folder with the name .mylogin.sh

3- Open a terminal and execute the following code:

Code: Select all

chmod a+x ~/.mylogin.sh
4- From the main menu, go to "Preferences"->"Startup Applications" and add a new entry:

Code: Select all

Name: MyLoginMod
Code: sh /home/NAME_OF_YOUR_PERSONAL_FOLDER/.mylogin.sh
Comment: my login workaround
(change NAME_OF_YOUR_PERSONAL_FOLDER with your real personal folder name)

5- Again from the main menu, go to "Administration"->"Login Window", enter you password at prompt, go to the "Security" tab and check "Enable automatic login" for your user.

Restart your system and at login you'll get this (ready to type your password):
Image

There's no need to mess with other session managers (LightDM, XDM, Slim... whatever), you can have it with the default session manager.