LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 01-15-2024, 06:36 AM   #1
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,549

Rep: Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313
KDE - Disabling suspend from command line - anybody know how?


Hi

Does anybody know how to disable 'Suspend action' within KDE's config, using the KDE command line tools?

In the Install guide, the section 'Disable KDE Suspend action' describes the requirement:

If you scroll up a few lines, you'll find the heading 'KDE fixups', where we call 'kwriteconfig5' to disable Compositing: this works, so kwriteconfig5 works properly at least.

I've tried using this but it doesn't work.
Code:
kwriteconfig5 --file kdeglobals --group PowerDevil --key UseSuspend false
Any ideas?

Thanks
s.
 
Old 01-17-2024, 03:37 AM   #2
giomat
Member
 
Registered: Jul 2017
Posts: 339

Rep: Reputation: 239Reputation: 239Reputation: 239
Quote:
Originally Posted by drmozes View Post
Hi

Does anybody know how to disable 'Suspend action' within KDE's config, using the KDE command line tools?

In the Install guide, the section 'Disable KDE Suspend action' describes the requirement:

If you scroll up a few lines, you'll find the heading 'KDE fixups', where we call 'kwriteconfig5' to disable Compositing: this works, so kwriteconfig5 works properly at least.

I've tried using this but it doesn't work.
Code:
kwriteconfig5 --file kdeglobals --group PowerDevil --key UseSuspend false
Any ideas?

Thanks
s.
My fedora at work has kde plasma 5.27.4. When I select or deselect the option to suspend session automatically (has shown in the docs screenshot), the config file "powermanagementprofilesrc" is modified, specifically the group [AC][SuspendSession].
I was able to disable the suspend session using the following kwriteconfig commands

Code:
kwriteconfig5 --file powermanagementprofilesrc --group AC --group SuspendSession --key idleTime --delete
kwriteconfig5 --file powermanagementprofilesrc --group AC --group SuspendSession --key suspendThenHibernate --delete
kwriteconfig5 --file powermanagementprofilesrc --group AC --group SuspendSession --key suspendType --delete
 
Old 01-17-2024, 03:57 AM   #3
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,549

Original Poster
Rep: Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313
Quote:
Originally Posted by giomat View Post

Code:
kwriteconfig5 --file powermanagementprofilesrc --group AC --group SuspendSession --key idleTime --delete
kwriteconfig5 --file powermanagementprofilesrc --group AC --group SuspendSession --key suspendThenHibernate --delete
kwriteconfig5 --file powermanagementprofilesrc --group AC --group SuspendSession --key suspendType --delete
That works perfectly, and I've updated the Install guides. Thank you!!
 
Old 01-17-2024, 06:45 AM   #4
giomat
Member
 
Registered: Jul 2017
Posts: 339

Rep: Reputation: 239Reputation: 239Reputation: 239
Happy to help, thanks for all the work
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Does anybody/has anybody used Samhain.. a HIDS similar to Tripwire helptonewbie Linux - Security 4 09-12-2008 12:43 PM
grab the line below a blank line and the line above the next blank line awk or perl? Pantomime Linux - General 7 06-26-2008 08:13 AM
Does anybody know a command line wav player that doesn't display anything? Valkyrie_of_valhalla General 16 05-30-2007 04:30 PM
anybody know where I can find KDE 3.5.x RPM's? mrapathy Fedora 18 12-20-2005 09:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 02:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration