Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    How to make certain applications open automatically?


    I'm using Debian with Openbox and would like Chromium, GIMP, and the terminal to open automatically when I login in. I use those everyday

  2. #2
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Quote Originally Posted by Sharpghost6 View Post
    would like Chromium, GIMP, and the terminal to open automatically when I login in.
    Why don't you use the autostart file to start them at user login?

    Help:Autostart - Openbox
    oz

  3. #3
    I would have suggested putting the commands in a custom X startup script. If using a graphical login manager (GDM, KDM, etc.), you use the file ~/.xsession and if you run startx from text-mode to get into your desktop, then you'd use ~/.xinitrc.

    In either case, you'd want the X startup file to look something like this:
    Code:
    #!/bin/bash
    [ -f ~/.Xresources ] && xrdb -merge ~/.Xresources
    chromium&
    gimp&
    gnome-terminal&
    exec gnome-session
    Of course, you can replace gnome-session w/whatever you DM prefer (that is installed). The file has to be executable, too.

    Oz's way is probably the better/easier way to go, though.

  4. $spacer_open
    $spacer_close

Posting Permissions

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