Re: Re: xset command setting not sticking

2010-09-13 Thread Bob Proulx
Clive Standbridge wrote: > > #~/bin/bash > > Unnecessary. That depends. In many cases it is necessary. (But note that it is "#!" not "#~". Plus #!/bin/bash --login is my recommendation.) > > exec gnome-session > > That should be the only active line in .xsession > > > 3. chmod +x .xsession

Re: Re: xset command setting not sticking

2010-09-09 Thread Clive Standbridge
You should be able to make this work for any session selected in gdm (or other display manager), and for sessions started with startx. > OK after doing some more research I found the answer. > > 1. nano .xsession > > 2. Add contents: > #~/bin/bash Unnecessary. > xset s off -dpms & Move that

Re: xset command setting not sticking

2010-09-09 Thread Tech Geek
OK after doing some more research I found the answer. 1. nano .xsession 2. Add contents: #~/bin/bash xset s off -dpms & exec gnome-session 3. chmod +x .xsession 4. Make sure the session "Xclient" is selected in GDM. That's it!

Re: xset command setting not sticking

2010-09-09 Thread Tech Geek
>I'd put a zenity line in there ( zenity --info --text "Run from .xinitrc" ) >that will wait for you to press 'ok' I tried it. I do get the dialog box but after clicking "OK" I get the dialog saying: "Your last session only lasted for less than 10 seconds. If you have not logged out yourself, this

Re: xset command setting not sticking

2010-09-08 Thread Morgan Gangwere
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 8 Sep 2010 14:59:05 -0700 Tech Geek wrote: > >How is totem playing when .xinitrc is run? > Not quite sure what you mean. This is the sequence. > BIOS->Grub->System Boots->Systme Auto logs into GNOME->Totem Runs > automatically (through sessio

Re: xset command setting not sticking

2010-09-08 Thread Tech Geek
>How is totem playing when .xinitrc is run? Not quite sure what you mean. This is the sequence. BIOS->Grub->System Boots->Systme Auto logs into GNOME->Totem Runs automatically (through sessions->startup script) .xinitrc file resides in my home directory /home/user/.xinitrc.

Re: xset command setting not sticking

2010-09-08 Thread Timo Juhani Lindfors
Tech Geek writes: > The only other "active' program running is the totem player playing a .avi > file. No network/ethernet cable is attached to the system. How is totem playing when .xinitrc is run? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscrib

Re: xset command setting not sticking

2010-09-08 Thread Tech Geek
>Is xset the only X client when it is run? Xorg resets its state when >the last client connects... The only other "active' program running is the totem player playing a .avi file. No network/ethernet cable is attached to the system. Also I forgot to mention that I am auto-logging into GNOME but t

Re: xset command setting not sticking

2010-09-08 Thread Kevin Ross
On 09/08/2010 02:02 PM, Tech Geek wrote: Hi, I am using Debian Lenny on x86 machine. I need to make the following command permanent upon every boot: xset s off -dpms I am booting into GNOME with GDM. I have tried adding this to my /home/user/.xinitrc file: #!/bin/bash xset s off -dpms and made

Re: xset command setting not sticking

2010-09-08 Thread Timo Juhani Lindfors
Tech Geek writes: > I have tried adding this to my /home/user/.xinitrc file: > #!/bin/bash > xset s off -dpms > > and made it executable: > chmod +x .xinitrc > > but it is not able to retain the setting. Is xset the only X client when it is run? Xorg resets its state when the last client connects

xset command setting not sticking

2010-09-08 Thread Tech Geek
Hi, I am using Debian Lenny on x86 machine. I need to make the following command permanent upon every boot: xset s off -dpms I am booting into GNOME with GDM. I have tried adding this to my /home/user/.xinitrc file: #!/bin/bash xset s off -dpms and made it executable: chmod +x .xinitrc but it