PolicyKit's checks are mooted by line 145 of /usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py, which reads simply:
145 self.is_admin = (os.getuid() == 0 or in_grp_sudo or in_grp_admin)
Later, on line 192:
192 if self.is_admin:
193 self.setupInstallerTreeView()
194 self.updateLanguageView()
Thus the buttons are clickable iff the user launching the utility is in the sudo or admin groups. A quick edit of line 145 to simply read
145 self.is_admin = True #(os.getuid() == 0 or in_grp_sudo or in_grp_admin)
...immediately makes the buttons accessible and semi-functional: I can e.g. select Install / Remove Languages, then click Japanese, then click Apply Changes, and things proceed normally - I get a PolicyKit prompt, give it my password, and get my Japanese support.
PolicyKit's checks are mooted by line 145 of /usr/lib/ python2. 7/dist- packages/ LanguageSelecto r/gtk/GtkLangua geSelector. py, which reads simply:
145 self.is_admin = (os.getuid() == 0 or in_grp_sudo or in_grp_admin)
Later, on line 192:
192 if self.is_admin: llerTreeView( ) uageView( )
193 self.setupInsta
194 self.updateLang
Thus the buttons are clickable iff the user launching the utility is in the sudo or admin groups. A quick edit of line 145 to simply read
145 self.is_admin = True #(os.getuid() == 0 or in_grp_sudo or in_grp_admin)
...immediately makes the buttons accessible and semi-functional: I can e.g. select Install / Remove Languages, then click Japanese, then click Apply Changes, and things proceed normally - I get a PolicyKit prompt, give it my password, and get my Japanese support.