Find the answer to your Linux question:
Results 1 to 10 of 10
Ok, I'm fairly new to linux. I have been "messing" with it for several years, but I still feel fairly new. This is also my first post in this forum. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2005
    Location
    Los Angeles, California USA
    Posts
    4

    startup applications, like in Windows


    Ok, I'm fairly new to linux. I have been "messing" with it for several years, but I still feel fairly new. This is also my first post in this forum. I have Fedora Core 3, running gnome (the default).

    I want a Firefox window to run automatically when a specific user logs into Gnome (not every user). This seems like an easy enough task, but I just can't figure it out on my own. In windows I would just put a shortcut of firefox in the <startup> folder. How do I accomplish the same thing in Fedora Core 3 gnome?

    thanx!

  2. #2
    Linux Engineer
    Join Date
    Mar 2005
    Posts
    1,431
    FIrst, login as that user and open firefox. Then, without closing firefox, open the menu and press "logout". Then, an menu should show up, select "logout" and "save session", and loguot. When you login again, firefox should be there.

  3. #3
    Just Joined!
    Join Date
    Jun 2005
    Location
    Virginia, USA
    Posts
    32
    There is a menu option (at least with Ubuntu/gnome) that lets you select which applications to start-up with. I forgot what it's called, however. jab's suggestion also works, and I believe that it is a way to auto-configure it.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Feb 2005
    Location
    At a rock house in Oak Cliff...
    Posts
    87
    Just edit your .xinitrc in your user's home directory with the line

    Code:
    exec firefox&

  6. #5
    Just Joined!
    Join Date
    Jun 2005
    Location
    Los Angeles, California USA
    Posts
    4
    OK, neither of these suggestions worked.

    1. Whe I tried the "save current session" option when logging out, I got a message saying "firefox does not support being saved and will have to be manually restarted next time you log it"

    2. When I tried editing my .xinitrc absolutely nothing happend.

    I even tried copying the default .xinitrc from /etc/X11/xinit and editing that one, but still nothing happened. I may not have been putting it in the right part of the file. I put it at the very end.

  7. #6
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    When you logout, I think jaboua meant logging out of X, without logging out of firefox.
    Next time you login to X, firefox will be running.

    The .xinitrc file, from my understanding was just for Desktop Environments and Window Managers.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  8. #7
    Linux User
    Join Date
    Jan 2005
    Location
    Arizona
    Posts
    288
    Actually, you can load anything from the .xinitrc
    Right now I have mine loading xscreensaver, mail-notification, a couple Eterms, fbpanel, and finally Enlightenment. If I had broadband I'd have it load Gaim too.

    But I'm using Slim login manager. GDM, XDM, and probably KDM and WDM don't use the .xinitrc by default. I never got far enough to figure out what they do use, but you're probably better off just using the Gnome session manager. It's moving around in recent Gnome releases, and I'm not familiar with Fedora, but it looks like Sessions at the far bottom right in this screenshot:
    http://shots.osdir.com/slideshows/sl...e=173&slide=48
    Michael Salivar

    Man knows himself insofar as he knows the world, becoming aware of it only in himself, and of himself only within it.
    --Goethe

  9. #8
    Just Joined!
    Join Date
    Jun 2005
    Location
    Los Angeles, California USA
    Posts
    4
    yes! I just found the session manager, before I even read your replies. Thank you for all of your help anywayz!

    It was in Applications>Preferences>More Preferences>Sessions, and then there's a tab called "Startup Programs"

  10. #9
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,407
    Brilliant Mediocrity - Making Failure Look Good

  11. #10
    Linux Engineer
    Join Date
    Mar 2005
    Posts
    1,431
    Quote Originally Posted by Ethyriel
    I never got far enough to figure out what they do use ...
    Think it is ~/.Xclients-default or something similar

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •