Jump to content

Shutdown time [solved]


AussieJohn
 Share

Recommended Posts

Hello everyone.

 

Currently when you right click on the desktop and select Leave and then Restart Computer it takes an agonising 30 seconds.

I would like to change it to 10 seconds which is more than a reasonable time for all practical purposes.

Where do I go into to change it. Prefer GUI if possible but not rigid on this.

 

Thanks in advance. John (now 81 years young) :-)

Link to comment
Share on other sites

Hi John,

 

A lot of this could be due to services on your system, as it's shutting them all down when you turn it off. We can alleviate the problem by disabling unnecessary services. However, I would need to know what services are enabled. Easier will be a console, because I can filter them.

 

So if you open a console and then do this:

 

su (enter root password when prompted)
chkconfig --list | grep :on

 

that will filter all services with the "on" parameter, that shows they are enabled. You can then copy and paste it into your reply. We could do it by screenshots, but it would be too many screenshots to get all the info, and it would show all services enabled and disabled.

 

I'm not using Mageia 5, so am assuming they are still using chkconfig to list services. If not, I'll create myself a Virtual Machine and then take a look for an alternative command to provide you.

Link to comment
Share on other sites

Thanks Ian for your response.

 

The time is not dictated by services having to be closed down, I am pretty sure because it is the same on all 3 of my Mageia computers

and shows in the countdown displayed on the pop up listing the choices for shutting down etc. If shut down is selected then the timer stops no longer operates and the procedure only then finally takes about 8 to10 seconds or so to complete.

It is when you select reboot that the full 30 seconds takes place. There is a config somewhere that is set at 30 seconds but I don't know where to look.

What ever file that popup is, is where I think the timer instruction is but I don't know where or what that file is.

I hope you see what I am getting at and hope to do.

Cheers. John

Edited by AussieJohn
Link to comment
Share on other sites

Yep, I think I know what you mean, although have no idea where to look. Let me make a default install of Mageia, and I'll see if I can then try and find the setting that you're talking about.

Link to comment
Share on other sites

For now, some additional info as I investigate:

 

https://forums.mageia.org/en/viewtopic.php?f=7&t=7923#p50327

 

That is just some arbitrary definition. If you have a slow harddisk, and some services running that need to be stopped beforehand, shutdown might take half a minute.

 

If I find anymore in the meantime, I'll try and help, otherwise, I'll be installing it to check it out and find a solution.

Link to comment
Share on other sites

John,

 

Not found anything right yet, just some bugs, but nothing hinting at a solution. So am downloading Mageia 5 and I'll make an install tomorrow. Please let me know what desktop did you install? KDE4? As per your signature?

Link to comment
Share on other sites

I've made a virtual machine. Now my question is. When I click an option to shutdown the machine, I'm given a dialog box if I want to then click the reboot or shutdown option. The dialog box has a timer of 30 seconds. Is this what you are referring to? That in case you don't click anything, it will wait 30 seconds, and then restart? Or do you mean that you click restart, the process takes too long to complete? (IE: not related to the timer/dialog box).

 

Please let me know.

Link to comment
Share on other sites

Thanks again Ian.

Yes to the final comment. When I select restart and do nothing else it runs the full 30second timer and I would like to cut it to about 10 seconds. There doesn't seem to be any real purpose to it being set at 30 seconds.

 

Cheers. John

Link to comment
Share on other sites

Doing a generic search gives this:

 

https://forum.kde.org/viewtopic.php?f=66&t=83273#p140480

 

the 30 seconds is hard-coded. So you can't change it. But what you can do is disable the confirmation box which is what is displayed for 30 seconds. So if you do that, it will then just shutdown or reboot instead of waiting for 30 seconds.

 

From the link above:

 

disable the confirmation in kde's systemsettings, under [advanced->sessionmanager]
Link to comment
Share on other sites

John,

 

See attached screenshots.

 

01.png - go to Tools, System Tools, System Settings.

02.png - scroll down for start/shutdown options and double-click.

03.png - disable the confirm logout option.

04.png - this is how the screen should look after you disabled the logout option. Click Apply.

 

now choose restart or shutdown or whichever you want, and you'll now find that it will do it immediately instead of waiting 30 seconds.

post-10327-0-01737500-1455306697_thumb.png

post-10327-0-31313000-1455306709_thumb.png

post-10327-0-16344400-1455306718_thumb.png

post-10327-0-11180300-1455306727_thumb.png

Link to comment
Share on other sites

  • 11 months later...
Guest antonio

John,

 

See attached screenshots.

 

01.png - go to Tools, System Tools, System Settings.

02.png - scroll down for start/shutdown options and double-click.

03.png - disable the confirm logout option.

04.png - this is how the screen should look after you disabled the logout option. Click Apply.

 

now choose restart or shutdown or whichever you want, and you'll now find that it will do it immediately instead of waiting 30 seconds.

 

 

 

great explanation thank you

i was looking for the same solution and i found it here

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...