DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a really old laptop thats survived a spill .. .well ... kinda survived. If the adapter gets disconnected, my laptop shuts down automatically. The battery barely stays on for a few minutes.
I had a few windows open last time my laptop shutdown abruptly- ktorrent, iceweasel, terminal and some documents. And for some reason those startup every time I startup! Its definitely not specific to the programs, I just listed them anyways.
Other than getting rid of this annoyance, and prevent personal documents open up for anyone else who happens to start my computer, it would help a lot to figure out how this works. There would be a bunch of other things I would want to start when my computer boots up.
So far I've tried to grep in /etc/init.d, because I read somewhere thats where the startup scripts are
cd /etc/init.d
more * | grep -i iceweasel
... did the same for ktorrent and found nothing
In future, please tell us your desktop-manager and distro.
I am guessing you are running KDE.
A solution:
Open a terminal. Type kcontrol Press <RETURN>
Kcontrol opens.
KDE Components -> Session Manager
Set "On login" to "Start with an empty session"
Click "Apply"
Logout, login again
Better?
There are other options (Eg "Start with previously saved session") that I'll leave you to experiment with (useful if you do want some applications to start when you login).
For KDE check the radio button: kcontrol -> KDE Components -> Session Manager -> Start with an empty session.
For Gnome, look around for something similar.
which consists of 3 tabs - 'Session options', 'current session', 'startup programs'. Under 'session options', there is a button 'save the current session'. I just closed all the unwanted programs and saved the current session.
I could not find current session or startup programs having any mention of ktorrent or iceweasel.
Last edited by biharibong; 01-08-2009 at 05:40 PM.
Reason: found solution
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.