On 08/05/2016 07:48 μμ, alx wrote:
> Hi, I just tested it on FreeBSD (don't have a Linux VM), but that 
> shouldn't make much difference in this case.
>
> Make sure you're getting the right client name with:
> $ xprop | grep WM_CLASS
>
> The output for the chosen window should be something like:
> WM_CLASS(STRING) = "xclock", "XClock"
> The quoted string on the left is the one you want.
>
> I used these entries in my dtwm.fp to make xload appear in the 
> workspace switch, and xclock among the drawers:
>
> CONTROL clock
> {
> TYPE client
> CONTAINER_NAME Switch
> CONTAINER_TYPE SWITCH
> CLIENT_NAME xclock
> CLIENT_GEOMETRY 24x24
> }
>
> CONTROL load
> {
> TYPE client
> CONTAINER_NAME Top
> CONTAINER_TYPE BOX
> CLIENT_NAME xload
> CLIENT_GEOMETRY 48x48
> }
>
>
> Hope this helps.
>
> Alex
>

Yes it works with apps like xload, xclock etc (although I am not sure 
that the position hints work and
I think there is a bug there in the CDE code or  the administrator guide 
for CDE is not clear enough)
but it does not work with applets. And what the panel needs with respect 
to sound is an applet.

Your suggestion was to use the above mechanism to solve this issue. But 
I can not make it work.
For example, such an applet is

mate-volume-control-applet

This command starts volume control on mate panel. If I run xprop | grep 
WM_CLASS
and click on the volume control, I naturally get "mate-panel". And this 
can not be correct.
Even if I try this, embedding in CDE panel does not work.

Maybe there is another way to learn the correct WM_CLASS of an applet. 
It does not work
with xprop.

Thanks,

Antonis.







------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to