[issue694] move gkrellm to right side of screen by default

Michael Prokop bts at bts.grml.org
Tue Jun 16 15:30:39 CEST 2009


Michael Prokop <mika at grml.org> added the comment:

* Ulrich Dangel <bts at bts.grml.org> [20090616 15:16]:

> attached a patch which should fix this

Thanks!

> -/usr/bin/gkrellm   &   # -w
> +
> +# find offset for gkrellm (width is 68, so lets add some additional space)
> +GKRELLM_RIGHT_OFFSET=$(xwininfo -root | awk '/Width/ {print $2-70}')
> +
> +/usr/bin/gkrellm -g +${GKRELLM_RIGHT_OFFSET}  &   # -w

Hm, nice approach. :)

Though I'm thinking about whether it's enough to rely on something
like 'gkrellm -g -1+26' (mainly because of speed reasons and I'm not
sure whether xwininfo of x11-utils is *always* present).

Thanks!

regards,
-mika-

----------
files: 0001-Fix-issue694-move-gkrellm-to-right-side-of-screen-pe.patch
messages: 2298, 2299, 2300
nosy: mika
priority: wish
status: chatting
title: move gkrellm to right side of screen by default
topic: release-stopper

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue694>
_____________________________________


More information about the Bugs-changes mailing list