Re: FVWM: One more question...

Dan Espen <[email protected]>
Newsgroups gmane.comp.window-managers.fvwm
Message-ID <[email protected]>
"Ronald F. Guilmette" <[email protected]> writes:

> I had asked about how to get a digital xclock in the empty space just under
> the analog xclock and the xbiff thingy in the default theme for fvwm...
>
> In message <CAJabFbiCRHYmoLOqu1rpxaN5HJYRffqBjQAjaLFDrU2pQXmLgw@mail.gmail.com>,
> Jaimos Skriletz <[email protected]> wrote:
>
>>Add this command to your StartFunction
>>
>>AddToFunc StartFunction I Test (Init) Exec exec xlock -digtal -strftime '%a %b %d %T'
>>
>>The test is just to ensure it is only run during the init (first
>>start) And not after ever restart.
>
> OK, so I tried that, fixing the one small typo (digtal->digital), which
> was my fault, since it was present in my original question.
>
> The bad news is that just adding that one line top my ~/.fvwm2rc
> file -did- create an effect, but not at all what was intended.
>
> What happened was that the original analog xclock in the default theme
> got pushed out to a place on my destop that is sort-of near to the center
> top of my screen (and it was rendered MUCH bigger than before) and the
> digital xclock got kind-of stuffed into the little box where the analog
> xclock formerly was (in the default theme)... except of course that the
> text of my new digital xclose could not fix in that small space, so it
> just got cut off after the first few (leftmost) characters.
>
> So, bottom line, I'm still hoping that someone will tell me how to get
> a digital xclock into the empty space in the default theme that sits
> below the xbiff icon thingy and the analog xclock.
>
> I can't imagine that this should be too awfully difficult, but I quite
> certainly have no idea how to do it properly.

Note that Fvwm doesn't have a default theme that includes xclock that
must be something your distro supplies.

xclock understands the regular xresources, either from the command line
or in the xrdb database:

To place xclock in the lower right:

xterm -geom -0-0

Or in your xresources:

xclock*geometry:                -0-0

-- 
Dan Espen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.