autostart applications

Hi all!On my laptop happens this thing:at every boot, after gdm login, autostart openoffice2 (writer) and a shell.All in the 3rd Desktop (not in the first one, that is the one user see by default after login).
Can anyone helps me to understand where some kind of login scripts are stored?Thanks!

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

autostart applications

On Thu, 2007-02-22 at 16:19 +0100, Mirco Piccin wrote:
> Hi all!
>
> On my laptop happens this thing:
> at every boot, after gdm login, autostart openoffice2 (writer) and a
> shell.
> All in the 3rd Desktop (not in the first one, that is the one user see
> by default after login).
>
> Can anyone helps me to understand where some kind of login scripts are
> stored?

What Desktop are you using? GNOME? KDE? XFCE? FVWM? ICEWM?

GDM can start any Desktop environment.

They aren't login scripts... session managers. You can use your personal
xinit stuff as well. But until we understand more about your question
and environment... it'll be hard to help you.
--
greg,

Novell's Directory Services is a competitive product to Microsoft's
Active Directory in much the same way that the Saturn V is a competitive
product to those dinky little model rockets that kids light off down at
the playfield. -- Thane Walkup

--

autostart applications

Hi again!On 2/22/07, Greg Folkert <greg@gregfolkert.net> wrote:
> at every boot, after gdm login, autostart openoffice2 (writer) and a> shell.What Desktop are you using? GNOME? KDE? XFCE? FVWM? ICEWM?ooops, i forget an important information, of course!
I'm using Gnome2 as Window Manager.

autostart applications

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mirco Piccin wrote:
> Hi all!
>
> On my laptop happens this thing:
> at every boot, after gdm login, autostart openoffice2 (writer) and a shell.
> All in the 3rd Desktop (not in the first one, that is the one user see by
> default after login).
>
> Can anyone helps me to understand where some kind of login scripts are
> stored?
>
> Thanks!
>

It is possible that you have your Desktop Environment to save the
session, so that next time you boot it starts with the same programs
open. Perhaps that is what is happening. Try closing the programs and
then log out and back in again and see what happens.

Joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF3b8JiXBCVWpc5J4RAiMeAKC7ivfOTSMUrSpUXTnj7WSdwWtjsQCcC7cl
vb5xVb+LWo20DzWXSgVK/iU=
=B/9s
-----END PGP SIGNATURE-----

--

autostart applications

Hi!On 2/22/07, Joe Hart <j.hart@orange.nl> wrote:
-It is possible that you have your Desktop Environment to save thesession, so that next time you boot it starts with the same programsopen.  Perhaps that is what is happening.  Try closing the programs and
then log out and back in again and see what happens.JoeBelieve me, it's not happened only this morning :-) Every day, when i turn on my laptop, it happens, and every day i close openoffice2 (writer) apps and move shell from 3rd  Desktop to 1st desktop.
Every evening i like to close all the applications i have used during the day, and i do it.Again, usually i use graphical applications (like openoffice, or mozilla) only on 1st and 2nd desktop, and shells on 3rd and eventually 4th desktop.
Thanks!

autostart applications

On Thu, Feb 22, 2007 at 05:14:57PM +0100, Mirco Piccin wrote:
> Hi!
>
> On 2/22/07, Joe Hart wrote:
> >
> >-
> >It is possible that you have your Desktop Environment to save the
> >session, so that next time you boot it starts with the same programs
> >open. Perhaps that is what is happening. Try closing the programs and
> >then log out and back in again and see what happens.
> >
> >Joe
> >
>
>
> Believe me, it's not happened only this morning :-)
>
> Every day, when i turn on my laptop, it happens, and every day i close
> openoffice2 (writer) apps and move shell from 3rd Desktop to 1st desktop.
> Every evening i like to close all the applications i have used during the
> day, and i do it.
>
> Again, usually i use graphical applications (like openoffice, or mozilla)
> only on 1st and 2nd desktop, and shells on 3rd and eventually 4th desktop.

in gnome desktop preferences is a program called "session". Look
in there for the solution to your problem.

A

autostart applications

Hi!On 2/22/07, Andrew Sackville-West <andrew@farwestbilliards.com> wrote:
in gnome desktop preferences is a program called "session". Lookin there for the solution to your problem.Eh eh, i've already seen there...There isn't nothing about openoffice2...problem source is not there.
Thanks anyway, Andrew!

autostart applications

On Thu, 2007-02-22 at 17:28 +0100, Mirco Piccin wrote:
> Hi!
>
> On 2/22/07, Andrew Sackville-West wrote:
>
> in gnome desktop preferences is a program called "session".
> Look
> in there for the solution to your problem.
>
>
> Eh eh, i've already seen there...
> There isn't nothing about openoffice2...problem source is not there.

You have to ADD openoffice writer to the "auto-start" section.

add the gnome-terminal with the proper switches to open where you want
it to "auto-start"

Add the other stuff.

It is really rather simple. There should be some items in the autostart
already.

since I no-longer run GNOME, its a bit difficult for me to actually
step-by-step you right this moment.
--
greg,

Novell's Directory Services is a competitive product to Microsoft's
Active Directory in much the same way that the Saturn V is a competitive
product to those dinky little model rockets that kids light off down at
the playfield. -- Thane Walkup

--

autostart applications

Hi.You have to ADD openoffice writer to the "auto-start" section.
add the gnome-terminal with the proper switches to open where you wantit to "auto-start"I say that openoffice2 and shell  automatic start, and that i DON'T want it....Probably there was a misunderstanding :-)
I would like to DISABLE the automatic start of openoffice and shell in 3rd desktop at every boot!

autostart applications

On Thu, 2007-02-22 at 17:43 +0100, Mirco Piccin wrote:
> Hi.
>
> You have to ADD openoffice writer to the "auto-start" section.
>
> add the gnome-terminal with the proper switches to open where
> you want
> it to "auto-start"
>
>
> I say that openoffice2 and shell automatic start, and that i DON'T
> want it....
> Probably there was a misunderstanding :-)
>
> I would like to DISABLE the automatic start of openoffice and shell in
> 3rd desktop at every boot!

Okay, now you've finally explained your issue.

goto the session manager again, find the "ask on logout" or similar
check box. Enable it. Close the dialog.

Then CLOSE EVERYTHING you do not want to auto-open next time.

Do a proper logout from the menu. Enable the "save settings" or what
ever it is called. Logout...

Wait for X to restart proper, log back in. You should notice it should
be fixed.

Then goto the session manager again, uncheck "ask on logout" again.

All, is good.
--
greg,

Novell's Directory Services is a competitive product to Microsoft's
Active Directory in much the same way that the Saturn V is a competitive
product to those dinky little model rockets that kids light off down at
the playfield. -- Thane Walkup

--

autostart applications

On Thu, Feb 22, 2007 at 05:28:38PM +0100, Mirco Piccin wrote:
> Hi!
>
> On 2/22/07, Andrew Sackville-West wrote:
> >
> >
> >in gnome desktop preferences is a program called "session". Look
> >in there for the solution to your problem.
> >
>
>
> Eh eh, i've already seen there...
> There isn't nothing about openoffice2...problem source is not there.
>

yes, i believe it is. you have to automatically save changes to
session so that you get a saved session without the terminal and oo.o.

A

autostart applications

Hi all! >yes, i believe it is. you have to automatically save changes to
>session so that you get a saved session without the terminal and oo.o.
That's the right way!
>goto the session manager again, find the "ask on logout" or similar>check box. Enable it. Close the dialog.>Then CLOSE EVERYTHING you do not want to auto-open next time.>Do a proper logout from the menu. Enable the "save settings" or what
>ever it is called. Logout...>Then goto the session manager again, uncheck "ask on logout" again.In gnome2 this feature is called "Automatically save changes to session".The way you explain works perfectly.
You know in which files gnome2 write/backup those confgurations?Thanks again!

autostart applications

On Thu, 2007-02-22 at 19:28 +0100, Mirco Piccin wrote:
> Hi all!
>
> >yes, i believe it is. you have to automatically save changes to
> >session so that you get a saved session without the terminal and
> oo.o.
>
> That's the right way!
>
>
> >goto the session manager again, find the "ask on logout" or similar
> >check box. Enable it. Close the dialog.
> >Then CLOSE EVERYTHING you do not want to auto-open next time.
> >Do a proper logout from the menu. Enable the "save settings" or what
> >ever it is called. Logout...
> >Then goto the session manager again, uncheck "ask on logout" again.
>
> In gnome2 this feature is called "Automatically save changes to
> session".
> The way you explain works perfectly.
>
> You know in which files gnome2 write/backup those confgurations?

Yes, its a binary file in one of the $HOMEDIR/.gnome
directories. Unless you completely understand how to edit it... it will
possibly make you unable to login. Best just use the features already
given to you to modify it.
--
greg,

Novell's Directory Services is a competitive product to Microsoft's
Active Directory in much the same way that the Saturn V is a competitive
product to those dinky little model rockets that kids light off down at
the playfield. -- Thane Walkup

--

autostart applications

> Yes, its a binary file in one of the $HOMEDIR/.gnome
> directories. Unless you completely understand how to edit it... it will
> possibly make you unable to login. Best just use the features already
> given to you to modify it.

Maybe you have permissions wrong for some files. Like, you launched
something by root, file got owner root, and now it can't be written on
logout.

try in console

chown -R user ~

where "user" is your username

Regards,
Atis

--

autostart applications

On Thu, 2007-02-22 at 22:11 +0200, Atis wrote:
> > Yes, its a binary file in one of the $HOMEDIR/.gnome
> > directories. Unless you completely understand how to edit it... it will
> > possibly make you unable to login. Best just use the features already
> > given to you to modify it.
>
> Maybe you have permissions wrong for some files. Like, you launched
> something by root, file got owner root, and now it can't be written on
> logout.
>
> try in console
>
> chown -R user ~
>
> where "user" is your username

Atis... you misunderstand.

Now read what I write:

IF YOU EDIT THE SAVED-SESSION FILE, IT IS A BINARY BLOB. YOU
NEED COMPLETE UNDERSTANDING OF THE FILE FORMAT. IF YOU EDIT IT,
BE PREPARED FOR IT TO NOT WORK UPON NEXT LOGIN. YOU ARE BEST OFF
USING EXISTING TOOLS (BEING "SAVE SESSIONS SETTINGS" FROM TH
LOGOUT PROMPT) TO MAKE THE FILE PROPER.

Also, he had saved the session before and didn't understand why it kept
coming back with OpenOffice and a Gnome-terminal.

Once he, fully briefed us as to his problem, he was fully informed on
howto do the proper procedure, to fix his issue, it worked a charm.

I thank you for your effort.
--
greg,

Novell's Directory Services is a competitive product to Microsoft's
Active Directory in much the same way that the Saturn V is a competitive
product to those dinky little model rockets that kids light off down at
the playfield. -- Thane Walkup

--

autostart applications

On Thursday 22 February 2007 17:14, Mirco Piccin wrote:
> Hi!
>
> On 2/22/07, Joe Hart wrote:
> > -
> > It is possible that you have your Desktop Environment to save the
> > session, so that next time you boot it starts with the same programs
> > open. Perhaps that is what is happening. Try closing the programs and
> > then log out and back in again and see what happens.
> >
> > Joe
>
> Believe me, it's not happened only this morning :-)
>
> Every day, when i turn on my laptop, it happens, and every day i close
> openoffice2 (writer) apps and move shell from 3rd Desktop to 1st desktop.
> Every evening i like to close all the applications i have used during the
> day, and i do it.
>
> Again, usually i use graphical applications (like openoffice, or mozilla)
> only on 1st and 2nd desktop, and shells on 3rd and eventually 4th desktop.
>
>
> Thanks!

Perhaps, if you are using KDE, in the Control Center -> KDE
Componants ->Session Manager , you have :on loging start a manually saved
session, or something similar
Thierry

--

Syndicate content