budulay
Packager
Vectorian
   
Posts: 568
NewComer
|
 |
« on: May 27, 2008, 02:28:19 pm » |
|
I saw few screen shots on this forum where there is a picture for each user in the login screen, so i can just click on the picture, enter password and I am in. But for some reason I have a picture only for root, so when I login as ordinary user I have to type user name and password. It's not a big deal, but if it is possible to make it more comfortable, why not? Could someone advise me how to add this picture? Thanks in advance.
|
|
|
|
« Last Edit: August 05, 2008, 10:08:51 am by budulay »
|
Logged
|
|
|
|
|
M0E-lnx
|
 |
« Reply #1 on: May 27, 2008, 02:36:57 pm » |
|
that depends on the login theme used and whether a picture has been set. I'm currently working on the vasmcc modules for a re.designed control center that will offer this feature
|
|
|
|
|
Logged
|
|
|
|
budulay
Packager
Vectorian
   
Posts: 568
NewComer
|
 |
« Reply #2 on: May 27, 2008, 02:55:34 pm » |
|
The most certain thing is that I didn't changed it. It seems that it is Bela. Looking forward to test your vasmcc  Thanks.
|
|
|
|
|
Logged
|
|
|
|
|
M0E-lnx
|
 |
« Reply #3 on: May 27, 2008, 04:22:28 pm » |
|
Looking forward to test your vasmcc  Thanks. Kool... I could use testers... I think I have a useable interface for non-root user already, Just have to do the modules for the root user. After the barebones of these is done, I'll ask for testers... you're more than welcome to test 
|
|
|
|
|
Logged
|
|
|
|
budulay
Packager
Vectorian
   
Posts: 568
NewComer
|
 |
« Reply #4 on: May 27, 2008, 04:34:11 pm » |
|
Great! i could do two things at once - add picture to my poor user account and test some cool staff 
|
|
|
|
|
Logged
|
|
|
|
wcs
Packager
Vectorian
   
Posts: 1144
|
 |
« Reply #5 on: June 11, 2008, 05:26:33 pm » |
|
Could someone advise me how to add this picture? Edit the kdmrc file as root in /usr/share/config/kdm/kdmrc The relevant lines are here: # Specify, where the users' pictures should be taken from. # "AdminOnly" - from <FaceDir>/$USER.face[.icon] # "PreferAdmin" - prefer <FaceDir>, fallback on $HOME # "PreferUser" - ... and the other way round # "UserOnly" - from the user's $HOME/.face[.icon] # Default is AdminOnly FaceSource=PreferUser # The directory containing the user images if FaceSource is not UserOnly. # Default is "/usr/share/apps/kdm/faces" FaceDir=/usr/share/apps/kdm/pics/users
As you can see I use PreferUser. With this or UserOnly, you just put a PNG file named .face in each user's home, and you're set.
|
|
|
|
|
Logged
|
|
|
|
|
M0E-lnx
|
 |
« Reply #6 on: June 11, 2008, 07:24:18 pm » |
|
Actually, I've been working on a vasmcc module that will take care of this at the time of creating the user account. Here is the correct procedure The pictures are stored in /usr/share/apps/kdm/pics/users what you do is cd to that dir copy your pic there or choose one from the existing make a link to your pic and name it <your_user_name>.face.icon like ln -s bug.png M0E-lnx.face.icon
|
|
|
|
|
Logged
|
|
|
|
budulay
Packager
Vectorian
   
Posts: 568
NewComer
|
 |
« Reply #7 on: June 11, 2008, 07:30:34 pm » |
|
Thank you very much for your replyes. It used defaulf AdminOnly, and it had pictures for both, user and root in FaceDir. But root's image showed up on login screen, and user's - not. In fact I didn't even have user's name displayed at login scree. When I tryed UserOnly, I just copied user's and root's images into their home directories. Then I renamed them to .face, but still user's icon and name didn't showed up. Moreover, root's image disappeared from login screen. BTW, root's icon in mc looks like this: http://img2.freeimagehosting.net/uploads/50e0add2f0.jpgI think that's kind of strange... Could you help me, please. Thanks in advance.
|
|
|
|
|
Logged
|
|
|
|
wcs
Packager
Vectorian
   
Posts: 1144
|
 |
« Reply #8 on: June 11, 2008, 08:20:54 pm » |
|
Are you sure that the FaceSource line is uncommented? And that your theme is Bela? Theme=/usr/share/apps/kdm/themes/Bela Sorry for going for the obvious, but you never know... Moreover, root's image disappeared from login screen That might have something to do with the HiddenUsers parameter. Comment the line that says that. In my file I have HiddenUsers=root, but you should comment that so that you get it displayed. But root's image showed up on login screen, and user's - not What is strange is that the user's name doesn't even show up for you to click on it. Maybe something here: # Enable user list (names along with images) in the greeter. # Default is true #UserList=false # User selection for UserCompletion and UserList: # "NotHidden" - all users except those listed in HiddenUsers # "Selected" - only the users listed in SelectedUsers # Default is NotHidden #ShowUsers=Selected # For ShowUsers=Selected. @<group> means all users in that group. # Default is "" #SelectedUsers=root,johndoe # For ShowUsers=NotHidden. @<group> means all users in that group. # Default is "" HiddenUsers=root # Special case of HiddenUsers: users with a non-zero UID less than this number # will not be shown as well. # Default is 0 MinShowUID=500 # Complement to MinShowUID: users with a UID greater than this number will # not be shown as well. # Default is 65535 MaxShowUID=65000 What you want is for the UserList, ShowUsers, and HiddenUsers lines to be commented so that you go with the defaults and it shows you both root and the users. The UID lines shouldn't be the problem, unless your user has a weird user id.
|
|
|
|
|
Logged
|
|
|
|
wcs
Packager
Vectorian
   
Posts: 1144
|
 |
« Reply #9 on: June 11, 2008, 08:24:44 pm » |
|
Actually, I've been working on a vasmcc module that will take care of this at the time of creating the user account I can hardly wait for a new VasmCC release. What a great job, M0E.
|
|
|
|
|
Logged
|
|
|
|
budulay
Packager
Vectorian
   
Posts: 568
NewComer
|
 |
« Reply #10 on: June 12, 2008, 01:57:41 pm » |
|
I checked my login theme. it's Bela. Here are some sections of my kdmrc file. I switched back to AdminOnly(this way at least root's image shows up). Also I run ls command in /usr/share/apps/kdm/pics/user directory. Any idas why it don't work? Thanks a lot foe trying to help  # Enable user list (names along with images) in the greeter. # Default is true #UserList=false # User selection for UserCompletion and UserList: # "NotHidden" - all users except those listed in HiddenUsers # "Selected" - only the users listed in SelectedUsers # Default is NotHidden #ShowUsers=Selected # For ShowUsers=Selected. @<group> means all users in that group. # Default is "" #SelectedUsers=root,johndoe # For ShowUsers=NotHidden. @<group> means all users in that group. # Default is "" #HiddenUsers=root # Special case of HiddenUsers: users with a non-zero UID less than this number # will not be shown as well. # Default is 0 MinShowUID=500 # Complement to MinShowUID: users with a UID greater than this number will # not be shown as well. # Default is 65535 MaxShowUID=65000 # Specify, where the users' pictures should be taken from. # "AdminOnly" - from <FaceDir>/$USER.face[.icon] # "PreferAdmin" - prefer <FaceDir>, fallback on $HOME # "PreferUser" - ... and the other way round # "UserOnly" - from the user's $HOME/.face[.icon] # Default is AdminOnly #FaceSource=UserOnly # The directory containing the user images if FaceSource is not UserOnly. # Default is "/usr/share/apps/kdm/faces" FaceDir=/usr/share/apps/kdm/pics/users >ls (3299) Apple.png BeachBall.png Blowfish.png Bug.png Butterfly.png Car.png Cow.png Daemon.png Dog.png Elephant.png Flower.png Frog.png Ghost.png Guitar.png Heart.png Konqui.png Lion.png Monkey.png Penguin.png Pig.png Rabbit.png Ring.png Scream.png Shark.png Splash.png Star.png Teddybear.png Turtle.png budulay.face.icon default1.png default2.png default3.png me.face.icon root.face.icon root1.png
|
|
|
|
« Last Edit: June 12, 2008, 02:00:40 pm by budulay »
|
Logged
|
|
|
|
|
M0E-lnx
|
 |
« Reply #11 on: June 12, 2008, 02:06:02 pm » |
|
Actually, I've been working on a vasmcc module that will take care of this at the time of creating the user account I can hardly wait for a new VasmCC release. What a great job, M0E. Here is a screenie of what it's looking like 
|
|
|
|
|
Logged
|
|
|
|
wcs
Packager
Vectorian
   
Posts: 1144
|
 |
« Reply #12 on: June 12, 2008, 02:18:01 pm » |
|
Here are some sections of my kdmrc file. I switched back to AdminOnly(this way at least root's image shows up). Also I run ls command in /usr/share/apps/kdm/pics/user directory. Any idas why it don't work? Everything seems alright to me... Having AdminOnly or any of the others should only impact on the location of the files, and nothing else... I'm out of ideas... I assume your login name is "me" ?
|
|
|
|
|
Logged
|
|
|
|
budulay
Packager
Vectorian
   
Posts: 568
NewComer
|
 |
« Reply #13 on: June 12, 2008, 02:50:08 pm » |
|
Here is a screenie of what it's looking like Looks great! I assume your login name is "me" ? Actually it's budulay.  Thanks anyway 
|
|
|
|
|
Logged
|
|
|
|
wcs
Packager
Vectorian
   
Posts: 1144
|
 |
« Reply #14 on: June 12, 2008, 02:54:06 pm » |
|
Oh, yea. I had missed the budulay.face.icon file.  I would probably install or reinstall kdebase, to get a new kdmrc and then start from there, but I don't know if you want the trouble.
|
|
|
|
|
Logged
|
|
|
|
|