Re: Skype startup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Monday 17 January 2011 01:12:55 Patrick O'Callaghan wrote:
> On Sun, 2011-01-16 at 23:22 +0000, Timothy Murphy wrote:
> > > On 01/16/2011 10:45 AM, Timothy Murphy wrote:
> > >> Skype works fine under Fedora-14/KDE on my Thinkpad T43,
> > >> but it starts automatically when I boot and logon.
> > >> I'd rather start it myself when I want to.
> > 
> > There is nothing in ~/.kde/Autostart/ (this directory is empty),
> > but I see an entry
> > 
> > 	restartCommand6=/usr/bin/skype,
> > 
> > in ~/.kde/share/config/ksmserverrc .
> > I guess this must cause skype to start on login.
> > 
> > "rpm -qf" says this file is not owned by any package.
> > But I see on googling that ksmserver is "KDE's session manager".
> > However, I don't see how entries get into this file.
> > The references I find by googling all refer to files
> > that do not exist on my system.
> I'm guessing here, but it seems likely that the file is placed there by
> Skype itself. IIRC Skype has a preference option to start automatically
> when logging it, so maybe that's how it works. I don't have Skype on
> Linux so I can't confirm this.

I am guessing also, but my guess is that the ksmserverrc file gets created by 
ksmserver, ie. the session manager, on the first login of the user into KDE 
(that's why it doesn't belong to any .rpm package). Then, on every logout, the 
ksmserver checks for any still-running applications, and adds them into this 
file, creating a list of apps to be restarted on next login. That's how I 
understand the concept of a "session".

So, subject to the ksmserver configuration (it can be found in systemsettings, 
look at my other post to this thread), by default the list of entries to that 
file gets automatically generated on each logout, by ksmserver, and is used to 
restart all those apps again after the next login.

As for skype, it does not have an option to start automatically when logging 
in, but rather the option to login automatically when started. :-) That is, 
when skype gets started, it can try automatically to initiate a connection to 
the skype server, logging in the user into the skype server. This has nothing 
to do with logging into KDE, which is done *before* skype starts.

I'm using skype under KDE on a daily basis, and I tend to use both the option 
of skype autostarting when I log in KDE (courtesy of ksmserver), and the 
option of skype autologin when started (courtesy of skype). In addition, I use 
the option of autologging myself into KDE when the system boots (courtesy of 
KDM), as I am the only user on this machine. And I set up everything to 
remember appropriate passwords, so that the system doesn't prompt me with all 
sorts of passwords and such.

So I just flip a switch to turn on the machine, go make a cup of coffee, and 
return into a fully functional/connected/logged-in/activated system that has 
already started checking my e-mail, downloading torrents, opening the weather 
forecast page in firefox, etc.

And the only thing I need to do to maintain such a setup is to *not* close any 
apps when doing a shutdown. The session manager will remember that they were 
active at the logout moment (before sending them the kill signal), and will 
reactivate them again after the login, in order to continue the same 

Very convenient thing, if you ask me. ;-)

HTH, :-)

users mailing list
[email protected]
To unsubscribe or change subscription options:

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux