PekWM 1.15 Released

Window managers, icon programs, widgets, etc.
Message
Author
aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#31 Post by aragon »

musher0 wrote:Also, as an execise, I've been trying to produce a menu directly for wmx from the *.desktop files, and it's hellish!
hi christian,

when i read this (from wmx readme)

Code: Select all

-- To start a new application of your choice: use the middle mouse
    button on the root window, anywhere other than the top-right
    corner of the root window.  If you have any executable programs in
    your $HOME/.wmx directory -- or other directory named in
    CONFIG_COMMAND_MENU -- they will be listed on a menu and you can
    choose one to be started up.  (You can add and remove programs
    while wmx is running.)  REMEMBER, $HOME/.wmx IS A DIRECTORY, not
    a file, so please don't write to me asking what the file format is.
i would say it's not hellish but makes no sense at all :wink:

aragon

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

PekWM 1.15 Released

#32 Post by L18L »

musher0 wrote:...
Should work on all Puppies from 4.31 on. Let me know?!...

Code: Select all

# pekwm
failed to open file 
pekwm: root window unavailable, can't start!
#
:cry:
Posting from another official puppy: Precise 5.2.71

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

Re: PekWM 1.15 Released

#33 Post by musher0 »

L18L wrote:
musher0 wrote:...
Should work on all Puppies from 4.31 on. Let me know?!...

Code: Select all

# pekwm
failed to open file 
pekwm: root window unavailable, can't start!
#
:cry:
Posting from another official puppy: Precise 5.2.71
Thanks for the report, L18L.

Will check as soon as I can once the download of the most recent precise puppy (beta4), published earlier today, has finished.

BFN
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#34 Post by musher0 »

Hello.

Here's something neat in pekwm: the custom menus. This feature allows you to have a second and even a third menu, etc. The neat thing is that pekwm menus are sticky to a point, so you can display more than one menu for "consultation", so to speak, and the ones you displayed earlier only go away when you hit "escape".

In your menu file, change the "Apps" line to this: (where you would normally have the traditional menu with submenus, etc.)

Code: Select all

Entry = "Puppy Menu" { Actions = "ShowMenu PuppyMenu" }
After the very last line of the menu, add:

Code: Select all

PuppyMenu = "Apps" {
	 Entry = "" { Actions = "Dynamic ~/.pekwm/dynamique/spm2pwm" }
}
(As an example, I'm using aragon's dynamic script to generate an apps menu. You can download his script from the previous page.)

The result is this:

BFN.
Attachments
menuS-in-pekwm.jpg
With this small change, the main menu, an apps menu and the windows list can be shown simultaneously in pekwm.
(60.49 KiB) Downloaded 1322 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

Re: PekWM 1.15 Released

#35 Post by musher0 »

L18L wrote:
musher0 wrote:...
Should work on all Puppies from 4.31 on. Let me know?!...

Code: Select all

# pekwm
failed to open file 
pekwm: root window unavailable, can't start!
#
:cry:
Posting from another official puppy: Precise 5.2.71
Hello again, L18L.

Last night I re-compiled pekwm for old yeller's version of puppy precise, and it works nicely on that version. Frankly, I'd rather wait until Barry has finalized his own version of Precise before I compile it for his Puppy.

Can you be more specific about why pekwm doesn't load on BK's Precise? Or maybe it just doesn't load, period?

In any case, I can make available to you the compile for oy's version of Puppy Precise. Nod if you're interested? :)

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#36 Post by musher0 »

The most beautiful desktop!

Bottom left to top right :

Rox-panel with transparent icons as spacers
Rox-icons on pinboard
Month in transparent urxvt
pekwm menu
aemenu customized with xdotool to always pop up in top right corner, BeOS style
watch in urxvt titleless window.

Background borrowed from collection in pemasu's polarpup.
Coordinated themes for gtk and pekwm: slightly adapted by me to be more compatible between each other, from "aum"; originals are at
http://box-look.org/content/show.php/Au ... ent=143237

Soft on the eyes, no? :D Enjoy!
Attachments
pekwm-and-friends640x512b.jpg
pekwm with "friends" ROX, urxvt, date, watch and aemenu
(59.77 KiB) Downloaded 1201 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Re: PekWM 1.15 Released

#37 Post by L18L »

musher0 wrote:...Can you be more specific about why pekwm doesn't load on BK's Precise? Or maybe it just doesn't load, period?...
No, just a copy of console:
my console in precise5.2.91 wrote:# pekwm
failed to open file /usr/local/etc/pekwm/config_system
failed to open file
failed to open file /usr/local/etc/pekwm/mouse
pekwm: root window unavailable, can't start!
#
musher0 wrote:BFN.
:roll: :?: :roll:

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#38 Post by musher0 »

Oh. Probably my fault, when I created the pet.

stu91 had mentioned something about it. Try making a link from /etc/pekwm to /usr/local/etc/pekwm, to see if that solves the problem.

And let me know? Thanks in advance.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

#39 Post by L18L »

musher0 wrote:..making a link from /etc/pekwm to /usr/local/etc/pekwm...
my console wrote:# pekwm
failed to open file /usr/local/etc/pekwm/config_system
failed to open file
failed to open file /usr/local/etc/pekwm/mouse
pekwm: root window unavailable, can't start!
#
# ln -s /etc/pekwm /usr/local/etc/pekwm
# pekwm
pekwm: root window unavailable, can't start!
#
BFN, c'est quoi?

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#40 Post by musher0 »

Hello, L18L.

Sorry to read that.

BFN = Bye for now.

Sometimes I use TWYL = Talk with you later.

Ok, taking this pekwm bull by the horns! :) Back in a while with a new pekwm pet for precise. Stay tuned!

TWYL.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#41 Post by musher0 »

Hello again, L18L.

Please try this new compile of pekwm, made especially for oldyeller's precise pup. You can download it from: http://limelinx.com/fef41
It does work on my oy-precise 5.3.0. I don't see why it shouldn't work on the Puppy Precise Barry is presently putting together and having people test.

As a reminder, you'll need one of the menu creation programs listed on the previous pages of this thread. But you already know this, of course. :)

Keep me posted? TWYL.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

#42 Post by L18L »

musher0 wrote:... you'll need one of the menu creation programs listed on the previous pages of this thread. But you already know this, of course. :)
Could you be more specific please?
No, I did not know this.
:)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#43 Post by musher0 »

L18L wrote:
musher0 wrote:... you'll need one of the menu creation programs listed on the previous pages of this thread. But you already know this, of course. :)
Could you be more specific please?
No, I did not know this.
:)
More specific... Well, pekwm comes with a default menu which you can use as an example. But, I think nobody wants to re-type the menu entries in the icewm menu, for example, in the pekwm menu with the pekwm syntax. So fellow members have offered solutions.

On the pages above, stu91 offers a dynamic menu based on perl, aragon offers a dynamic menu based on bash, and I have presented a static menu based on the jwm menu.

The dynamic menus take a half-second to load (creates sort of a hiccup effect); mine takes a full minute the first time it is created and then it appears immediately. Advantage of a dynamic menu of course is that any new program you install is readily listed on the next call to the menu. Advantage of a static menu is that you can customize it further, to reflect the way you interact with your programs ("your own logic", so to speak). So... it's your choice, basically. All three do a good job of "menu-ing".

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#44 Post by musher0 »

L18L wrote:
musher0 wrote:..making a link from /etc/pekwm to /usr/local/etc/pekwm...
my console wrote:# pekwm
failed to open file /usr/local/etc/pekwm/config_system
failed to open file
failed to open file /usr/local/etc/pekwm/mouse
pekwm: root window unavailable, can't start!
#
# ln -s /etc/pekwm /usr/local/etc/pekwm
# pekwm
pekwm: root window unavailable, can't start!
#
BFN, c'est quoi?
Hello again, L18L.

I just noticed... Typing "pekwm" as you did from any console will not bring you any joy!!! :(

To start your Puppy with pekwm as a window manager, you have to go back to the initial black console by typing Ctrl-Alt-Backspace, and then, at the prompt, type "xwin pekwm" (without the quotation marks). This will bring you back in your Puppy with pekwm as the window manager. :D

Best.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
oldyeller
Posts: 889
Joined: Tue 15 Nov 2011, 14:26
Location: Alaska

#45 Post by oldyeller »

musher0 wrote:Thanks much, aragon.

I guess pekwm users will be spoiled... Because, meanwhile... :D

Since stu's perl script was not working for me, I went back to work. Backtracking to the work I had done on pekwm for dpup-4.84, I re-discovered some ideas that I've put together here in a different manner.

So I came up with a pekwm menu generator based on the jwm menu, through jwm2pekwm, that was available at the time. (It still is.)

Basically, beforehand, I cut the pekwm menu in its essential pieces, and store them away safely. (This gives you also more freedom to edit/customize them.)

I then update my jwm menu with amigo & technosaurus' jwm menu utility.
You need this ! http://murga-linux.com/puppy/viewtopic. ... 26&t=70804 (It's not included in my pekwm menu-generation pet.)

I then run jwm2pekwm.

I then save the "SESSION" part of the resulting "jwm menu" separately, to reappend it at the end of the process/pekwm menu.

The more, tail and head utilties are most useful in this recreation.

You can see how it is done in more detail if you read the main script, "generate-pekwm-menu", and the "menugen" script.

I've included some illustrations.

It took me a while to refine the integration of the parts, but it works well now. Only problem: expect a delay of a little over a minute for the processing. Some messages will tell you when the new menu is ready.

To activate your updated menu, you use your existing pekwm menu (which has not gone out of memory). Click on to the "reload" menu item in the pekwm submenu and wait 2 seconds. Then, right-click on an empty part of the desktop, and there you go! You've updated your pekwm menu! :)

A summary of pekwm key combinations and a help file are included. They will show up when you hit the "Keys" and "Help" menu items in the "pekwm" area.

Enjoy! :)
Ok which one would you suggest that I use this is all new for me

User avatar
oldyeller
Posts: 889
Joined: Tue 15 Nov 2011, 14:26
Location: Alaska

#46 Post by oldyeller »

musher0 wrote:
L18L wrote:
musher0 wrote:..making a link from /etc/pekwm to /usr/local/etc/pekwm...
my console wrote:# pekwm
failed to open file /usr/local/etc/pekwm/config_system
failed to open file
failed to open file /usr/local/etc/pekwm/mouse
pekwm: root window unavailable, can't start!
#
# ln -s /etc/pekwm /usr/local/etc/pekwm
# pekwm
pekwm: root window unavailable, can't start!
#
BFN, c'est quoi?
Hello again, L18L.

I just noticed... Typing "pekwm" as you did from any console will not bring you any joy!!! :(

To start your Puppy with pekwm as a window manager, you have to go back to the initial black console by typing Ctrl-Alt-Backspace, and then, at the prompt, type "xwin pekwm" (without the quotation marks). This will bring you back in your Puppy with pekwm as the window manager. :D

Best.
There is no joy here :(

restarted x got pekwm but no menu used your pet. I am stumped.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#47 Post by musher0 »

oldyeller wrote: There is no joy here :(
restarted x got pekwm but no menu used your pet. I am stumped.
Hello, oldyeller.

The attached pet should fit the bill nicely. It's a drop-in replacement for the default pekwm menu, and really adapted to PuppyLinux. Please see illustration.

This menu contains aragon's dynamic menu, plus a couple of niceties (dynamic clock, access to my-documents, etc., as well as some online help), and the capacity to edit the pekwm parameters. :D

Keep me posted? TWYL.

Christian
Attachments
pekwmDynamicMenuAdaptedForPuppy.jpg
(14.9 KiB) Downloaded 1084 times
pekwm-menu-dynamic.pet
(6.97 KiB) Downloaded 950 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
oldyeller
Posts: 889
Joined: Tue 15 Nov 2011, 14:26
Location: Alaska

#48 Post by oldyeller »

This may sound dump, but how do you get the menu to show up.

I have un-installed your pet and installed aragon's one. I still get no menu.

Still have no joy :( :( :(

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#49 Post by musher0 »

Hi, oldyeller.

aragon always does a good job, but I am sorry to hear you went back to a previous version of pekwm. You won't be benefitting from the latest features.

In answer to your question, a mouse right-click on any empty part of the desktop will bring up the pekwm menu.

////////////////////
What brought me back here tonight is the choice of panels for pekwm.

Since pekwm does not have a panel, you might need lxpanel, which you can get from here:
http://www.murga-linux.com/puppy/viewtopic.php?t=62757

I believe fbpanel is included in most puppies now, so you may want to use fbpanel instead. (I prefer lxpanel because it has more plugins.)

pekwm authors also suggest some "companion" programs, including various panels. Please see https://www.pekwm.org/projects/3/wikis/Companions
However I have no experience of them, save for the xfce-panel, which is as powerful as lxpanel, IMO.

Good luck!
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
oldyeller
Posts: 889
Joined: Tue 15 Nov 2011, 14:26
Location: Alaska

#50 Post by oldyeller »

I am using pekwm that yu just did. It was the menu pet that you did that I un-installed.

For some reason it will not work I will continue to try though

Thanks

Post Reply