Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-13-2019, 06:40 AM   #1
LQ Newbie
Registered: Jan 2017
Posts: 27

Rep: Reputation: Disabled
Restoring nvidia-settings after resuming from suspend


This has driven me to distraction.

I've made a systemd .service file to try to restore the nvidia-settings after resuming from suspend. The driver itself is loading fine, it's the brightness settings that I need from the settings file. I'm on the Ubuntu Cosmic Cuttlefish. The service file needs to run after Xorg has started following suspend. I'm not running it from the user dir but from /etc/systemd/system dir. Should this make any difference? Anyway the service file reads:




I've tried various permutations but no result so far. What am I doing wrong?


Old Yesterday, 06:34 AM   #2
LQ Newbie
Registered: Jan 2017
Posts: 27

Original Poster
Rep: Reputation: Disabled
Just to add an addition. The /home/nvidia-settings file is a script containing:


/usr/bin/nvidia-settings --load-config-only

The method recommended by Nvidia



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Screen remains off after resuming from suspend to ram after upgrading kernel. Arcosanti Slackware 6 11-12-2015 01:50 PM
Keyboard Doesn't Work After Resuming from Suspend to Ram beartooth91 Slackware 11 03-05-2009 01:18 PM
how to execute a command automatically after resuming from suspend to RAM? bjharker Linux - General 5 11-24-2008 08:00 AM
Nvidia driver not working properlly when resuming S3 suspend. redarrow Linux - Hardware 2 01-15-2007 09:08 AM
monitor does not turn on after resuming from suspend nappaji Puppy 2 08-24-2006 08:19 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:13 AM.

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