jjocsak Posted October 19, 2008 Report Share Posted October 19, 2008 For the life of me I cannot figure out how to autostart programs. How do I do this? Jeff Quote Link to comment Share on other sites More sharing options...
daniewicz Posted October 19, 2008 Report Share Posted October 19, 2008 Well in KDE 3.5.9 there is a folder ~/.kde/Autostart/. Place scripts here for execution during startup. Does this folder exist in KDE 4.1? Quote Link to comment Share on other sites More sharing options...
jjocsak Posted October 20, 2008 Author Report Share Posted October 20, 2008 Yes there is a folder .kde4/autostart and also a folder /user/share/autostart. What scritpts are you talking about? Jeff Quote Link to comment Share on other sites More sharing options...
daniewicz Posted October 20, 2008 Report Share Posted October 20, 2008 Well you would need to write the scripts yourself. Here is an example of a script called Startup that I have in my ~/.kde/Autostart/ folder. This script runs the command "nvidia-settings --load-config-only" #!/bin/bash # # This is a bash shell script to be run at startup # nvidia-settings --load-config-only Quote Link to comment Share on other sites More sharing options...
medo3891 Posted October 20, 2008 Report Share Posted October 20, 2008 To create a shell script, create a text file, name it something.sh. Type the path to the executable you want to autostart and save it. Next right click the file and go to the permissions tab and check "Is executable". That should do it. Another way is to copy the corresponding .desktop file from /usr/share/applications and /usr/share/applications/kde4 to the Autostart folder. Quote Link to comment Share on other sites More sharing options...
yossarian Posted October 20, 2008 Report Share Posted October 20, 2008 In case you are using Gnome, try System -> Preferences -> Sessions, then click the tab Startup Programs. Quote Link to comment Share on other sites More sharing options...
jkerr82508 Posted October 20, 2008 Report Share Posted October 20, 2008 Have you tried System Settings > Advanced > Autostart? Jim Quote Link to comment Share on other sites More sharing options...
jjocsak Posted October 20, 2008 Author Report Share Posted October 20, 2008 Have you tried System Settings > Advanced > Autostart? I'm running KDE 4.1. Where is that located? I was looking for something like that. Jeff Quote Link to comment Share on other sites More sharing options...
jjocsak Posted October 20, 2008 Author Report Share Posted October 20, 2008 In case you are using Gnome, try System -> Preferences -> Sessions, then click the tab Startup Programs. I was use to that when running Gnome but could not find it for KDE. Jeff Quote Link to comment Share on other sites More sharing options...
jjocsak Posted October 20, 2008 Author Report Share Posted October 20, 2008 I found it. It threw me off because the icon was named "Configure your Desktop >Advanced>Autostart, but the title bar says System Settings. Thanks everyone. Jeff Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.