LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   .Xsession .xinitrc (https://www.linuxquestions.org/questions/linux-newbie-8/xsession-xinitrc-264943/)

a10392 12-10-2004 01:21 PM

.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

:confused:

MM

darkleaf 12-10-2004 01:57 PM

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.

Tinkster 12-10-2004 02:34 PM

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


All times are GMT -5. The time now is 12:06 AM.