Page 4 of 8 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 73

Thread: Howto: Install and configure Pekwm

  1. #31
    Join Date
    Jul 2007
    Beans
    49

    Re: Howto: Install and configure Pekwm

    Quote Originally Posted by lkajdflkjaoeif View Post
    I have set this in my .conkyrc:
    haha ! big thanks for that !!

    But can someone help me with the vlc and bmpanel problem, that's very important for me

  2. #32
    Join Date
    Jul 2006
    Beans
    1,152

    Re: Howto: Install and configure Pekwm

    Quote Originally Posted by canistra View Post
    But can someone help me with the vlc and bmpanel problem, that's very important for me
    You'll have to use the autoproperties file, as lkajdflkjaoeif suggested. The important thing is to get the Property right. To do so, type the following in a terminal:

    xprop WM_CLASS
    Your mouse cursor should turn into a cross. Click on the application you are interested in (in this case BMpanel). You should get something like the following in the terminal:

    Code:
    WM_CLASS(STRING) = "urxvt", "URxvt"
    (This is using urxvt as an example. I don't have BMPanel installed on this computer, otherwise I would given that as an example.)

    The two terms above ('urxvt' and 'URxvt') is what you need. It is case sensitive. Add those terms to the Properties line in your autoproperties file, preceded by ^:

    Property = "^PROP_1,^PROP_2" {
    applyon = "start new reload";
    skip = "menus focustoggle";
    sticky = "true"; titlebar = "false"
    border = "false"; layer = "normal"
    }
    You'll have to restart Pekwm for the changes to take effect.

    If you need more info, the Pekwm documentation on autoproperties is good.

    I hope this helps.

  3. #33
    Join Date
    Jul 2007
    Beans
    49

    Re: Howto: Install and configure Pekwm

    Quote Originally Posted by urukrama View Post
    You'll have to use the autoproperties file, as lkajdflkjaoeif suggested. The important thing is to get the Property right. To do so, type the following in a terminal:



    Your mouse cursor should turn into a cross. Click on the application you are interested in (in this case BMpanel). You should get something like the following in the terminal:

    Code:
    WM_CLASS(STRING) = "urxvt", "URxvt"
    (This is using urxvt as an example. I don't have BMPanel installed on this computer, otherwise I would given that as an example.)

    The two terms above ('urxvt' and 'URxvt') is what you need. It is case sensitive. Add those terms to the Properties line in your autoproperties file, preceded by ^:



    You'll have to restart Pekwm for the changes to take effect.

    If you need more info, the Pekwm documentation on autoproperties is good.

    I hope this helps.
    thanks for the answer, but when i click on bmpanel with the click from WM_CLASS it says WM_CLASS: not found

  4. #34
    Join Date
    Jul 2006
    Beans
    1,152

    Re: Howto: Install and configure Pekwm

    What about xprop WM_NAME?

    Some applications don't have either, though, and don't behave very nicely in Pekwm (skippy is another one of those).

  5. #35
    Join Date
    Jul 2007
    Beans
    49

    Re: Howto: Install and configure Pekwm

    Quote Originally Posted by urukrama View Post
    What about xprop WM_NAME?

    Some applications don't have either, though, and don't behave very nicely in Pekwm (skippy is another one of those).
    the same thing (

  6. #36
    Join Date
    Jul 2008
    Beans
    11

    Re: Howto: Install and configure Pekwm

    Thanks urukrama, I did not know about xprop.
    xprop WM_CLASS
    is not working for BMPanel because it does not set the WM_CLASS property whereas fbpanel sets it in panel.c:
    gtk_window_set_wmclass(GTK_WINDOW(p->topgwin), "panel", "fbpanel");
    I modified the main-function in bmpanel.c a bit so that it sets the WM_CLASS property of the window. The difference to the method of fbpanel is, that we have to use the X-functions. fbpanel is GTK-based.

    Sorry, I am no C programmer. I copied parts from other code I found using Google but it seems to work.

    int main(int argc, char **argv)
    {
    XClassHint *classHint;

    log_attach_callback(log_console_callback);
    parse_args(argc, argv);
    LOG_MESSAGE("starting bmpanel with theme: %s", theme);

    initX();
    initP(theme);
    init_render(P.theme, X.display, P.win, X.visual, X.colmap, P.width);

    signal(SIGHUP, sighup_handler);
    signal(SIGINT, sigint_handler);

    rebuild_desktops();
    update_tasks();

    render_update_panel_positions(&P);
    render_panel(&P);

    /* Set ClassHint */
    if (! (classHint = XAllocClassHint())) {
    printf("Can't allocate memory for class hints!\n");
    cleanup();
    exit(1);
    }

    classHint->res_name = "panel";
    classHint->res_class = "bmpanel";

    XSetClassHint(X.display, P.win, classHint);
    XFree(classHint);

    init_and_start_loop();

    cleanup();
    return 0;
    }
    Now xprop shows:
    tim@tim-laptop:~$ xprop WM_CLASS
    WM_CLASS(STRING) = "panel", "bmpanel"
    By the way, the issues when raising a window in those panels have now been officially fixed: http://pekwm.org/projects/3/commits/1604. Hopefully the new version will be released soon.

  7. #37
    Join Date
    Oct 2006
    Location
    Oceanside, CA
    Beans
    172
    Distro
    Xubuntu 8.04 Hardy Heron

    Re: Howto: Install and configure Pekwm

    For anyone who's interested, the latest version of PekWM from git solves some problems I was having with KDE applications like Amarok and Klipper.
    "Candle? What candle? I don't see any candle, it's too damn dark in here!"
    Visit my author home page | Read about the exploits of Dennis the Rescue Vizsla

  8. #38
    Join Date
    Jul 2007
    Location
    Massachusetts, USA
    Beans
    91
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Howto: Install and configure Pekwm

    Re: Howto: Install and configure Pekwm
    It might help others who have the same problem if you posted your solution here.
    for example, it would really help me

  9. #39
    Join Date
    Oct 2006
    Location
    Oceanside, CA
    Beans
    172
    Distro
    Xubuntu 8.04 Hardy Heron

    Re: Howto: Install and configure Pekwm

    Should I be worried that pekwm.org has been MIA for two days?

    EDIT: It's back.
    Last edited by jviscosi; August 16th, 2008 at 07:36 PM.
    "Candle? What candle? I don't see any candle, it's too damn dark in here!"
    Visit my author home page | Read about the exploits of Dennis the Rescue Vizsla

  10. #40
    Join Date
    Apr 2006
    Beans
    56
    Distro
    Hardy Heron (Ubuntu Development)

    Re: Howto: Install and configure Pekwm

    Hi all!!

    Anyone know, how to run Pekwm with Gnome?

    Kimmo
    I'll never forget that night, the night Jesus Christ made the blackness white <underoath>

Page 4 of 8 FirstFirst ... 23456 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •