Page 1 of 1

Shutdown and reboot menu items stopped working

Posted: Thu Apr 15, 2021 5:48 pm
by oldguy_46ca

Just when I thought everything was the way I want it and working nicely in my Wary Puppy 5.5 Frugal installation the Shutdown Menu items stopped working. I checked all the files: wmreboot, wmexit, wmpoweroff, and restartwm. They are all in usr/bin/ as they should be and their permissions are all correct. The file wm-xdgmenu is also there.

I can only shut down now using Ctrl + Alt + Backspace.

Prior to this happening I was using Puppy Package Manager to download a number of different things that I thought might be useful or appeared to be later versions of things I already had installed. I forget what all of them were. After one of these installed (I forget which) all my icons changed. I don't know if that is related.


Re: Shutdown and reboot menu items stopped working

Posted: Thu Apr 15, 2021 6:02 pm
by TerryH

Try to execute any of those 4 shutdown commands from a terminal.


Re: Shutdown and reboot menu items stopped working

Posted: Thu Apr 15, 2021 7:09 pm
by takenp

You can try to trace the problem by yourself. If poweroff command in your terminal doesn't work you can get the reason why. If it works then trace the exit menu that is just simple and readable file where you can get the command that is executed for switching off the computer. May be something changed it to lets say 'systemd poweroff' that is absent who knows?

Anyway there is PPM (puppy package manager) that you can run from a terminal to remove packages previously installed.


Re: Shutdown and reboot menu items stopped working

Posted: Fri Apr 16, 2021 3:46 am
by williams2

Just when I thought everything was the way I want it

If you are using a different window manager, not JWM,
and if your window manager starts from an executable like a script or a session file, that is not the WM executable,
then it can behave exactly like that.

If that is the problem, you can fix it easily by editing the file /usr/bin/wmexit
and change the line near the bottom of the file like this:

Code: Select all

for i in xfce4-panel lxsession lxqt-session `cat /etc/windowmanager` jwm icewm openbox

and change it to this:

Code: Select all

for i in xfce4-panel lxsession lxqt-session `cat /etc/windowmanager` jwm icewm openbox X Xorg

That is, add " X Xorg" to the end of the line.
It does the same thing as pressing ctrl+alt+backspace

This is fixed in FossaPup.