Menu

#2 xxkb: unable to get a default value for the required resource XXkb.mainwindow.type

v1.0 (example)
open
nobody
1
2016-02-15
2016-02-14
Csanyi Pal
No

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?

Discussion

  • Alexander Pohoyda

    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
    • Csanyi Pal

      Csanyi Pal - 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.

       
  • Alexander Pohoyda

    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

     
    • Csanyi Pal

      Csanyi Pal - 2016-02-16

      2016-02-15 23:29 GMT+01:00 Alexander Pohoyda apog@users.sf.net:

      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

      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

       
      • Alexander Pohoyda

        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

         

Log in to post a comment.