Results 1 to 6 of 6

Thread: Launch some programs at the boot (in specific places)

  1. #1
    Join Date
    Nov 2010
    Beans
    3

    Cool Launch some programs at the boot (in specific places)

    Hello.

    First, I'd like to apologize for my weak english.
    My wish is to launch some programs (chromium, pidgin and xchat on the first virtual desktop and the terminal, the file manager and geany on the second one). I also wish them to have the same size and place than they've had the last time I used them (just to keep them always at the same place).
    My researches haven't been successful for the moment cause the only idea I found was lxsession-edit which doesn't do exactly what I want...

    Has someone ever succeeded to do what I want?

    Thanks a lot.

    PS: I use lubuntu, but I guess it's quite the same with ubuntu (and mayby xubuntu)

  2. #2
    Join Date
    Sep 2010
    Location
    Montreal
    Beans
    340
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Launch some programs at the boot (in specific places)

    Well you can go to System>prefrences>startup applications and there you can go to the options tab and select remember open application on log out so pretty much what ever you have open should open when you log out/restart your computer
    GOOGLE IS YOUR FRIEND
    restoring grub

  3. #3
    Join Date
    Nov 2010
    Beans
    3

    Re: Launch some programs at the boot (in specific places)

    Thanks for a so quick answer but in preferences I don't have "startup applications" :/

  4. #4
    Join Date
    Sep 2010
    Location
    Montreal
    Beans
    340
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Launch some programs at the boot (in specific places)

    Ah well im not that familiar with lubuntu so if you dont have it then i dont know what to do
    GOOGLE IS YOUR FRIEND
    restoring grub

  5. #5
    Join Date
    Jun 2007
    Location
    Funeralopolis
    Beans
    229
    Distro
    Ubuntu Development Release

    Re: Launch some programs at the boot (in specific places)

    Ahhh, I just noticed this tab open and I remembered we had a discussion over the IRC.

    Well here's more information about launching applications:


    ~$ cat /home/lubuntu-user/.config/autostart/conky.desktop

    [Desktop Entry]
    Name=Conky
    Comment=blaeh!@#%
    Exec=conky
    Terminal=false
    Type=Application
    Categories=
    OnlyShowIn=GNOME;XFCE;LXDE;

    ~$
    And then for the position:

    Code:
    ~$ nano -w /home/lubuntu-user/.config/openbox/lubuntu-rc.xml
    And add to the Applications section:

    Code:
    <application name="urxvt">
          <decor>yes</decor>
          <focus>yes</focus>
          <position>
            <x>-5</x>
            <y>5</y>
          </position>
          <layer>below</layer>
          <desktop>1</desktop>
        </application>
    Last edited by bioterror; November 12th, 2010 at 07:53 AM.
    Forbidden Sorcery

  6. #6
    Join Date
    Nov 2010
    Beans
    3

    Re: Launch some programs at the boot (in specific places)

    OK, thanks
    Tell me if what I'm writting is ok (don't wanna make something crash)

    Code:
    ~$ cat /home/lubuntu-user/.config/autostart/chromium.desktop
    Code:
    [Desktop Entry]
    Name=Chromium
    Comment=blaeh!@#%
    Exec=chromium
    Terminal=false
    Type=Application
    Categories=
    OnlyShowIn=GNOME;XFCE;LXDE;
    Code:
    ~$ cat /home/lubuntu-user/.config/autostart/pidgin.desktop
    Code:
    [Desktop Entry]
    Name=Pidgin
    Comment=blaeh!@#%
    Exec=pidgin
    Terminal=false
    Type=Application
    Categories=
    OnlyShowIn=GNOME;XFCE;LXDE;
    HTML Code:
    ~$ cat /home/lubuntu-user/.config/autostart/xchat.desktop
    Code:
    [Desktop Entry]
    Name=Xchat
    Comment=blaeh!@#%
    Exec=xchat
    Terminal=false
    Type=Application
    Categories=
    OnlyShowIn=GNOME;XFCE;LXDE;
    Code:
    ~$ cat /home/lubuntu-user/.config/autostart/conky.desktop
    Code:
    [Desktop Entry]
    Name=Conky
    Comment=blaeh!@#%
    Exec=conky
    Terminal=false
    Type=Application
    Categories=
    OnlyShowIn=GNOME;XFCE;LXDE;
    Code:
    ~$ cat /home/lubuntu-user/.config/autostart/geany.desktop
    Code:
    [Desktop Entry]
    Name=Geany
    Comment=blaeh!@#%
    Exec=geany
    Terminal=false
    Type=Application
    Categories=
    OnlyShowIn=GNOME;XFCE;LXDE;
    I cannot find the "Exec" for the terminal (apparently it isn't "terminal") and for the file manager :s

    And then


    Code:
    ~$ nano -w /home/lubuntu-user/.config/openbox/lubuntu-rc.xml
    Code:
    <application name="Geany">
          <decor>yes</decor>
          <focus>yes</focus>
          <position>
            <x>-5</x>
            <y>5</y>
          </position>
          <layer>below</layer>
          <desktop>2</desktop>
        </application>
    I'll have to try to find the correct x and y But is it the same file for all the applications (for the location) ?

    Thanks a lot

Tags for this Thread

Bookmarks

Posting Permissions

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