{"id":426,"date":"2008-05-26T10:47:46","date_gmt":"2008-05-26T09:47:46","guid":{"rendered":"http:\/\/gnome\/policykit-cpufreq"},"modified":"2008-05-26T10:47:46","modified_gmt":"2008-05-26T09:47:46","slug":"policykit-and-cpufreq-applet","status":"publish","type":"post","link":"https:\/\/blogs.igalia.com\/carlosgc\/2008\/05\/26\/policykit-and-cpufreq-applet\/","title":{"rendered":"PolicyKit and CPUFreq Applet"},"content":{"rendered":"\n<p>The frequency selector menu has been implemented for a long time now however, there are still people who don&#8217;t know such a feature exists. The  problem is that it uses a helper program that has to be installed  with the suid bit enabled and it seems that some distros don&#8217;t do that  by default.<\/p>\n<p>Now that PolicyKit has been proposed as an external GNOME dependency, I&#8217;ve  decided to give it a try. Yesterday I committed a patch to gnome-applets to  use PolicyKit (when it&#8217;s available) in the cpufreq applet, so that we don&#8217;t  need to enable the suid bit in cpufreq-selector anymore. The selector menu  will be always available by default now. An authentication dialog, provided by  PolicyKit-gnome, will pop up when a non-admin user tries to use the selector menu.<\/p>\n<table width=\"100%\" border=\"0\">\n<tr align=\"center\">\n<td> <img decoding=\"async\" src=\"http:\/\/blogs.igalia.com\/carlosgc\/files\/old\/polkit-cpufreq.png\" alt=\"PolicyKit-gnome authentication dialog\" \/> <\/td>\n<\/tr>\n<tr align=\"center\">\n<td><i>PolicyKit-gnome authentication dialog<\/i><\/td>\n<\/tr>\n<\/table>\n<p>Don&#8217;t worry too much about the annoying popup dialog, since the authentication can be remembered  forever, so that if you want, you will only see this popup dialog the first time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The frequency selector menu has been implemented for a long time now however, there are still people who don&#8217;t know such a feature exists. The problem is that it uses a helper program that has to be installed with the &hellip; <a href=\"https:\/\/blogs.igalia.com\/carlosgc\/2008\/05\/26\/policykit-and-cpufreq-applet\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[10,13],"class_list":["post-426","post","type-post","status-publish","format-standard","hentry","category-gnome","tag-cpufreq","tag-gnome-applets"],"_links":{"self":[{"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/posts\/426","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/comments?post=426"}],"version-history":[{"count":0,"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/posts\/426\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/media?parent=426"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/categories?post=426"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/tags?post=426"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}