Hello,
On Sat, 08 Dec 2018, David Haller wrote:
>On Fri, 07 Dec 2018, Dale wrote:
>>Peter Humphrey wrote:
>>> Have you tried gkrellm? It's very neat. Sits in a vertical strip at
>>> the side of your screen and shows a whole load of things all at
>>> once. I've been using it for donkeys' years.
>>
>>That's what I generally use. I don't see a place for it to show the CPU
>>frequency tho. Did I miss it?
>
>Nope. Try your local x11-plugins/gkrellm-gkfreq, see attachment ;)
Made a little patch (drawn from the gkfreq-2.0 source) to make updates
not quite that often (I barely could read them)...
Patch + updated ebuild attached. Have fun.
-dnh
--
And 1.1.81 is officially BugFree(tm), so if you receive any bug-reports
on it, you know they are just evil lies."
(By Linus Torvalds, linus.torva...@cs.helsinki.fi)
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit gkrellm-plugin toolchain-funcs
DESCRIPTION="CPU frequency plugin for gkrellm2"
HOMEPAGE="https://sourceforge.net/projects/gkrellm-gkfreq/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="app-admin/gkrellm:2[X]"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/gkrellm-gkfreq-2.4-dont_update_too_much.patch" )
diff -purN -x '*~' a/gkrellm-gkfreq.c b/gkrellm-gkfreq.c
--- a/gkrellm-gkfreq.c 2014-12-23 14:23:13.000000000 +0100
+++ b/gkrellm-gkfreq.c 2018-12-08 05:58:49.732739849 +0100
@@ -172,6 +172,9 @@ static gint panel_expose_event(GtkWidget
static void update_plugin() {
gint i;
+ // dont do it too much...
+ if ((GK.timer_ticks % 10) != 0) return;
+
// Get all CPU frequencies and calculate max, avg & min
for (i=0; i<num_cpu; i++) {
cpu[i].freq = get_cpu_freq(i);