AussieJohn Posted February 8, 2016 Report Share Posted February 8, 2016 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) :-) Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted February 10, 2016 Report Share Posted February 10, 2016 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. Quote Link to comment Share on other sites More sharing options...
AussieJohn Posted February 10, 2016 Author Report Share Posted February 10, 2016 (edited) 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 February 10, 2016 by AussieJohn Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted February 10, 2016 Report Share Posted February 10, 2016 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. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted February 10, 2016 Report Share Posted February 10, 2016 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. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted February 10, 2016 Report Share Posted February 10, 2016 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? Quote Link to comment Share on other sites More sharing options...
AussieJohn Posted February 11, 2016 Author Report Share Posted February 11, 2016 Thanks Ian. Yes using Mageia-5 64 Kde4. Special thanks for taking the time. Cheers. John. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted February 11, 2016 Report Share Posted February 11, 2016 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. Quote Link to comment Share on other sites More sharing options...
AussieJohn Posted February 12, 2016 Author Report Share Posted February 12, 2016 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 Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted February 12, 2016 Report Share Posted February 12, 2016 I expect that to be a KDE setting somewhere if it's possible to decrease it. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted February 12, 2016 Report Share Posted February 12, 2016 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] Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted February 12, 2016 Report Share Posted February 12, 2016 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. Quote Link to comment Share on other sites More sharing options...
AussieJohn Posted February 12, 2016 Author Report Share Posted February 12, 2016 Thank you Ian. Cheers. John. Quote Link to comment Share on other sites More sharing options...
Guest antonio Posted January 24, 2017 Report Share Posted January 24, 2017 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.