You are not logged in.

#1 2006-02-13 21:43:51

o2bfishn
Member
Registered: 2005-12-22
Posts: 53

RESOLVED: how to load a progam at startup

i installed numlockx and can get it to turn the numlock on from the command line, but what file do i add it to so that it will start when i log in? im using kde

Offline

#2 2006-02-13 22:00:28

mac57
Member
From: St. Somewhere
Registered: 2006-01-06
Posts: 302
Website

Re: RESOLVED: how to load a progam at startup

For KDE, simply place a command in ~/Desktop/Autostart. This will work for XFCE4 as well. For KDE, I believe that it has to be a .desktop file, which means drag a shortcut to the application onto the desktop, and then from there into ~/Desktop/Autostart.


Cast off the Microsoft shackles Jan 2005

Offline

#3 2006-02-13 22:13:27

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: RESOLVED: how to load a progam at startup

In the case of <code>numlockx</code> you don't even have to do that.  I found it easier just to include the command in my <code>~/.xinitrc</code> file, before I load my window manager.  It's probably a good idea to background it, which would give you something like this:

numlockx &
exec startxfce4

Obviously you'll have to change it for KDE, but you get the idea.  For loading other programs once you're in the desktop environment, then I'd go the <code>~/Desktop/Autostart/</code> route (which is what I do to load programs like adesklets).

Offline

#4 2006-02-13 22:18:02

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: RESOLVED: how to load a progam at startup

or for kde from konqueror

click on go autostart then rightclick add link to applictaion

Offline

#5 2006-02-13 22:18:14

sessy
Member
Registered: 2006-01-20
Posts: 104

Re: RESOLVED: how to load a progam at startup

o2bfishn wrote:

i installed numlockx and can get it to turn the numlock on from the command line, but what file do i add it to so that it will start when i log in? im using kde

You can simply put a link from the application to ~/Desktop/Autostart.
Something like

ln -s /usr/bin/numlockx /home/YOU/Desktop/Autostart

Offline

#6 2006-02-13 22:37:07

o2bfishn
Member
Registered: 2005-12-22
Posts: 53

Re: RESOLVED: how to load a progam at startup

mpie wrote:

or for kde from konqueror

click on go autostart then rightclick add link to applictaion

that did it! thanks all!

Offline

Board footer

Powered by FluxBB