Gentoo Archives: gentoo-user

From: Miroslav Rovis <miro.rovis@××××××××××××××.hr>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] gkrellm [Was: Something eats my memory - please help]
Date: Tue, 11 Apr 2017 11:47:25
Message-Id: 20170411114452.GA5313@g0n.xdwgrp
In Reply to: Re: [gentoo-user] gkrellm [Was: Something eats my memory - please help] by Dale
1 Two answers, both useful, to my query. I'll reply to both in this single email,
2 pasting in Dale's reply the few lines from Mick's reply.
3
4 On 170411-03:50-0500, Dale wrote:
5 > Miroslav Rovis wrote:
6 > > On 170410-21:00-0700, Ian Zimmerman wrote:
7 > >>>> Here's another vote for gkrellm, which I have been using for more years than
8 > >>>> I can easily remember. I have it permanently on display on all desktops
9 > >> mee too
10 > >>
11 > > And installs and runs just fine in a sans-dbus system.
12 ...
13 > > I found and set a smaller font size, and I'm only left with one,
14 > > non-urgent, thing to do. It's slightly larger than I would want it to
15 > > be. I think it was possible back a few years ago to get is to occupy
16 > > less space on a desktop. Horizontally is fine, but vertically on
17 > > 1024x768 screen, it occupies almost two-thirds of the height. Possible?
18 > > Any tips?
19 ...
20 PASTING
21
22 On 170411-09:34+0100, Mick wrote:
23 > On Tuesday 11 Apr 2017 09:54:19 Miroslav Rovis wrote:
24 ...
25 > Select a 'Composite CPU' gkrellm, rather than one per CPU. Ditto for Disk.
26 > --
27 > Regards,
28 > Mick
29
30 I tested it, it works, but I have only 4 CPUs, and I like to see them
31 all four. I know some processes only use one, and some (such as FFmpeg)
32 use absolutely all available by default, and I like to see those in a
33 glance as said previously in the thread ;-)
34
35 Also I often plug SATA disks in and out
36 (
37 such as e.g. for my local mirror; I sometimes update daily; Portage
38 snapshots and emerge-webrsync are still the way to go; the
39 verifiability! of the installation is there... You don't get that in all
40 the distro!
41 )
42 , which would make for the need to toggle disks on and off in gkrellm,
43 so only /dev/sda is always shown... andcompositing there wouldn't make
44 sense either
45
46 PASTED
47
48 >
49 > The way I adjust the overall height on mine, I adjust the height of each
50 > section. For example, I make the CPU chart(s) shorter, then then hard
51 > drive(s), processes etc until I get a height I want. It takes some time
52 > to tweak it and get it right but eventually, I find a sweet spot.
53 >
54 > Another thing, at least this used to work, adjusting fonts and their
55 > size. That generally affects the height some too.
56 >
57 > I'm not aware of a way to do that as a whole with a single setting. If
58 > someone knows of one, I'd be interested in it too.
59 >
60 > Hope that helps.
61 >
62 > Dale
63 >
64 > :-) :-)
65
66 I decided for your approach. It works! Now gkrellm occupies maybe 40 to
67 45 % of the screen height on my 1024x768 display, and that is
68 just fine!
69
70 Thanks!
71
72 A sidenote (or change of topic? if it would make for more than an email
73 or two; repliers, pls. re-work the subject line if needed).
74
75 While configuring gkrellm I figured out what to do for any windows to
76 get placed properly on the desktop when I start my Openbox (I start it
77 simply with "startx").
78
79 I open many windows with configuration in ~/.config/openbox/autostart
80 where I have lines like:
81
82 sleep 6 && urxvt -g -0+125 -fn "-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1" &
83 sleep 6.5 && urxvt -g -0-0 -fn "-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1" &
84 ...
85 sleep 8 && urxvt -g +0-0 -fn "-misc-fixed-medium-r-semicondensed--12-110-75-75-c-60-iso10646-1" &
86 ...
87 sleep 10.5 && urxvt -g -125+10 -fn "-misc-fixed-medium-r-normal--10-100-75-75-c-60-iso10646-1" &
88 sleep 11 && urxvt -g -230+0 -fn "-misc-fixed-medium-r-normal--10-100-75-75-c-60-iso10646-1" &
89 sleep 12 && urxvt -g -0+80 -fn "-misc-fixed-medium-r-normal--6-60-75-75-c-40-iso10646-1" &
90 sleep 13 && gkrellm -g +0+0 &
91
92 The -g [+/-]<some number>[+/-]<some number> is what I finally figured
93 out by reading the Help in gkrellm.
94
95 And I was wondering how to achieve two things (I know they're buried
96 somewhere in Xorg man pages, but which manpages?)...
97
98 First, get the windows to start with arbitrary sizes (gkrellm can't do
99 it, says in its help, but it neither should do it). What I mean, I'd
100 like to get, say this urxvt window:
101
102 sleep 10.5 && urxvt -g -125+10 -fn "-misc-fixed-medium-r-normal--10-100-75-75-c-60-iso10646-1" &
103
104 to be not the default size, but the size 80x5 only. Et cetera...
105
106 And the second thing, on rxv-unicode terminals, I mostly don't need the
107 title on top of it (such as, as I'm writing this in mutt, and if I
108 Alt-Space and "d" to decorate it (I keep'em all undecorated most of the
109 time), I have the title reading:
110 mutt-g0n-1000-5313-742846618375958965 + (/tmp) - VIM
111 on it (just to be precise by virtue of example in case I'm not naming
112 things correctly), or the decoration, which gives it the edges of some
113 2-3 pixels in size (in bottom only), for moving the windows with the mouse.
114
115 I mostly don't need those, as in Openbox I just use Alt-Space to get the
116 menu of the window to open, and then I type "m" for move, or "z" for
117 resize, and use arrows to either move, or resize, respectively, and Esc
118 when the position/size is acceptable upon move/resize.
119
120 How can I get urxvt to start undecorated, i.e without any edges nor
121 window title?
122
123 Regards!
124 --
125 Miroslav Rovis
126 Zagreb, Croatia
127 https://www.CroatiaFidelis.hr

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] gkrellm [Was: Something eats my memory - please help] wabe <wabenbau@×××××.com>
Re: [gentoo-user] gkrellm [Was: Something eats my memory - please help] Floyd Anderson <f.a@××××.net>
[gentoo-user] openbox window positions Ian Zimmerman <itz@×××××××.net>