Peppermint | Linux OS Community Forum
 
It is currently Tue Nov 12, 2019 5:20 am

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: How to: Enable userlist on lxdm login screen
PostPosted: Fri Jan 06, 2012 8:47 pm 
Offline

Joined: Fri Jan 06, 2012 5:09 pm
Posts: 2
I just installed Peppermint Two on my netbook and so far I have liked what I have seen. Except the fact that I have to write my user name every time I log in. After a creative couple of hours of Googling, I found a way to have a user list on the login screen, so I could just click my name and be prompted for my password. And in case someone else wishes to do the same or if I happen to have to do it again an couldn't remember how I did it, here's how:

By the way, pretty much everything in this requires root privileges.

So, the default Peppermint theme lxdm is using does not support userlist. Easiest approach is to switch to Industrial theme by editing
Code:
/etc/xdg/peppermint/lxdm/lxdm.conf

Just change theme=Peppermint to theme=Industrial under [display] And while you're at it, also check that under [userlist], it says
Code:
disable=0
If you save now and reboot, you will find that the login screen now shows a userlist, but that there are extra entries in it, namely syslog, ntp and usbmux, which are displayed for some reason. This can be fixed by editing the aforementioned config file to say, under [userlist],
Code:
black=syslog ntp usbmux
Now would be a good time to save and reboot.

Now you should have a login screen with huge white text saying "Login" and, indeed, a userlist, though you may have a row of commas behind your username. This can be fixed by editing
Code:
/etc/passwd
Find the row containing your username and remove the commas following your name. Adding a space where the commas were is also an aesthetically good idea, this will separate your name from your username in brackets in the userlist. Mine now looks like this:
Code:
lauri:x:1000:1000:Lauri :/home/lauri:/bin/bash


If you're like me, you might find the original Peppermint login screen way better looking than the Industrial login screen. So I made a new directory where the themes are located, that is
Code:
/usr/share/lxdm/themes/
Now you should have in there directories Peppermint, Industrial and whatever you just named your directory. Now copy everything except greeter.ui from Peppermint directory to your directory and then copy greeter.ui from Industrial directory to your directory. Then edit
Code:
/etc/xdg/peppermint/lxdm/lxdm.conf
and replace theme=Industrial with theme=name_of_your_folder.

Now you should have the Peppermint themed login screen with a userlist.


Top
 Profile  
 
 

 Post subject: Re: How to: Enable userlist on lxdm login screen
PostPosted: Fri Jan 06, 2012 9:44 pm 
Removed.


Last edited by oldrong on Sun Jan 08, 2012 2:33 pm, edited 1 time in total.

Top
  
 
 Post subject: Re: How to: Enable userlist on lxdm login screen
PostPosted: Sat Jan 07, 2012 11:43 am 
Offline
User avatar

Joined: Mon Jul 05, 2010 9:44 pm
Posts: 247
Location: Victoriaville, QC, Canada
That's the way to learn about the system, oldrong: find a way to solve the problem!

:mrgreen:

Nice work, Jupeli! I keep that in my notes. Thanks!


Top
 Profile  
 
 Post subject: Re: How to: Enable userlist on lxdm login screen
PostPosted: Sun Jan 08, 2012 2:10 pm 
Offline
User avatar

Joined: Wed May 19, 2010 6:38 pm
Posts: 715
Location: Asheville, NC USA
Nicely done. I'm going to replicate this on the Lenovo laptop that is now in the kids room so the whole fam damily has easier access....

Cheers and thanks for the kind words!!

Shane

_________________
COO of Peppermint
Follow me on Twitter
Circle me on Google+
Friend me on Facebook
Linux User 525202
Peppermint is Powered by VPS.net Cloud Servers


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

Powered by php B.B. © 2000, 2002, 2005, 2007 php B.B. Group
Template made by DEVPPL