Page 1 of 1

Problem Autohiding Tray in BookwormPup64_10.0.6

Posted: Sat Jun 01, 2024 9:14 pm
by JusGellin

Autohide doesn't work.
If I use the menu <Desktop><JWMdesk><Tray><autohide standard> it stays hidden.
I can go back again <Desktop><JWMdesk><Tray><autohide disable> it stays visible.

I tried changing it at /root/.jwmrc-tray of <Tray autohide="off" to "on" it also stays hidden. But now if the menu is selected, the window saying JWMDesk Loading stays up
If I change that file back to "off" the tray stays visible again.

I sure would like the tray to autohide like the menu indicates. Is there any way this still can be done?
It seems like this is a problem this this puppy.

Thanks


Re: Problem Autohiding Tray in BookwormPup64_10.0.6

Posted: Sat Jun 01, 2024 11:38 pm
by radky

@JusGellin

JWMDesk provides a single (Standard) autohide option for the main jwm tray (Tray-1), and adds a Hybrid autohide parameter for the optional accessory tray (Tray-2, a.k.a launch bar). The corresponding tooltips should provide guidance for proper usage.

If I understand correctly, your question pertains to the Standard autohide option for the main tray.

Standard Autohide: The tray hides off screen but will become visible when the mouse pointer is moved to the screen edge where the tray resides (either top or bottom of the screen for the main tray). After the tray becomes visible, it will autohide once again when you (a) move the mouse pointer over a desktop window or (2) left-click or middle-click the desktop.

For modern JWM >= 2.4, when you select the JWMDesk option to autohide the main tray, the configuration syntax defined in /root/.jwmrc-tray is determined by the screen edge where the tray resides. For example, autohide="top" or autohide="bottom" (or autohide="off" if you disable the autohide option).

Non-supported syntax manually added to /root/.jwmrc-tray may break the corresponding tray functions and impede loading of JWMdesk.


Re: Problem Autohiding Tray in BookwormPup64_10.0.6

Posted: Sun Jun 02, 2024 12:47 am
by JusGellin

When I use JWMdesk to set the Tray AutoHide to Standard, the tray disappears and stays gone.
Then if I look at /etc/.jwmrc-tray it shows:
<Tray autohide="bottom" insert="right" width="0" height="30" layer="above" layout="horizontal" halign="left" valign="bottom" >

I want it to use the Standard Autohide like you mentioned.

I also, from the Log Out menu, selected "Restart X-server" and then when no change occurred selected "Restart JWM" but still it stayed hidden.

Is there something else I need to look at to make it work? You mentioned the version. How do I find what version JWM is?

Thanks for your help.


Re: Problem Autohiding Tray in BookwormPup64_10.0.6

Posted: Sun Jun 02, 2024 2:00 am
by radky

@JusGellin

BW64 has modern jwm 2.4.3 (click the JWMdesk Help button or in a terminal you can type jwm -v).

In your description above, the main jwm tray is at the bottom of the screen and autohide="bottom" is correctly defined in /root/.jwmrc-tray.

When you select the Standard autohide option of JWMDesk and click Apply, the tray autohide function is enabled and the corresponding tray is hidden off screen (at all times) until you move the mouse pointer to the screen edge where the tray is hidden (bottom in this case). When the pointer contacts the screen edge, the tray should popup and become visible. It should remain visible until you resume interaction with the desktop by moving the pointer over a desktop window or by left-clicking the desktop, at which time the tray will hide off screen once again. If this does not work for you, maybe other files in your current installation are corrupt.


Re: Problem Autohiding Tray in BookwormPup64_10.0.6

Posted: Sun Jun 02, 2024 2:03 am
by TerryH
JusGellin wrote: Sun Jun 02, 2024 12:47 am

When I use JWMdesk to set the Tray AutoHide to Standard, the tray disappears and stays gone.
Then if I look at /etc/.jwmrc-tray it shows:
<Tray autohide="bottom" insert="right" width="0" height="30" layer="above" layout="horizontal" halign="left" valign="bottom" >

I want it to use the Standard Autohide like you mentioned.

I also, from the Log Out menu, selected "Restart X-server" and then when no change occurred selected "Restart JWM" but still it stayed hidden.

Is there something else I need to look at to make it work? You mentioned the version. How do I find what version JWM is?

Thanks for your help.

The Tray syntax you have shown above is correct for the tray autohide to function correctly. I just checked changing mine in BookwormPup 10.0.6 to autohide and it functions correctly. No idea why your install is not functioning correctly.


Re: Problem Autohiding Tray in BookwormPup64_10.0.6

Posted: Sun Jun 02, 2024 2:06 am
by sonny

@JusGellin

My working tray:

Code: Select all

autohide="on"

Code: Select all

valign="bottom"

Re: Problem Autohiding Tray in BookwormPup64_10.0.6

Posted: Sun Jun 02, 2024 2:38 am
by JusGellin

@sonny
I changed autohide="on" - It still kept the tray hidden.

Could it be the version of JWM even though this version came with this Bookworm?

Thanks


Re: Problem Autohiding Tray in BookwormPup64_10.0.6

Posted: Sun Jun 02, 2024 2:46 am
by JusGellin

I tried doing the same thing on a fresh iso of BookwormPup64_10.0.6 without any changes and it does the same thing - the tray continues to hide.


Re: Problem Autohiding Tray in BookwormPup64_10.0.6

Posted: Sun Jun 02, 2024 3:32 am
by sonny

@JusGellin

Try any of the vanilla versions and see if the tray works:

https://github.com/vanilla-dpup/release ... 6_64-10.0


Re: Problem Autohiding Tray in BookwormPup64_10.0.6

Posted: Sun Jun 02, 2024 11:29 am
by BologneChe

@JusGellin

I have already installed programs that caused conflicts with JMW and prevented me from saving changes. It was mostly with 32-bit versions. By removing these, everything returned to normal.
I tested the function under BookwormPup64 and everything works.


Re: Problem Autohiding Tray in BookwormPup64_10.0.6

Posted: Sun Jun 02, 2024 11:49 am
by JusGellin

I seemed to have caused myself problems for this yesterday. I was doing this on a laptop and probably because this was new to me I made it harder than it was.
It may have occurred when I didn't think it was working so I also edited the .jwmrc-tray file.

So I decided to try this as a virtual machine on my main computer and couldn't get this to work at all.
I understood from @radky and others that the setting in the jwm tool should be all that is necessary to make this work.
I still couldn't get BW pup to work on the virtual machine.
I tried the suggested vanilla pup as a virtual machine and it didn't work either.

I went back to my laptop and tried a fresh BW pup and - sure enough it worked. I then tried this on my backup for this and it worked as well.
I even made a frugal install of the vanilla pup and tried it on the laptop which worked too.

So I caused my problem but for some reason using a virtual machine kept me thinking it didn't work (and thinking it was harder than it was). I'm not sure why yet, but now that I know it works like it should on the laptop, I'll try to find why not on a virtual machine.

Sometimes when a person is trying something new and doesn't understand really how it works, they make it harder than it is and cause their own problems. At work we used to say that doing the new unknown things - "senses fear" and it seems harder than it is.

Once again, thanks to all of you to help me think my way to do these things. Just the confirmation for how it works for you and your expertise, helps me. The main thing is not to give up, but to try new ideas. It's all just a great new adventure.