Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 07-03-2008, 11:32 PM   #1
Registered: Jun 2008
Posts: 82

Rep: Reputation: 15
auto execution of script on ubuntu when user login

I've configured Ubuntu 7.1 for auto login. Now just after login, I want to run a script that will launch couple of other applications.... Can anybody help me in this regards
Old 07-04-2008, 03:26 AM   #2
Registered: Apr 2007
Location: Barcelona, Spain
Distribution: Debian, KUbuntu
Posts: 213

Rep: Reputation: 36
Which kind of apps? Are them X apps or just shell ones?

If they're shell ones, go to $HOME/.profile and add them at the end. If this file does not exist, be sure make it executable ( chmod +x $HOME/.profile ) and it beginning (in the first line) with "#!/bin/sh".

If these apps are X ones, you'd add them to the Autostart section of your Desktop manager (KDE, Gnome, etc).

Old 07-04-2008, 05:04 AM   #3
Registered: Jun 2008
Posts: 82

Original Poster
Rep: Reputation: 15
Thanks.. It worked...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh auto login script zerocool22 Linux - Server 4 05-13-2008 09:43 PM
Auto-login Without user and password hraposo Fedora 1 07-12-2006 07:15 AM
Auto Login User ImpactDNI Linux - Software 7 04-21-2005 03:28 PM
Auto login default user? zebthepilot Linux - General 2 01-15-2003 04:46 PM
auto execution script nimrod Linux - General 2 12-09-2002 03:20 PM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 08:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration