You are not logged in.

#1 2012-05-13 07:18:26

Jasonvw
Member
From: Detroit, Michigan
Registered: 2011-12-23
Posts: 22

Quick Fix: Use Tab key for Slim

I'm not sure if I'm the only one, but I found it annoying that Slim dosen't allow the tab key for moving to the password box. Since just about everywhere else you log in a tab key is used it seems counter-intuitive to use enter.

Forgive me if this is completely obvious for everyone. If it is, at least I'll have documentation for myself on the forum for later.

In the source for Slim, in panel.cpp around line 371

Simply change:

        case XK_Return:
        case XK_KP_Enter:

to

        case XK_Return:
        case XK_KP_Enter:
	case XK_Tab:

Build and enjoy.

Last edited by Jasonvw (2012-05-13 07:21:17)


RAID !=backup

Offline

#2 2012-05-13 08:31:18

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: Quick Fix: Use Tab key for Slim

On the otherhand, if you want to, you could make slim focus on password and have a default user set in slim.conf.

Offline

#3 2012-05-13 08:40:36

Jasonvw
Member
From: Detroit, Michigan
Registered: 2011-12-23
Posts: 22

Re: Quick Fix: Use Tab key for Slim

True, but there is a bit of lost security (albeit small) doing that. I suppose at the point of physical access it's pretty moot, but I guess it's just a security habit I've always had.


RAID !=backup

Offline

Board footer

Powered by FluxBB