LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 12-10-2004, 02:21 PM   #1
a10392
Member
 
Registered: Sep 2004
Posts: 30

Rep: Reputation: 15
.Xsession .xinitrc


hi,

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


thanx



MM

Last edited by a10392; 12-10-2004 at 02:25 PM.
 
Old 12-10-2004, 02:57 PM   #2
darkleaf
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, 03:34 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,999
Blog Entries: 11

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
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).


Cheers,
Tink
 
  


Reply


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


All times are GMT -5. The time now is 05:23 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration