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
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
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!
>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
-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
>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.
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
>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
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
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
10 matches
Mail list logo