Shutdown and reboot menu items stopped working

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
oldguy_46ca
Posts: 7
Joined: Mon Apr 12, 2021 6:53 pm

Shutdown and reboot menu items stopped working

Post 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.

TerryH
Posts: 638
Joined: Mon Jun 15, 2020 2:08 am
Has thanked: 158 times
Been thanked: 161 times

Re: Shutdown and reboot menu items stopped working

Post by TerryH »

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

New Laptop - ASUS ZenBook Ryzen 7 5800H Vega 7 iGPU / 16 GB RAM

User avatar
takenp
Posts: 43
Joined: Tue Aug 25, 2020 10:38 am
Has thanked: 72 times
Been thanked: 13 times

Re: Shutdown and reboot menu items stopped working

Post 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.

=~=~=~=~
I'm running online-radio called Melodymaker
Listen it here https://radio.melodymaker.org

williams2
Posts: 1062
Joined: Sat Jul 25, 2020 5:45 pm
Been thanked: 305 times

Re: Shutdown and reboot menu items stopped working

Post 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.

Post Reply

Return to “Users”