Computer Goes to sleep 10 minutes of inactivity after upgrading to kde 4.13.3, locks my compute up (Screen Energy Setting)

Clay Weber clay at claydoh.com
Sat Nov 22 21:18:55 UTC 2014


On Saturday, November 22, 2014 04:01:31 PM James R McKenzie wrote:
> >Date: Sat, 22 Nov 2014 01:47:50 -0500
> >From: Clay Weber <clay at claydoh.com>
> >To: kubuntu-users at lists.ubuntu.com
> >Subject: Re: Computer Goes to sleep 10 minutes of inactivity after
> >
> >	upgrading to kde 4.13.3, locks my compute up (Screen Energy Setting)
> >
> >Message-ID: <5359401.Z9Kz5pXPEK at gus-latitude-d830>
> >Content-Type: text/plain; charset="us-ascii"
> >
>   >On Friday, November 21, 2014 06:49:09 PM James R McKenzie wrote:
>   > If I change the setting in the Control Panel - Power Management Settings
>   > and save the changes they automatically switch back immediately. Is
>   > there an internal settings file I can alter to stop this? When the
>   > computer falls a sleep it locks up and believe it or not I have to
>   > unplug it for 30 minutes to clear it other wise during the start up
>   > process the computer just simply shuts it self off right about where it
>   > starts looking at the point it starts polling for external hard drives.
>   > If I unplug it for 30 minutes and then plug it back in and then restart
>   > it everything is fine until the screen goes to sleep again.
>   > 
>   > Please someone tell if there is a setting in a file somewhere to stop
>   > this
>   > from happening? If so which file, where is it, and what setting and what
>   > do
>   > I change it to?
>   > 
>   > Google was totally useless on this BTW.
>   > 
>   > Any Ideas?
> >
> >/home/<username>/.config/powermanagementprofilesrc is the correct file,
> >iirc
> >
> >As it keeps getting reverted back to its original settings, it sounds like
> >the config file may have had it's ownership changed.  One way this can
> >happen is by running gui config tools (such as System Settings) or other
> >graphical programs,  using sudo.
> >
> >If you right-click on the file, and look at the permissions, ownership
> >should be set to your user for both  User and Group sections. If it is not
> >set correctly, you can either delete the file (it will be recreated at
> >next login), or change the ownership of it.
> 
> I looked and could find no such file while running "sudo dolphin" could it
^^^^^ Running a gui program with sudo is the problem here. You need to use 
'kdesudo' in place of it when necessary. The file probably lives somewhere in 
your ~/.kde folder instead.

Fixing any ownership changes is pretty simple. The following command will go 
through every file in your home folder and change all files back to the 
correct ownerships:

$ sudo chown -R <insert-username>.<insert-username> /home/<insert-username>

> be somewhere else or could the setting be in another file with KDE 4.13.3?
> Do I need to access the file in a different way in order to see it? I love
> hidden Gremlins. They always seem to crop up at the darnedest times.
> 
> Once again any ideas?
You should seldom need to open any graphical program with admin privileges, 
most will prompt for a password if it is necessary - System Settings is like 
this. Dolphin and Kate are two exceptions here. Use 'kdesduo' in place of 
'sudo here. Sudo is for command-line programs .

-- 
Clay Weber
https://kubuntuforums.net
http://kubuntu.org
http://claydoh.com




More information about the kubuntu-users mailing list