Post by Floyd AndersonOn Di, 11 Apr 23:12:12 +0200
Post by Miroslav Rovis...
gkrellm [Was: Something eats my memory - please help]
https://marc.info/?l=gentoo-user&m=149194283531062&w=2
( marc.info was faster this time than gossamerthreads.com (now
lists.gt.net )
To be honest, I read not the whole and little bit confusing thread. So I
have not realised there is a multi-part issue to solve. I saw only one
precise question in the quotation of wabeâs response out of the corner
of my eyes.
I see.
Post by Floyd AndersonPost by Miroslav RovisIf -g ... is the switch to get the geometry, i.e. the position of the
window, be it gkrellm or urxvt, when set into
~/.config/openbox/autostart (or started from the command line), then...
Geometry (implemented as structure or bitmask) is not restricted to hold
only the position. It can also be used to specify the size and other
window attributes.
Post by Miroslav RovisThen what is the switch to get the windows of be of a certain size. I
didn't find that in "man urxvt"... Could that be in Xorg manual or where
is that?
Do not guess; RTFM or at least, search it! ;-)
The thing is, I do, I spend all the time available to reading the FMs.
But the time is not in sufficient supply... A little more on this
further below.
Post by Floyd AndersonI always have this in my mind. And when you cannot find what you are
looking for, read the âSEE ALSOâ man page section to get ideas for the
next step. But you are right, man page urxvt(1) is not really verbose
about the -geometry (or -g) option but this does not have to be the end
of the journey. As `qlist rxvt-unicode` shows, urxvt comes with several
resources. One of them is a man page of category seven (Miscellaneous).
I couldn't get it with qlist:
# `qlist rxvt-unicode`
bash: /usr/share/doc/rxvt-unicode-9.22-r1/rxvt-tabbed.bz2: Permission denied
#
LATER NOTE START: you typoed that part of your advice, or you are misusing the
backticks, IMO. Not `qlist rxvt-unicode`, but simply:
# qlist unicode
which gives the list as the equery, sure. However, I've already
previously written the immediately below...
LATER NOTE END
But I suppose it's the same what I get with:
# equery f rxvt-unicode
And there the huge time that would be needed, just imagine! Here part of
the output of
# equery f rxvt-unicode
Here:
/usr/share/doc/rxvt-unicode-9.22-r1
/usr/share/doc/rxvt-unicode-9.22-r1/Changes.bz2
/usr/share/doc/rxvt-unicode-9.22-r1/README.FAQ.bz2
/usr/share/doc/rxvt-unicode-9.22-r1/README.configure.bz2
/usr/share/doc/rxvt-unicode-9.22-r1/README.xvt.bz2
/usr/share/doc/rxvt-unicode-9.22-r1/changes.txt.bz2
/usr/share/doc/rxvt-unicode-9.22-r1/rxvt-tabbed.bz2
/usr/share/doc/rxvt-unicode-9.22-r1/rxvt-unicode.termcap.bz2
/usr/share/doc/rxvt-unicode-9.22-r1/rxvt-unicode.terminfo.bz2
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/urxvt-background.1.bz2
/usr/share/man/man1/urxvt-bell-command.1.bz2
/usr/share/man/man1/urxvt-block-graphics-to-ascii.1.bz2
/usr/share/man/man1/urxvt-clipboard-osc.1.bz2
/usr/share/man/man1/urxvt-confirm-paste.1.bz2
/usr/share/man/man1/urxvt-digital-clock.1.bz2
/usr/share/man/man1/urxvt-eval.1.bz2
/usr/share/man/man1/urxvt-example-refresh-hooks.1.bz2
/usr/share/man/man1/urxvt-extensions.1.bz2
/usr/share/man/man1/urxvt-keysym-list.1.bz2
/usr/share/man/man1/urxvt-kuake.1.bz2
/usr/share/man/man1/urxvt-matcher.1.bz2
/usr/share/man/man1/urxvt-option-popup.1.bz2
/usr/share/man/man1/urxvt-overlay-osc.1.bz2
/usr/share/man/man1/urxvt-readline.1.bz2
/usr/share/man/man1/urxvt-remote-clipboard.1.bz2
/usr/share/man/man1/urxvt-searchable-scrollback.1.bz2
/usr/share/man/man1/urxvt-selection-autotransform.1.bz2
/usr/share/man/man1/urxvt-selection-pastebin.1.bz2
/usr/share/man/man1/urxvt-selection-popup.1.bz2
/usr/share/man/man1/urxvt-selection-to-clipboard.1.bz2
/usr/share/man/man1/urxvt-selection.1.bz2
/usr/share/man/man1/urxvt-tabbed.1.bz2
/usr/share/man/man1/urxvt-xim-onthespot.1.bz2
/usr/share/man/man1/urxvt.1.bz2
/usr/share/man/man1/urxvtc.1.bz2
/usr/share/man/man1/urxvtd.1.bz2
/usr/share/man/man3
/usr/share/man/man3/urxvtperl.3.bz2
/usr/share/man/man7
/usr/share/man/man7/urxvt.7.bz2
No such time, else I would need to be reading FMs and nothing but that
for a few days...
Why do you object to my question? Isn't it a good thing that I, and very
likely others who will read the list not just now, but also who knows
when, be able to figure it out more quickly than that?...
Post by Floyd AndersonLooking at it `man 7 urxvt` and searching for âgeomâ and âEureka!â, the
IRC*geometry: 87x12+535+542
looks good. Letâs try it with your requirements...
The more complete excerpt (
gotten with:
$ man 7 urxvt | col -b | grep -E -B6 -A8 'IRC\*geo'
):
Please note that I used the "urxvt" instance name and not the "URxvt" class
name. That is because I use different configs for different purposes, for
example, my IRC window is started with "-name IRC", and uses these defaults:
IRC*title: IRC
IRC*geometry: 87x12+535+542
IRC*saveLines: 0
IRC*mapAlert: true
IRC*font: suxuseuro
IRC*boldFont: suxuseuro
IRC*colorBD: white
IRC*keysym.M-C-1: command:\033]710;suxuseuro\007\033]711;suxuseuro\007
IRC*keysym.M-C-2: command:\033]710;9x15bold\007\033]711;9x15bold\007
What's IRC (the instant messaging program? or...)? And there's other
things that are cryptic in those lines... Hmmmh... But the solution *is*
there! That I do understand!
Wow! That was a long search, and the solution finally there! And it is
Post by Floyd AndersonPost by Miroslav RovisSo, e.g. if I want to start a window of size 200x50 or 1000x500, how to
I do that?
...and (if installed) examine the attributes with `xwininfo` or `xprop`
or simply by <Alt+Space> + resize and looking at the centred size tip.
urxvt -bl -geometry 200x50+0+0;
urxvt -bl -geometry 1000x500+0+0;
Tried, and this does work. That's it! It is. Thanks!
Post by Floyd AndersonThis should be answer your second part â completely resolved with
offline resources. But I highly recommend not to stop the journey here
because of what if urxvt(7) has never been written?
And where do I find the time to do so? Now that I got the solutions (one
is actually, the decoration one, possibly lame, more about it below), I
got to do some of the things that I got my computers for... I hope you
can easily understand that.
I'm not lazy, but I'm definitely not one of the most gifted of the
people participating in this list... I guess you understand my drift
just fine.
Post by Floyd AndersonDo you know the commands âwhatisâ, âaproposâ (symbolic link to âwhatisâ)
or their equivalent âman -kâ?
Uh! This may be good... Let me see...
$ man -k printf
printf: nothing appropriate.
$
Because, and this is straight paste from /var/log/messages that is
constantly running with:
# tailf /var/log/messages
in a terminal of its own, in all of my desktops.
Apr 12 14:18:36 g0n kernel: [27021.812778] grsec: (miro:U:/usr/bin/man)
exec of /usr/bin/man (man -k printf ) by /usr/bin/man[bash:9722]
uid/euid:1000/1000 gid/egid:1000/1000, parent /bin/bash[bash:5055]
uid/euid:1000/1000 gid/egid:1000/1000
Apr 12 14:18:36 g0n kernel: [27021.818916] grsec: (miro:U:/) exec of
/usr/bin/whatis (apropos printf ) by /usr/bin/whatis[man:9723]
uid/euid:1000/1000 gid/egid:1000/1000, parent /usr/bin/man[man:9722]
uid/euid:1000/1000 gid/egid:1000/1000
Apr 12 14:18:36 g0n kernel: [27021.824459] grsec: (miro:U:/) denied
access to hidden file /var/cache/man/index.db by
/usr/bin/whatis[apropos:9723] uid/euid:1000/1000 gid/egid:1000/1000,
parent /usr/bin/man[man:9722] uid/euid:1000/1000 gid/egid:1000/1000
'man -k' will be solved only when more time is available. Not now. I don't
run my computers without grsec enabled, not when working anything online
Saved me a lot of troubles. A lot!... But to get my grsecurity-hardened
kernels to allow it, there's more work to do...
Similar or same output with 'apropos' and 'whatis'. Similarly later work
for those too...
Post by Floyd AndersonTry it out: `man -k geometry` or `apropos geometry`. You see several
category three (Library calls) references. This kind of information may
be hard to understand sometimes but if you have time you only can win.
Yes, also tried geometry instead of printf above. Same output/problems...
Post by Floyd AndersonFor instance XWMGeometry(3), you already know X -> Xorg and WM -> window
manager (BTW: MWM -> Motif Window Manager as Jonathan earlier pointed
out) and Geometry is what you are looking for.
$ man 3 XWMGeometry
Looks like the man page that I will need. Will read it. Thanks!
Post by Floyd AndersonSounds that not interesting to have a look at it? If you think so, you
will see at the description section what the argument to the -geometry
parameter of urxvt probably expected. If you are still hungry, go online
and search for other examples and meanings like at [1] or find [2] which
seems to have some tips about âdevilspieâ, âGKrellMâ and others.
[1]â¯<http://imagemagick.org/script/command-line-processing.php#geometry>
[2]â¯<https://sites.google.com/site/tstyblo//wmctrl/>
I will look at these in case the man page you pointed to doesn't give me
the solutions needed.
Post by Floyd AndersonP.S. I love short precise questions and qualified answers as well and
usually hate walls of text â but this was a need for me. Hope that helps
to help yourself.
No way is this a wall of text. No!, this reply that you wrote is a
competent reply that gave very good advice! I'm advanced enough to claim
that it is such, but not as advanced as you are to author such advice in
queries like this.
Thanks!
The solutions appear to be closer now...
And let me explain the other part of my query, which I thought, and
wrote yesterday, that it was solved. The 'borderless' solution, with the
'-bl' switch. It doesn't work as I thought it would.
At first I thought it did (and it appeared to work correctly, in the
first tries the 1-pixel border remained (to my best recollection), I
don't know how...), but looking it up more closely, and upon successive
later tries, it gives really no borders whatsoever, and if you have,
say, many terminals, you don't know where one ends and another begins,
it's a total mess.
I really would only need terminals/other windows, without the GUI
borders and without the title. They do need to have the one pixel
foreground color, or whatever color that it is, but it certainly is a
contrasting color border, I just want to get rid of the relatively huge
(if you start a lot of windows, and don't like to use the mouse) title
track (maybe 15 pixel or so) and the thick (maybe 3 pixel or so) GUI
track in bottom...
I leave this other part of the query under this same subject line,
because it is related enough to stay here.
I need a little time to arrange the starting of my windows that will
probably finally be sizes and positioned to my needs... Finally!... I've
wished to position and size my windows for long, probably even years
(two years, I think), and finally I will, very probably, be able to do
it.
Can I tell you more? I'm badly unimaginative. I have actually used the
ImageMagick's own image manipulation convert, composite and such, and I
have used them a lot, in my:
https://github.com/miroR/Flowstamp
(
you can see it in action here:
Åœurba Ludog Cara i Izborna Äudesa (Nova 2015-11-08)
https://vimeo.com/145843953
the title means "The Hurry of the Mad Tzar and Election Miracles"; have
a look at the very very thin moving overlay, say starting from 0:02:15
with clear "Miroslav Rovis" seen passing over the screen, or for the
bottom line, "www.CroatiaFidelis.hr" watch from 0:03:15, that's done
with cutting the images with, of course chosing the positions to cut
from, and sizes to cut out, or similarly...
-- Have a look at those and try to steal that video from me, and try to
tell that you did it, and not me! -- than you are bound to notice the
that overlay in the whole duration of the video, just very thinly...
)
And, given the above... How come I couldn't figure out the syntax can
only be similar for positioning as it is for
cropping/compositing/resizing the images, I can not tell, other than
being myself terribly unimaginative...
Will be back. Regards!
--
Miroslav Rovis
Zagreb, Croatia
https://www.CroatiaFidelis.hr