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

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

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

Postby esteban1uy on Sun May 20, 2012 9:35 pm

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.
Sorry, I only speak Spanish
User avatar
esteban1uy
Level 5
Level 5
 
Posts: 734
Joined: Sat Nov 12, 2011 6:20 am

Linux Mint is funded by ads and donations.
 

Return to Tutorials / Howtos

Who is online

Users browsing this forum: c0mrade19 and 13 guests