From: Blueparty on
I like xdaliclock, but it has an annoying feature. It displays
confirmation dialog when the close button is pushed. It also displays
the same dialog when X session is being closed.

I tried dclock, but it has the same annoying features.

Is there any option, resource or something to make them terminate
without dialog ? Without it I find them both unusable.

Also tried asclock (without Afterstep), it closes without dialog, but I
don't know how to change the font. Is there a way to change font ?

B
From: J G Miller on
On Sunday, August 8th, 2010 at 20:23:49h +0200, Blueparty complained:

> I like xdaliclock, but it has an annoying feature. It displays
> confirmation dialog when the close button is pushed.

xdaliclock has no dialog menu and does not have a close button.

Therefore you are presumably referring to the window manager
provided close button. This prompts the question, which
window manager are you using, since many window managers
do not prompt for confirmation when pressing the close
button.

> I tried dclock, but it has the same annoying features.

No dclock does not have these features either -- neither
a dialog menu nor a close button. What you are seeing is
a feature of the window manager.

> Is there any option, resource or something to make them terminate
> without dialog ?

Please specify which window manager you are using.

> Also tried asclock (without Afterstep), it closes without dialog, but I
> don't know how to change the font. Is there a way to change font ?

asclock does not use fonts to display the time or the date -- these are pixmap
representations of an LED display for the time, and the text for the
date are created from xpm pixmap files contained in the theme directories
under

/usr/share/asclock

according to which theme you chose for asclock with the -theme flag.
From: blueparty on
On Aug 8, 8:51 pm, J G Miller <mil...(a)yoyo.ORG> wrote:
> On Sunday, August 8th, 2010 at 20:23:49h +0200, Blueparty complained:
>
> > I like xdaliclock, but it has an annoying feature. It displays
> > confirmation dialog when the close button is pushed.
>
> xdaliclock has no dialog menu and does not have a close button.
>
> Therefore you are presumably referring to the window manager
> provided close button.  This prompts the question, which
> window manager are you using, since many window managers
> do not prompt for confirmation when pressing the close
> button.
>
> > I tried dclock, but it has the same annoying features.
>
> No dclock does not have these features either -- neither
> a dialog menu nor a close button.  What you are seeing is
> a feature of the window manager.
>
> > Is there any option, resource or something to make them terminate
> > without dialog ?
>
> Please specify which window manager you are using.
>
> > Also tried asclock (without Afterstep), it closes without dialog, but I
> > don't know how to change the font. Is there a way to change font ?
>
> asclock does not use fonts to display the time or the date -- these are pixmap
> representations of an LED display for the time, and the text for the
> date are created from xpm pixmap files contained in the theme directories
> under
>
>           /usr/share/asclock
>
> according to which theme you chose for asclock with the -theme flag.

Thanks for the answer. I am sorry to reply from another account, but
there is apparently something wrong with my news server, because
your message has not arrived yet.

I understand that the caption and the buttons are provided by window
manager, but still don't know how to help myself. My window manager is
IceWM.

B
From: unruh on
On 2010-08-09, blueparty <partner50449476(a)vansoftcorp.com> wrote:
> On Aug 8, 8:51?pm, J G Miller <mil...(a)yoyo.ORG> wrote:
>> On Sunday, August 8th, 2010 at 20:23:49h +0200, Blueparty complained:
>>
>> > I like xdaliclock, but it has an annoying feature. It displays
>> > confirmation dialog when the close button is pushed.
>>
>> xdaliclock has no dialog menu and does not have a close button.
>>
>> Therefore you are presumably referring to the window manager
>> provided close button. ?This prompts the question, which
>> window manager are you using, since many window managers
>> do not prompt for confirmation when pressing the close
>> button.
>>
>> > I tried dclock, but it has the same annoying features.
>>
>> No dclock does not have these features either -- neither
>> a dialog menu nor a close button. ?What you are seeing is
>> a feature of the window manager.
>>
>> > Is there any option, resource or something to make them terminate
>> > without dialog ?
>>
>> Please specify which window manager you are using.
>>
>> > Also tried asclock (without Afterstep), it closes without dialog, but I
>> > don't know how to change the font. Is there a way to change font ?
>>
>> asclock does not use fonts to display the time or the date -- these are pixmap
>> representations of an LED display for the time, and the text for the
>> date are created from xpm pixmap files contained in the theme directories
>> under
>>
>> ? ? ? ? ? /usr/share/asclock
>>
>> according to which theme you chose for asclock with the -theme flag.
>
> Thanks for the answer. I am sorry to reply from another account, but
> there is apparently something wrong with my news server, because
> your message has not arrived yet.
>
> I understand that the caption and the buttons are provided by window
> manager, but still don't know how to help myself. My window manager is
> IceWM.

What it means is that the problem has nothing to do with what clock you
use. Searching around for some magic colck program is a waste of time.
The problem lies elsewhere. Now that you have told people what manager
you use, you might get some useful replies. Certainly I have never seen
your problem under KDE.

>
> B
From: J G Miller on
On Monday, August 9th, 2010 at 07:15:16h -0700, Blue Party explained:

> My window manager is IceWM.

I do not have IceWM running right at the moment, but it tends to almost
always ask for confirmation when the close button is used to kill a running
process.

I am not currently aware that you can use a configuration option to suppress
this confirmation dialog, but ...

On checking the documentation in /usr/share/doc/icewm/html, there is a
possibility of suppressing the dialog.

The same documentation is available at at <http://www.icewm.ORG/manual/icewm-14.html>

forcedClose=0

if set to 1 and the application had not registered WM_DELETE_WINDOW,
a close confirmation dialog won't be offered upon closing the window.

So in your winoptions file, you need to make entries

dclock.forcedClose: 1
xdaliclock.forcedClose: 1

and so long as these programs have not registered WM_DELETE_WINDOW, you will no longer
be bothered by the confirmation dialog for these applications anymore after restarting icewm.