PekWM 1.15 Released

Window managers, icon programs, widgets, etc.
Message
Author
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

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

#51 Post by musher0 »

Hi, guys.

I've included a script to convert an icewm menu to a pekwm menu here:
http://murga-linux.com/puppy/viewtopic.php?t=81496

It's quite fast, really, probably due to the fact that both menus are basically in text format.

I hope you won't mind the French comments, I haven't had the time to translate. As well, the job itself is done in bash language, no?

Just pluck the script off the page and save to ~/my-applications/bin. Once copied, make executable, of course. Don't forget to download the replaceit utility, too, it's the one making the conversion... :)

So we now have another avenue to the pekwm menu.

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

simargl

#52 Post by simargl »

.
Last edited by simargl on Sun 01 Sep 2013, 14:57, edited 1 time in total.

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#53 Post by aragon »

hi simargl,

maybe because there are so much config options ...

but you're right, this makes me wonder too.

aragon

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

#54 Post by Colonel Panic »

simargl wrote:Version 0.1.16 available!

Pekwm is good window manager, something like openbox with better theming support.

I wonder why it's not more popular.

Image
I agree. It does pretty much everything I want a window manager to do and is lightweight into the bargain (musher, thanks for the script too).
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

#55 Post by musher0 »

Colonel Panic wrote:
> (musher, thanks for the script too).

My pleasure! I'm glad it can be useful!

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

User avatar
`f00
Posts: 807
Joined: Thu 06 Nov 2008, 19:13
Location: the Western Reserve

#56 Post by `f00 »

The 'popularity' may be due to a lot of config options° with no 'dumbed-down' gui (doc-page in one tab, texteditor in the other .. sane yes, but hardly point'n'click :lol: ).

Does it need imlib2 support for icons in the rootmenu? (haven't seen an openbox that does this in puppy yet either). The average user likes icons (lazy/quick visual recognition). Balance that against the intrinsic speed of a text-only menu..

Panels, bars and other addons for sure (but they all consume resources to a greater or lesser degree). Speaking of, bbdock is awfully slow to initialize as a harbor in pekwm for me :|

° - It has superior kybd support (and not-too-shabby mouse, either)

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

#57 Post by musher0 »

Hello, everyone!

Speaking of version 1.16... here you go ! Puppyfied, too ! :)
http://limelinx.com/e5j56

Enjoy! :cry:

Note: Compiled and packaged under the latest wheezypup (v. 3.5.2.5) by pemasu. Works well in wheezypup, but untested in other pups. Let us know your mileage?

BFN

musher0
Last edited by musher0 on Wed 10 Apr 2013, 17:35, 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

#58 Post by musher0 »

Hello, all.

Anybody taken aback by the new configuration files in pekwm 1.16 ?
I had to import my old config files from version 1.14 to get the new
pekwm 1.16 to behave like I'm used to.

Thanks in advance for any feedback.

Best regards.

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

simargl

#59 Post by simargl »

.
Last edited by simargl on Sun 01 Sep 2013, 15:11, edited 1 time in total.

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

#60 Post by musher0 »

Hello, all.

pekwm 1.17 is out. However, there are not enough significant changes -- as compared to pekwm 1.16 -- to publish a new Puppy build, IMO. Among other smaller things, it provides a snapshot utility, but Puppy already has many of those.

Best regards.

musher0
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

#61 Post by musher0 »

Hello, all.

Here is a little script to change the number of desktops in pekwm on the
fly. AFAIK, it is version-neutral. It requires replaceit as a dependency
(can be downloaded from http://www.pldaniels.com/replaceit/).
It goes in ~/.pekwm and should be named "def-pwm-wkspaces.sh".

Code: Select all

#!/bin/sh
# Nom et emplacement de ce script : ~/.pekwm/def-pwm-wkspaces.sh
# Dépendances : replaceit, pekwm
# (c) Christian L'Écuyer (alias / aka musher0), 
# Gatineau (Qc), Canada, 7 juin 2013. 
# Tous droits réservés, sauf usage privé et personnel ("ad usum privatum") 
# dans le contexte de ToutouLinux. / All rights reserved, except private
# and personnal use ("ad usum privatum") in the context of PuppyLinux.
####
case "$@" in
	1)WS="Workspaces =\"1\""
		WPR="WorkspacesPerRow =\"1\""
		WSN="WorkspaceNames =\"- 1 -\"" ;;
	2)WS="Workspaces =\"2\""
		WPR="WorkspacesPerRow =\"2\""
		WSN="WorkspaceNames =\"- 1 -;- 2 -\"" ;;
	3)WS="Workspaces =\"3\""
		WPR="WorkspacesPerRow =\"3\""
		WSN="WorkspaceNames =\"- 1 -;- 2 -;- 3 -\"" ;;
	4)WS="Workspaces =\"4\""
		WPR="WorkspacesPerRow =\"4\""
		WSN="WorkspaceNames =\"- 1 -;- 2 -;- 3 -;- 4 -\"" ;;
	5)WS="Workspaces =\"5\""
		WPR="WorkspacesPerRow =\"5\""
		WSN="WorkspaceNames =\"- 1 -;- 2 -;- 3 -;- 4 -;- 5 -\"" ;;
	6)WS="Workspaces =\"6\""
		WPR="WorkspacesPerRow =\"6\""
		WSN="WorkspaceNames =\"- 1 -;- 2 -;- 3 -;- 4 -;- 5 -;- 6 -\"" ;;
	7)WS="Workspaces =\"7\""
		WPR="WorkspacesPerRow =\"7\""
		WSN="WorkspaceNames =\"- 1 -;- 2 -;- 3 -;- 4 -;- 5 -;- 6 -;- 7 -\"" ;;
	8)WS="Workspaces =\"8\""
		WPR="WorkspacesPerRow =\"8\""
		WSN="WorkspaceNames =\"- 1 -;- 2 -;- 3 -;- 4 -;- 5 -;- 6 -;- 7 -;- 8 -\"" ;;
	9)WS="Workspaces =\"9\""
		WPR="WorkspacesPerRow =\"9\""
		WSN="WorkspaceNames =\"- 1 -;- 2 -;- 3 -;- 4 -;- 5 -;- 6 -;- 7 -;- 8 -;- 9-\"" ;;
	*) exit ;;
esac
R="replaceit --input=/root/.pekwm/config --wholeline"
$R Workspaces "    $WS" -"#"
$R WorkspacesPerRow "    $WPR"
$R WorkspaceNames "    $WSN"

### 30 ###
To make it accessible, place the following at the end of the pekwm sub-menu in the pekwm menu. (See attached picture if you don't know where that is.)

Code: Select all

		Submenu = " Number of desktops" {
# Pour un sous-titre en français, mettez un dièse devant la ligne 
# ci-dessus, et enlevez le dièse devant la ligne ci-dessous. 
#              Submenu = " Nombre de bureaux" {
			Entry = " - 1 - " { Actions = "Exec ~/.pekwm/def-pwm-wkspaces.sh 1;Restart" }
			Entry = " - 2 - " { Actions = "Exec ~/.pekwm/def-pwm-wkspaces.sh 2;Restart" }
			Entry = " - 3 - " { Actions = "Exec ~/.pekwm/def-pwm-wkspaces.sh 3;Restart" }
			Entry = " - 4 - " { Actions = "Exec ~/.pekwm/def-pwm-wkspaces.sh 4;Restart" }
			Entry = " - 5 - " { Actions = "Exec ~/.pekwm/def-pwm-wkspaces.sh 5;Restart" }
			Entry = " - 6 - " { Actions = "Exec ~/.pekwm/def-pwm-wkspaces.sh 6;Restart" }
			Entry = " - 7 - " { Actions = "Exec ~/.pekwm/def-pwm-wkspaces.sh 7;Restart" }
			Entry = " - 8 - " { Actions = "Exec ~/.pekwm/def-pwm-wkspaces.sh 8;Restart" }
			Entry = " - 9 - " { Actions = "Exec ~/.pekwm/def-pwm-wkspaces.sh 9;Restart" }
		}
You click on the number of desktops you require, pekwm re-launches (not the full re-start), and the number of desktops is adjusted (they will show in your taskbar).

Enjoy.

musher0
Attachments
def-pwm-wkspaces.sh.zip
(775 Bytes) Downloaded 595 times
N_bureaux_pekwm.jpg
(24.42 KiB) Downloaded 785 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#62 Post by Nathan F »

I updated my hack of openbox-menu at https://bitbucket.org/nfisher1226/pekwm-menu. This is a compiled app in C, and the link is just to the source. Please note Simargl did essentially the same thing a while back but based on an earlier release of openbox-menu and with the capability to display icons removed. Since you can easily turn off icon display in your pekwm config I left it in the program. It requires glib, gtk (for the icon lookup) and menu-cache (from lxde, but can be used separately). Nice and fast.

Usage is exactly as you would use any other Dynamic menu with pekwm.

This is essentially just a sync with upstream but while I was at it I fixed a couple compiler warnings.
Bring on the locusts ...

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

#63 Post by musher0 »

Hello, pekwm lovers. :)

There is a way to make ROX panels pekwm friendly simply by inserting
some commands in the "mouse" configuration file. Under the heading
"ScreenEdge", then "Bottom", you can add a line like:

Code: Select all

   ButtonRelease = "Mod1 1" { Actions = "Exec rox -b=bottom-panel &" }
to add a rox panel at the bottom.
The action required is Alt-LeftClick at the bottom of the screen.

And then to remove it:

Code: Select all

   ButtonRelease = "Mod1 2" { Actions = "Exec rox -b= &" }
Here, the action required is Alt-MiddleClick at the bottom of the screen.

Or you can compose one switch script that will open or close the bottom
panel, depending on the contents of the "panels" file.

You can put whatever program you like in the bottom panel, not
forgetting ROX-Applets FreeFS, Load, Mem and Tasklist that will help you
build an informative panel similar the jwm or icewm panels.

This is probably the simplest route: since ROX is already in all Puppies,
the memory overhead will be minimal, as compared to lxpanel or fbpanel
or xfce-panel.

Please see: http://bkhome.org/blog/?viewDetailed=01241 and
http://distro.ibiblio.org/quirky/pet_packages-quirky/

Avoid the rox pager since it is unstable when closing and re-opening a rox
panel. If you intend to use a ROX panel at the bottom permanently,
it won't matter, but if you want to open and close a rox panel at the
bottom, use the very steady stalonetray instead. When you close it,
stalonetray preserves its icons from one time to the next.
http://stalonetray.sourceforge.net/

You can mimic the above approach for left-side and/or right-side panels,
since pekwm's mouse config has headers for left and right as well. And
then you put the other programs that you need in those panels.

That's all for now! TWYL.

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

jimwg
Posts: 121
Joined: Mon 19 Aug 2013, 02:44

#64 Post by jimwg »

deleted

Gnuxo
Posts: 365
Joined: Thu 09 Feb 2012, 19:01

#65 Post by Gnuxo »

I didn't realize this but another new version of Pekwm was released.
Version 1.17.

https://www.pekwm.org/projects/pekwm/news

Post Reply