Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 10-01-2007, 12:20 PM   #1
LQ Newbie
Registered: Oct 2006
Location: Brighton, UK
Posts: 18

Rep: Reputation: 0
Ubuntu Edgy where is the config file where xset variables can be set as permanent?

Quick question, can't find the answer via Google - I can change things like screensaver timeout / DPMS power-off timeouts etc. using xset.

Where is the file in which these can be specified as permanent variables? Otherwise I find myself re-entering the commands whenever X is restarted.

I was directed towards /etc/X11/xinit/xinitrc, but this just seems to call the /etc/X11/Xsession script, and I didn't want to amend this without double-checking...

I'm sure it's really obvious when you know the answer!
Old 10-01-2007, 01:04 PM   #2
Registered: Feb 2006
Distribution: Ubuntu 8.04; Debian Etch
Posts: 167

Rep: Reputation: 33
Well like most things in Ubuntu you usually have to use there GUI apps to get it done right. I would try System->Preference->Screensaver to set the screen saver timeout. Inside there is a button to launch power management or you can use System->Preferences->Power Management. I think these two apps should give you what you want.

Hope this works for you
Old 10-01-2007, 01:27 PM   #3
LQ Newbie
Registered: Oct 2006
Location: Brighton, UK
Posts: 18

Original Poster
Rep: Reputation: 0
Sorry - forgot to mention in the original post - I'm using Fluxbox. I was a bit rushed!

I can open the Gnome screensaver preferences with gnome-screensaver-preferences and disable that, but the screensaver & monitor power-off were still happening, and it turned out that these are all X variables that can all be displayed with xset q.

I would have thought there will be a global settings file somewhere, otherwise I'll be reduced to having a startup script along the lines of this:

xset s 1200 1200

And that just seems silly.


fluxbox, ubuntu

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
set variables to each line in a file xmrkite Linux - Software 2 11-15-2006 02:12 AM
set LD_ASSUME_KERNEL on ubuntu edgy vinhhv Ubuntu 0 11-05-2006 09:29 PM
file permissions unreadable - ubuntu edgy 6.10 pwrlftr220 Linux - Software 2 10-25-2006 05:48 AM
which config file to set: this name <=> this ip kloss Linux - Networking 2 04-23-2006 02:23 PM
Environmental variables... permanent fabianrios Fedora 2 10-20-2005 05:06 PM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:15 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
Open Source Consulting | Domain Registration