Shy and naked alarm-clock-applet window in BookwormPup64-10 [SOLVED]

Moderator: Forum moderators

Post Reply
User avatar
TaTchou
Posts: 10
Joined: Mon Jan 06, 2025 6:31 pm
Location: France, Marseille 13
Has thanked: 6 times
Been thanked: 2 times

Shy and naked alarm-clock-applet window in BookwormPup64-10 [SOLVED]

Post by TaTchou »

Hi everyone.
I don't know if this is Bookworm or JWM problem, so sorry if I posted in the wrong place.

I installed alarm-clock-applet, it works fine, except when I right-click the tray icon, select "Show alarm", the little window appears without borders, title bar, menu., and always hiding behind the other windows. Which is not very convenient to move or close it.

I tried this in jwmrc-personnal :

Code: Select all

<Group>
<Name>alarm-clock-applet</Name>
<Option>title</Option>
 <Option>border</Option>
<Option>list</Option>
<Option>ontop|above</Option>
</Group>

but nothing changed. I'm not even sure about the lil window's name, and how to find it in lxtask.

Any idea ?

Image

Last edited by TaTchou on Sat Feb 22, 2025 2:10 pm, edited 1 time in total.

EasyOS Dunfell 32bits and FocalPup32 on eeePC 1001HA
BookwormPup64 v10 and EasyOS 6.5.3 on Lenovo Z70-80 (i5 Intel HD5500)

Just a very stubborn end user.

User avatar
bigpup
Moderator
Posts: 7517
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 1022 times
Been thanked: 1682 times

Re: Shy and naked alarm-clock-applet window in BookworrmPup64-10

Post by bigpup »

What is the specific name of the applet?

where did you get it?

Got a download link you could give us to try using it?

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
TaTchou
Posts: 10
Joined: Mon Jan 06, 2025 6:31 pm
Location: France, Marseille 13
Has thanked: 6 times
Been thanked: 2 times

Re: Shy and naked alarm-clock-applet window in BookworrmPup64-10

Post by TaTchou »

I installed it with Synaptic manager, from the Debian's repositories.
It is just a little timer/countdown like kteatime, in the systray.
I have used it for 10 years in all my xBuntu distros.

Here is the official website : https://alarm-clock-applet.github.io/
Here's a .deb download link : https://packages.debian.org/bookworm/am ... t/download

And here's how it should look (in ZorinOS) :
Image

And thanks for taking care ;)

EasyOS Dunfell 32bits and FocalPup32 on eeePC 1001HA
BookwormPup64 v10 and EasyOS 6.5.3 on Lenovo Z70-80 (i5 Intel HD5500)

Just a very stubborn end user.

User avatar
MochiMoppel
Posts: 1343
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 22 times
Been thanked: 521 times

Re: Shy and naked alarm-clock-applet window in BookworrmPup64-10

Post by MochiMoppel »

TaTchou wrote: Thu Feb 20, 2025 10:21 pm

I tried this in jwmrc-personnal :

Code: Select all

<Group>
<Name>alarm-clock-applet</Name>
<Option>title</Option>
 <Option>border</Option>
<Option>list</Option>
<Option>ontop|above</Option>
</Group>

but nothing changed. I'm not even sure about the lil window's name, and how to find it in lxtask.
Any idea ?

Very strange. Apart from the last option (should be <Option>layer:above</Option>), everything is correct. The name reported by JWM is alarm-clock-applet and the Class is Alarm-clock-applet. You would find the Name/Class with xprop, not lxtask. But why does JWM ignore it? No idea.

But I may have found a way to fix it. This worked for me:

In jwmrc-personal I added

Code: Select all

<Group>
<Class>ShyAlarmclock</Class>
<Option>title</Option>
<Option>border</Option>
<Option>list</Option>
<Option>layer:above</Option>
</Group>

then running jwm -restart from console

Then I started alarm-clock-applet with the --class option (see alarm-clock-applet --help-all for possible options):

Code: Select all

/usr/bin/alarm-clock-applet --class=ShyAlarmclock

Produced an error message but seems to have no bad effect.

This resulted in a window with complete decoration, always on top and listed in the tray:

alarm-clock-applet.png
alarm-clock-applet.png (41.29 KiB) Viewed 325 times
User avatar
MochiMoppel
Posts: 1343
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 22 times
Been thanked: 521 times

Re: Shy and naked alarm-clock-applet window in BookworrmPup64-10

Post by MochiMoppel »

MochiMoppel wrote: Sat Feb 22, 2025 4:00 am

But why does JWM ignore it? No idea.

Well, I finally can answer my own question :lol:
@TaTchou The reason for the shy and naked window is a questionable JWM configuration. I'm very cautious here because it's a deliberate configuration and must have been made for a reason. Maybe @radky knows more. The culprit in your case is buried in /etc/xdg/templates/_root_.jwmrc , which generates /root/.jwmrc , starting line 244:

Code: Select all

<Group>
<Class>applet</Class>
<Option>layer:below</Option>
<Option>noborder</Option>
<Option>notitle</Option>
<Option>sticky</Option>
<Option>nolist</Option>
<Option>nopager</Option>
</Group>

This setting matches alarm-clock-applet's class name Alarm-clock-applet Certainly not how you want the window appear. If you remove this setting alarm-clock-applet will start normally, but if this was made specifically for another applet (maybe conky?) you should leave it as is and use the command line argument I mentioned in the previous post. Use any class name you like, Only condition is that it doesn't contain the string "applet".

User avatar
TaTchou
Posts: 10
Joined: Mon Jan 06, 2025 6:31 pm
Location: France, Marseille 13
Has thanked: 6 times
Been thanked: 2 times

Re: Shy and naked alarm-clock-applet window in BookwormPup64-10 [SOLVED]

Post by TaTchou »

@MochiMoppel
You're the man ! (or woman, idk) :thumbup:

Plus, good occasion to learn more about JWM. So many config files all over the place.
Nice to see this window standing proudly dressed up on top, instead of hiding behind oclock.

Image

The error msg in console you are reporting appears even before tweaking jwm-personnal. It's an alarm-clock thing.

Bonne journée !

EasyOS Dunfell 32bits and FocalPup32 on eeePC 1001HA
BookwormPup64 v10 and EasyOS 6.5.3 on Lenovo Z70-80 (i5 Intel HD5500)

Just a very stubborn end user.

Post Reply

Return to “BookwormPup”