PekWM 1.15 Released

Window managers, icon programs, widgets, etc.
Message
Author
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#81 Post by musher0 »

Hello, pekwm fans!

This code

Code: Select all

#!/bin/ash
# ~/.pekwm/mev-libr-pekwm.sh
# par musher0, 3 janv. & 4 févr. 2015.
####
MEVDISP="`grep Mem /proc/meminfo | tr -s ' ' | tr '\n' ' ' | awk '{ print $5/$2*100 }'`";MEVDISP="${MEVDISP:0:5} %"
# Langues
[ ${LANG:0:2} = "fr" ] && MV="MEV" || MV="RAM"

echo "Dynamic {"
echo " Entry = \"  $MV : $MEVDISP\" { Actions = \"Exec /root/my-applications/Systeme/cleanup_memory3 & \" } "
echo " }"

####################
# Ligne appellante dans le menu de pekwm :/ # Calling line in the pekwm menu:
#
# 	Entry = "" { Actions = "Dynamic $PEK/mev-libr-pekwm.sh"}
#
# Placer de préférence vers le haut du menu. / # Put preferably near the top of the menu.
####################
gets you this listing in the pekwm menu (see attached screen capture), provided
that you put this line:

Code: Select all

Entry = "" { Actions = "Dynamic $PEK/mev-libr-pekwm.sh"}
somewhere near the top of your pekwm menu.

The <cleanup_memory3> script (evolved from big_bass's original for Puppy 4.12
"Slaxer"), called by the pekwm menu "Entry" above, can be downloaded from:
http://murga-linux.com/puppy/viewtopic. ... ost#826070

Enjoy!

musher0
Attachments
MEV-dans-menu-pekwm.jpg
(22.93 KiB) Downloaded 579 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

#82 Post by musher0 »

Hello, pekwm fans.

pekwm-1.17 was made available last January (2015) by pekdon.

Here is a *.pet archive of it. I compiled it on PuppyPrecise-5.4.3.
I've included only a minimal set of themes, however.

I tested it on PuppyPrecise-5.4.3 and vividPup-6.5. Works fine on both.
Let us know your mileage on other pups?

Any questions, please ask. Thanks. BFN.

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

User avatar
torm
Posts: 186
Joined: Sat 07 Mar 2015, 19:56

#83 Post by torm »

Sounds interesting...

And looks good.
Maybe with some support -finetuned preconfiguration and graphical
setup utilities ( similar to JWM has) it would be more popular than JWM or
IceWM :wink:
And, it may probably need some "fallback" options
to make it more ..bulletproof
Must dig more into extra features it has, now.

User avatar
Colonel Panic
Posts: 2171
Joined: Sat 16 Sep 2006, 11:09

#84 Post by Colonel Panic »

PekWM is one of the best window managers out there IMO. Manjaro used to have a version based on PekWM, but I don't know if it's still current.
Gigabyte M68MT-52P motherboard, AMD Athlon II X4 630, 5.8 GB of DDR3 RAM and a 250 GB Hitachi hard drive running Ubuntu 16.04.6, MX-19.2, Peppermint 10, PCLinuxOS 20.02, LXLE 18.04.3, Pardus 19.2, exGENT 200119, Bionic Pup 8.0 and Xenial CE 7.5 XL.

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

#85 Post by musher0 »

Hello all.

I just published a compilation of pekwm-1.17 especially for the Puduan-6
Pup, here:
http://murga-linux.com/puppy/viewtopic. ... ost#934295.

Untested on other Puppies, because it's a specialized edition containing
the xprop utility that the Puduan does not have OOTB.

That said, you may want to download it anyway for the entirely new and
blazingly fast pekwm menu creator
and a couple of other goodies,
essentially in the /root/.pekwm directory.

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

#86 Post by musher0 »

Four new themes for pekwm, here.

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

TeX Dog
Posts: 287
Joined: Wed 06 Jul 2016, 17:57

#87 Post by TeX Dog »

Interesting in knowing more, getting a fast solution to understand this WM, I see some elements I personally like, which spinoff has this ready to go? Anything current beyond your own personal use?

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

#88 Post by musher0 »

TeX Dog wrote:Interesting in knowing more, getting a fast solution to understand this
WM, I see some elements I personally like, which spinoff has this ready
to go? Anything current beyond your own personal use?
Hi Tex_Dog.

I'm not sure I understand completely what you mean by "spinoff" in your
sentence "which spinoff has this ready to go". But off the top of my head
I'd say pekwm's distinctive features are:
  • -- list of running apps by left click on an empty space of the backdrop,
    plus clicking on one item of the list gets you to it, on any desktop (top of
    pic 1). Among comparable wm's, icewm has it, but not jwm;

    -- integrated command line (bottom of pic 1);

    -- it's very responsive;

    -- the menu has text-like syntax, not xml (like jwm has), so it's rather
    easy to understand / manipulate / edit;

    -- pekwm has an extensive and editable set of key combos for the speed-
    minded. I seldom use them personally, but they're there. You don't need
    an external utility like xbindkeys with pekwm;

    -- detachable submenus ("ShowMenu" directive from main menu). With
    this feature, the submenu displays separately instead of connected to the
    main menu. I've seldom used it (in a previous pet, not in this version),
    but again, it's there if the user has a need for it. Edit: Please see 2nd pic.

    AFAIK, it doesn't exist in jwm, and "it's a pain to obtain" in icewm;

    -- the menu can be called by right click on any screen border. This is very
    handy, say, when you're editing a picture in full screen and you need to
    launch another app. You don't need to reduce the size of the app you're
    working in to access the pekwm menu;

    -- various support scripts by non-pekwm-team developers such as
    urukrama and others provide "a la WhineDose" stacking / sticking of apps
    to occupy half-screen, plus other niceties.
I'm sure there's more, but as I said, this is "off the top of my head"!

~~~~

Regarding "anything current", version 1.18-rc1 was released about a
month ago. Please see https://www.pekwm.org, top of page. Pekwm's
publishing cycle seems to be one new version every year or 1½ year.

I'm testing v. 1-18-rc1 now. I'll provide a pet of it a bit later, after I'm
satisfied with the testing.

~~~

I hope this answers your questions. Any more, just "ring"!

BFN.
Attachments
pekwm-ShowMenu(s)_2016-12-07(2).JPG
Example of two menus at the same time in pekwm with the ShowMenu
directive: the main menu and the puppy menu, both with submenus open.
Menus are considered as semi-windows in pekwm so they are easier to work with.
(55.59 KiB) Downloaded 336 times
pekwm-list-of-apps-by-leftclick_2016-12-04(1).jpg
Running apps list at top, command utility at bottom.
(36.96 KiB) Downloaded 379 times
Last edited by musher0 on Wed 07 Dec 2016, 20:41, edited 1 time in total.
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

#89 Post by musher0 »

Hello all.

Here is an adaptation to pekwm of the "Delete Permanently or Sent to
Trash" routine by MochiMoppei (originally for jwm).

Also implemented as a stand-alone script, it can be quite handy.

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

#90 Post by musher0 »

(I just added an illustration of two menus at the same time in pekwm
in my 2nd post above.)
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

#91 Post by musher0 »

Hello all.

Heads up! I just discovered that the variables defined in pekwm's 'vars' file
for variables are not recognized in pekwm's 'mouse' configuration file.

In the pekwm configuration 'mouse' file, if you want to call, say, a
terminal configuration from a mouse+key combination, write the "Exec"
part with the full path to the file.

For ex., in pekwm's configuration file for the mouse, in the "Screen Edge"
section, "Up" subsection:

Code: Select all

ButtonRelease = "Mod4 1" { Actions = "Exec /root/my-applications/bin/terminaux/console.sh &" }
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

#92 Post by musher0 »

Hello all.

A bilingual (FR-EN) respin of my new pekwm menu creator is now
available here. Its structure should facilitate translation of the
pekwm menu in other languages as well.

How-to:
Simply unpack the zip archive there in /root/.pekwm.
Then make the two *.sh scripts executable, and
run < menu-complet.sh >.
Launch pekwm and
reload the menu.

That's for the first run.

Once your new menu is set, any menu refresh can be done from entry
pekwm->menu->Gen./Refresh; wait 4-5 seconds until the little "Finished!"
panel shows up and Reload the menu.

Any question, please ask.

Please note: English-speakers do not have to change.

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

User avatar
torm
Posts: 186
Joined: Sat 07 Mar 2015, 19:56

#93 Post by torm »

With TahrPup605 noticed some random "freeze-up" , while
pressing the "Alt" key on keyboard somehow fixes that ... :?

Also some strange things with folders on ROX-pinboard,
where one needs to triple-click to open the folder... ( instead of double-click )
Is that a ROX or PEKWM issue?

btw,
there is no way to add app icon on window frame top.
Even if one can display these icons in minimized windows list. :?:

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

#94 Post by musher0 »

torm wrote:With TahrPup605 noticed some random "freeze-up" , while
pressing the "Alt" key on keyboard somehow fixes that ... :?

Also some strange things with folders on ROX-pinboard,
where one needs to triple-click to open the folder... ( instead of double-click )
Is that a ROX or PEKWM issue?

btw,
there is no way to add app icon on window frame top.
Even if one can display these icons in minimized windows list. :?:
Hello torm.

Thanks for your comment.

For your paragraphs 1 and 2, may I suggest you check your hardware
before blaming the software? Sounds as though the USB connectors for
your mouse and keyboard could be a bit loose? Or -- and I hate saying
this to a new forum member -- perhaps your keyboard and mouse need
some cleaning? ;)

In your paragraph 1, short system "freeze-ups" or "waits" are also typical
of a system about to overheat... Or your system is temporarily out of
RAM and your swap file is briefly being used.

In your paragraph 3, do you mean "the top of the frame of the program
window"? If so, common name for it in Linux is "title bar".

I'm not in the mind of the pekwm developers, I don't know why they did it
that way, but I'd say it's a pekwm feature: pekwm presents the title bar
differently than other window managers. Probably because in pekwm you
can have the close, min-max buttons, etc., on either side of the title bar.

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

User avatar
torm
Posts: 186
Joined: Sat 07 Mar 2015, 19:56

#95 Post by torm »

No. Hardware is clean and okay, these errors appear
only with PekWM ( not JWM, XFCE, Compiz, OpenBox, etc. )
ROX folders on pinboard are a problem, clicking on other
icons start programs just fine.

System is not running out of ressources/overload.
Mouse cursor can be moved around, while clicking anywhere does nothing.
Until I press "Alt"-key once and things are back to normal.
:?

Missing title bar icons are most likely somehow related to
window grouping feature. :roll:
There's nothing that user can do about it,
and it is not mentioned anywhere in the documentation.

Aside from the above..
Yes it is interesting window manager
with no special dependencies and great theme support.

User avatar
Colonel Panic
Posts: 2171
Joined: Sat 16 Sep 2006, 11:09

#96 Post by Colonel Panic »

musher0 wrote:Hello, gang!

Here's possibly another neat feature in pekwm : aemenu is still accessible in pekwm. (The Puppy derivative was created by member "aragon" and entitled "pmenu". Look for the thread in this forum.) I say "possibly" because I actually just chanced upon it because I have aemenu installed.

This is where pekwm shows its roots! :) pekwm is a distant "grand-child" of aewm. For some reason, it still has the ability to call aemenu (aka pmenu) by left-clicking on an empty part of the desktop.

If you wish, you can therefore do away with the applications part in the pekwm menu to make it concentrated on the pekwm functions proper and have a regular applications menu separately. (See attached pic.)

Of course, this is not intended to diminish stu's great work on a dynamic menu for pekwm (see above). This is just to announce another feature of pekwm I just discovered.

As well, this would need confirmation... But it is real on this computer!

It should also be noted that the pekwm menu is persistent, which can come in handy at times. You have to re-click it or hit "escape" to close it.

I know I'll get flac for saying this, but... with all its features (documented and undocumented), IMHO, pekwm leaves jwm in the dust... :D

BFN.
Hi nmusher;

Just happened on this thread, and have just installed pekwm again. Thanks for all your hard work here, and I'm looking forward to trying some of your innovations.

A quick question if I may; I like using dmenu in window managers. Is there a hotkey configuration file which would enable me to launch it from within pekwm by using the keyboard?

Thanks in advance,

CP .
Gigabyte M68MT-52P motherboard, AMD Athlon II X4 630, 5.8 GB of DDR3 RAM and a 250 GB Hitachi hard drive running Ubuntu 16.04.6, MX-19.2, Peppermint 10, PCLinuxOS 20.02, LXLE 18.04.3, Pardus 19.2, exGENT 200119, Bionic Pup 8.0 and Xenial CE 7.5 XL.

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

#97 Post by musher0 »

HI Colonel Panic.

The doc about doing that is here:
https://pekwm.org/doc/git/html/config/k ... mouse-keys

Basically you incorporate your chosen hot key -- for any app, not just dmenu -- in
pekwm's file ~/.pekwm/keys. Just make sure when doing so that you do not cancel or
override some other key combo.

IHTH.
Last edited by musher0 on Thu 08 Feb 2018, 04:34, edited 1 time in total.
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

#98 Post by musher0 »

torm wrote:No. Hardware is clean and okay, these errors appear
only with PekWM ( not JWM, XFCE, Compiz, OpenBox, etc. )
ROX folders on pinboard are a problem, clicking on other
icons start programs just fine.

System is not running out of ressources/overload.
Mouse cursor can be moved around, while clicking anywhere does nothing.
Until I press "Alt"-key once and things are back to normal.
:?

Missing title bar icons are most likely somehow related to
window grouping feature. :roll:
There's nothing that user can do about it,
and it is not mentioned anywhere in the documentation.

Aside from the above..
Yes it is interesting window manager
with no special dependencies and great theme support.
Sorry for the lateness in replying, torm.
I have not used pekwm in a while.
I'll have to double check about the missing title bar icons.

I remember that pekwm gives the user the option of including program icons in its
menu, provided you add the proper icon code segment on the menu line. At the
time, I decided against it because it made the menu slower.

As to the program icons in the title bar, I can't remember -- sorry. Maybe look at
some of the screen captures to find out. I wouldn't think it has anything to do with
programs grouping, though. It's a different feautre. Maybe read this part of the
pekwm doc?
https://pekwm.org/doc/git/html/config/a ... ops-groups

IHTH. TWYL. (I'll get to it, but I'm pooped at the moment.)
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

#99 Post by musher0 »

@torm:

In answer to your question about no icons in pekwm title bars, have a look here: you
will find none, because that is the way pekwm is designed. Those icons are NOT missing.

@all:
If you have a pekwm menu all "skewed" up, you can blame it on a number of things:
-- the new *.desktop files with "parts" to them. My parsing script takes only one "Exec"
entry per *.desktop file. I might do something about it at a later date, but for now, if you
want the multiple entries you have to make as many *.desktop files for that application as
there are entries. Case in point here would be claws-mail.desktop.

-- watch out for one-liners with hex colors in *.desktop files vis-a-vis the Exec line. Make
them into little scripts that you will place in /usr/local/bin or /~/my-applications/bin. Cases
in point here would be top.desktop and xfontsel.desktop. (The latter is so old we could
eliminate it, IMO, at least from the /usr/share/applications directory.)

I mean: "Menu parsing is a two-way street": the parsing script has to be good, of course,
but the devs who write the *.desktop files should think ahead a little, too.

I will be back in a day or two with a fresh compilation of pekwm-0.1.18rc1 for xenialPup-
7.0.6 with hopefully all those quirks ironed out. And a nice collection of themes, too!

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

#100 Post by musher0 »

@Colonel_Panic:

This would answer your question about dmenu, I think:
https://urukrama.wordpress.com/2008/02/ ... nd-openbox

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

Post Reply