LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 05-17-2010, 02:42 PM   #1
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 403

Rep: Reputation: 51
How to make Xorg not reset settings on resume?


I have configured Xorg keyboard:
Code:
xset r rate 200 50
After i suspend & then resume, this setting is reset, and Ctrl+Alt+Backspace which is set up in Xorg like this:
Code:
Option "DontZap" "false"
also doesn't work. I'm not using any DE like KDE or GNOME, so using settings daemon is undesired.

How can i fix this problem? Maybe it's a bug and i should report it?
 
Old 05-20-2010, 03:59 PM   #2
LinuxWeather
LQ Newbie
 
Registered: May 2010
Location: Washington, DC
Distribution: Fedora & RHEL
Posts: 2

Rep: Reputation: 0
You can work around this by putting an override hook in /etc/pm/sleep.d named something like 99xset and similar to

#!/bin/sh
DISPLAY=":0"
case "$1" in
thaw|resume)
xset r rate 200 50
;;
esac

this will override anything set in /usr for the pm-utils package and may work - not sure if it's a bug or as designed you can try to search bugzilla or your distros bug reporting engine.
 
  


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
reset network settings sekola Linux - Newbie 2 05-03-2009 07:50 AM
How to reset X Window settings? QueenZ Linux - Newbie 3 03-14-2009 07:03 PM
How to reset monitor settings to default autodetected settings in openSUSE? chengas123 Linux - General 2 09-17-2008 11:24 AM
Nvidia settings get reset tombiz Ubuntu 1 12-30-2007 08:01 PM
Settings reset? TheGeneralsLounge Linux - Newbie 5 04-06-2007 07:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 07:30 AM.

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