I just installed xxkb on Gentoo linux. I'm using WindowMaker as window manager and start X Window with startx command.
When I start xxkb in xterm I get error message:
xxkb: unable to get a default value for the required resource XXkb.mainwindow.type
What can I do to solve this problem?
Did you install xxkb using
make install
?Is there a default Xxkb file in either:
/usr/local/lib/X11/app-defaults/
/etc/X11/app-defaults/
Last edit: Alexander Pohoyda 2016-02-15
On Gentoo linux I did the install with command:
emerge x11-misc/xxkb
Yes, it is the default XXkb file in the /etc/x11/app-defaults/ directory.
In it is the line:
XXkb.mainwindow.enable: yes
If I set it to no, then I get a flag on xterm window when I start xxkb from it.
Yes, you're right. This line is missing in the /etc/x11/app-defaults/Xxkb file:
XXkb.mainwindow.type: normal
Possible types are: normal, top, tray, wmaker
2016-02-15 23:29 GMT+01:00 Alexander Pohoyda apog@users.sf.net:
I added this line into XXkb config file:
XXkb.mainwindow.type: tray
and now a flag appeares on Title line of window and on wmsystray icon too.
Just I get a message:
xxkb: Incomplete geometry for mainwindow
on xterm on which I started xxkb from.
However I have the line in XXkb:
XXkb.mainwindow.geometry: 48x48
Why is this message?
--
Best, Pali
Right, this is a warning message if the geomerty does not contain the X and Y coordinates. If the type is 'normal', you should specify the position, but for the 'tray' type, I agree, that this warning is wrong. Will be fixed. Thanks!
Flags which appear on the window Title are so-called "buttons", which you can disable by 'XXkb.button.enable: false'
Best regards,
Alex