Page 1 of 1

JWM - small font menu and transparency (SOLVED)

Posted: Thu Apr 25, 2024 9:10 pm
by jp734

Loving the fluxbox neat appearance which lead from not being able to figure out how to configure jwm. Is there a way to make jwm:

- Have small fonts? Was able to make main menu smaller using jwmdesk but not the sub-menus (desktop right-click. taskbar menu/sub-menu is ok)
- Transparent?


Re: JWM - small font menu and transparency (SOLVED)

Posted: Sat Apr 27, 2024 11:02 pm
by jp734

Found this hack for transparency and it worked.

https://oldforum.puppylinux.com/viewtopic.php?t=60038

(EDIT: I figure I'd add the instruction just in case the old forum stops working)

- Install xcompmgr
- Edit .xinitrc and add the following before jwm is launched
. This makes it conditional so it only launches if JWM is the window manager - otherwise use just xcompmgr& by itself further up

#===================
if [ "$CURRENTWM" = "jwm" ];then
xcompmgr&
fi

#===================

#exec $CURRENTWM
#v2.11 GuestToo suggested this improvement...
which $CURRENTWM && exec $CURRENTWM
[ -x $CURRENTWM ] && exec $CURRENTWM
exec jwm

- Edit you jwmrc-theme and add the tag. The opacity tag accepts values between 0 and 1

<TrayStyle>
<Opacity>.6</Opacity>
<Font>DejaVu Sans-14:Bold</Font>
<Foreground>white</Foreground>
<Background>#718995</Background>
</TrayStyle>

- Restart JWM


Re: JWM - small font menu and transparency (SOLVED)

Posted: Sun Apr 28, 2024 2:22 am
by jp734

One last thing on this. Xcompmgr is very small in size. Maybe it can be added by default on the next release and include a setting on jwmdesk for transprency?

Just a thought. Thanks.