I can confirm this bug. If (!) there is indeed ck-histroy used or the code from ck-history then this is a oneliner:
To fix ck-history: http://cgit.freedesktop.org/ConsoleKit/tree/tools/ck-history.c#n772
just change g_print ("%-8.8s %u\n", username, data->count);
to: g_print ("%s %u\n", username, data->count);
or even better: (swap username and datacount to omit padding issues and retain the tab-like format) g_print ("%8u %s\n", data->count, username);
I can confirm this bug. If (!) there is indeed ck-histroy used or the code from ck-history then this is a oneliner:
To fix ck-history: cgit.freedeskto p.org/ConsoleKi t/tree/ tools/ck- history. c#n772
http://
just change
g_print ("%-8.8s %u\n", username, data->count);
to:
g_print ("%s %u\n", username, data->count);
or even better: (swap username and datacount to omit padding issues and retain the tab-like format)
g_print ("%8u %s\n", data->count, username);