Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-10-2004, 01:21 PM   #1
Registered: Sep 2004
Posts: 30

Rep: Reputation: 15
.Xsession .xinitrc


i'am trying to disable the screen saver with xset -dpms. To do this when i log in, i read that i need to add it to .xinitrc or .xsession file but :

1st - I dont have this files in my home dir
2nd - how can i know which one should i create and change.
3rd - what should be the content of this files, as i said my home dont have any of this files



Last edited by a10392; 12-10-2004 at 01:25 PM.
Old 12-10-2004, 01:57 PM   #2
Senior Member
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
If you don't have those files in your home directory your installation is using system-wide files for the configuration. You can find those in /etc/X11/

Copy them from there to your home directory. Then change the files not to include the screensaver.
Old 12-10-2004, 02:34 PM   #3
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,041
Blog Entries: 11

Rep: Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907
2: depends on how you start X ... using a graphical
login-manager or from a commandline.

As to what goes in it:
Have a look at Xsession in /etc/X11/xdm/Xsession
(or where ever it lives in your distro).



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
.xinitrc and .xsession ignored Whitman Debian 2 09-18-2005 12:11 PM
.xinitrc vs. .Xdefaults vs .Xsession frankie_DJ Linux - Newbie 4 08-02-2005 05:39 AM
Make KDM run .xinitrc or .xsession asrisk Linux - Newbie 7 08-01-2005 06:20 AM
.xinitrc/.xsession - Where are they? Fluxbox the_rydster Slackware 3 03-07-2004 01:45 PM
No .Xdefaults, .xsession, .xinitrc madchmst82 Linux - Newbie 3 09-23-2003 07:05 PM

All times are GMT -5. The time now is 04:02 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