Page 1 of 1

Press 'Power off' in the system menu, nothing happens

Posted: Mon 09 Sep 2013, 13:29
by illidan.modeler
All the items under the 'Shutdown' menu group are of no effect no. I click the item, such as 'power off', 'restart', nothing happens.

What can I do to fix it?

Re: Press 'Power off' in the system menu, nothing happens

Posted: Mon 09 Sep 2013, 14:10
by L18L
illidan.modeler wrote:All the items under the 'Shutdown' menu group are of no effect no. I click the item, such as 'power off', 'restart', nothing happens.

What can I do to fix it?
What happens if you type

Code: Select all

wmpoweroff
into a console and press ENTER key?

Re: Press 'Power off' in the system menu, nothing happens

Posted: Tue 10 Sep 2013, 05:54
by illidan.modeler
L18L wrote:
illidan.modeler wrote:All the items under the 'Shutdown' menu group are of no effect no. I click the item, such as 'power off', 'restart', nothing happens.

What can I do to fix it?
What happens if you type

Code: Select all

wmpoweroff
into a console and press ENTER key?
I surfed the Web and got to know the command. However, when I issued the command 'wmpoweroff', the system prompted with 'kill ...' which seemed like the mannual for command kill.

Maybe something has gone wrong deeply in my file tree...

Re: Press 'Power off' in the system menu, nothing happens

Posted: Tue 10 Sep 2013, 11:53
by L18L
illidan.modeler wrote:... However, when I issued the command 'wmpoweroff', the system prompted with 'kill ...'....
Anythig else :?:

Re: Press 'Power off' in the system menu, nothing happens

Posted: Tue 10 Sep 2013, 15:16
by illidan.modeler
L18L wrote:
illidan.modeler wrote:... However, when I issued the command 'wmpoweroff', the system prompted with 'kill ...'....
Anythig else :?:
After the console replied 'kill' help, nothing else was provided.

I'm now able to repeat the problem. When I issue 'exit to Prompt' menu command, and issue 'xwin fvwm95' since I try to see fvwm of Puppy, all the items under menu group 'Shutdown' will all become ineffective.

I have to recover my save.sfs to resume my correct and normal past, discarding recent edits and saves.

I dare not to try 'xwin fvwm' again this time.

Posted: Tue 10 Sep 2013, 15:23
by Karl Godt
fvwm is a window manager . Apparently it is not installed on your system .

Code: Select all

xwin jwm
is the standard windowmanager .

The shutdown scripts try to kill the entry in /etc/windowmanager .

xwin script should be updated to check for

Code: Select all

[ "$1" ] && { 
which "$1" || {
echo "$1 windowmanger not installed.Exiting."
exit
} ; }

Re: Press 'Power off' in the system menu, nothing happens

Posted: Tue 10 Sep 2013, 17:21
by L18L
illidan.modeler wrote:...I dare not to try 'xwin fvwm' again this time.
and bigpup always wrote:_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
:wink:

Posted: Wed 11 Sep 2013, 13:53
by illidan.modeler
Karl Godt wrote:fvwm is a window manager . Apparently it is not installed on your system .

Code: Select all

xwin jwm
is the standard windowmanager .

The shutdown scripts try to kill the entry in /etc/windowmanager .

xwin script should be updated to check for

Code: Select all

[ "$1" ] && { 
which "$1" || {
echo "$1 windowmanger not installed.Exiting."
exit
} ; }
It's a standard out-of-the-box Slacko 5.6. And I don't know if fvwm is intalled by default. I just read the commets in prompt mode (or run level 3?) that I may run 'xwin fvwm' or 'xwin jvw'. I tried 'xwin fvwm' and it turned my systems abnormal, though I haven't figure out which scripts it has modified.

Posted: Wed 11 Sep 2013, 19:13
by bigpup
The window manager that is installed in Slacko 5.6 out of the box is:
"Joe's Window Manager"
JWM

If you want to use another window manager you need to install one.
I just read the commets in prompt mode (or run level 3?) that I may run 'xwin fvwm' or 'xwin jvw'.
Not sure where you are seeing this info, could be examples, but the only one that will work is:

Code: Select all

xwin jwm

Posted: Thu 12 Sep 2013, 04:28
by illidan.modeler
bigpup wrote:The window manager that is installed in Slacko 5.6 out of the box is:
"Joe's Window Manager"
JWM

If you want to use another window manager you need to install one.
I just read the commets in prompt mode (or run level 3?) that I may run 'xwin fvwm' or 'xwin jvw'.
Not sure where you are seeing this info, could be examples, but the only one that will work is:

Code: Select all

xwin jwm
There's a menu command 'exit to Prompt' under menu group 'Shutdown' (when I examine the config file, this menu item links to command 'wmexit'). When press this menu item, your Puppy will turn to a no-xwin stage where you'll see the message I mentioned.

Posted: Thu 12 Sep 2013, 20:10
by bigpup
OK. I see what you are talking about.
This is a typical Linux info statement that usually tells you too much and gives some examples of what you may be able to input in a command.

That xwin [fvwm95|jwm]
is an example of how to use the xwin command.

fvwm95 is a windows manager, but it is not installed on Slacko 5.6.
Not sure why it would even do anything to enter it as a xwin command.
Just so happens that fvwm95 will sort of work, but not fully, as you have found out.

The one thing I never liked about information statements for Linux commands.
They tell you how it works, but you still need to know what the correct input is to use.

If you had other window managers installed, you would use their name after the xwin command.

Again, Slacko5.6 only has jwm, for a window manager, out of the box

Posted: Fri 13 Sep 2013, 11:17
by L18L
illidan.modeler wrote:...There's a menu command 'exit to Prompt' under menu group 'Shutdown' (when I examine the config file, this menu item links to command 'wmexit'). When press this menu item, your Puppy will turn to a no-xwin stage where you'll see the message I mentioned.
Yes, it is /usr/bin/xwin: 8)

Code: Select all

#unicode_start #i18n rodin.s for unicode start after exit from X. ??????what is this??????
#120224 ...console font is loaded in quicksetup if locale changed.
echo ''$(gettext 'Exited from X. Type "xwin [fvwm95|jwm]" to restart X ([ ] mean optional).')''
echo ''$(gettext '(To shutdown PC type "poweroff", to reboot PC type "reboot")')''
Thus this text created by BarryK really should be updated to something that works
Maybe:
Exited from X. Type "xwin [jwm|openbox]" to restart X ([ ] mean optional, openbox only valid if it is installed)
?
and Karl's suggestion implemented additionally.

Posted: Fri 13 Sep 2013, 12:00
by Karl Godt
Yeah , have suggested that to runtt21 for macpup550 and he implemented it ( [enlightenment_start|jwm] ).

Probably needs /etc/installed_wms file like /etc/ld.so.conf :)
And an updater script for that file :D