PDA

View Full Version : [ubuntu] unity: drop down menu from the gear icon in the far upper right



Skaperen
June 19th, 2016, 02:15 AM
in unity there is a drop down menu from the gear icon in the far upper right corner that shows "About This Computer" and "Ubuntu Help..." and "System Settings..." and "Lock/Switch Account..." and "Guest Session" and a list of currently logged in users. it remembers users previously logged in and shows them, too. it shows no more than 12 users. is there a way to increase that maximum? is there a way to customize the list of not-yet-logged-in users? how can i find out what program code controls the set-up of this menu?

mc4man
June 19th, 2016, 04:14 AM
rebuild indicator-session source, install new build, better done as a .deb

The line controlling is in src/service.c line # 1530 - (16.04, # may vary on earlier releases but in there..


properties[PROP_MAX_USERS] = g_param_spec_uint ("max-users",
"Max Users",
"Max visible users",
0, INT_MAX, 12,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT |
G_PARAM_STATIC_STRINGS);