Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: openbox autostart configuration

  1. #1

    Default openbox autostart configuration

    the autostart configuration (~/.config/openbox/autostart.sh) isn't being executed when i login.
    autostart.sh is owned by me and is executable.
    i had installed opensuse 12.2 x86_64 with LXDE from the DVD and i am using the openbox session.

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    10,864

    Default Re: openbox autostart configuration

    Quote Originally Posted by nishant_no2 View Post
    the autostart configuration (~/.config/openbox/autostart.sh) isn't being executed when i login.
    autostart.sh is owned by me and is executable.
    i had installed opensuse 12.2 x86_64 with LXDE from the DVD and i am using the openbox session.
    I'm not an Openbox user, but which version of Openbox are you using? A quick search tells me that 3.5 and later use 'autostart' rather than 'autostart.sh'. So, the first thing to do is to remove the '.sh' from the end of the name.

  3. #3
    dd NNTP User

    Default Re: openbox autostart configuration

    On 02/02/2013 06:26 AM, nishant no2 wrote:
    >
    > the autostart configuration (~/.config/openbox/autostart.sh) isn't being
    > executed when i login.


    i am surprised to see the config is in your /home, is that how the
    install instructions you followed said to do it?

    or, maybe a better question: how did you install openbox? and, if not
    via YaST or zypper, why not?

    --
    dd
    http://tinyurl.com/DD-Caveat


  4. #4
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    10,864

    Default Re: openbox autostart configuration

    Quote Originally Posted by dd View Post
    i am surprised to see the config is in your /home, is that how the
    install instructions you followed said to do it?
    As described here:

    Help:Autostart - Openbox

    You can use the autostart script to launch a panel, to set your desktop wallpaper, or anything else. Once Openbox starts, the system-wide default script, located at /etc/xdg/openbox/autostart, will be run. Then the user script at ~/.config/openbox/autostart is run afterward.

  5. #5

    Default Re: openbox autostart configuration

    The LXDE installation came with openbox 3.5(from the OSS repo)
    i had created a copy of autrostart.sh and named it autostart as well but to no avail.(i used ubuntu with openbox 3.5 for about a week and mageia 2 earlier as well with autostart.sh and not autostart and had no issues then)
    i even copied the contents of my autostar
    t to /etc/xdg/openbox/autostart but that didn't work either

  6. #6

    Default Re: openbox autostart configuration

    Quote Originally Posted by nishant_no2 View Post
    The LXDE installation came with openbox 3.5(from the OSS repo)
    i had created a copy of autrostart.sh and named it autostart as well but to no avail.(i used ubuntu with openbox 3.5 for about a week and mageia 2 earlier as well with autostart.sh and not autostart and had no issues then)
    i even copied the contents of my autostar
    t to /etc/xdg/openbox/autostart but that didn't work either
    From what I can tell, it is executed when you start openbox alone, but not when you start LXDE. It probably used to work in the past ... But it's an LXDE issue, not openbox.

    I added an echo in my ~/.config/openbox/autostart.sh and started X (using startx, sorry) with openbox and lxde. See the log below:



    Code:
    ********************************************
    /etc/X11/xinit/xinitrc: Beginning session setup on Fri Feb  1 23:39:57 PST 2013...
     - sourcing /etc/X11/xinit/xinitrc.d/libcanberra-gtk-module.sh
    non-network local connections being added to access control list
     * starting gnome-keyring-daemon
    gnome-keyring-daemon: insufficient process capabilities, unsecure memory might get used
    sourcing /usr/local/config/x11/Xresources.icewm
    /etc/X11/xinit/xinitrc: Setup done, will execute: openbox-session.
    ********************************************
    
    running /home/openSUSE/agnelo/.config/openbox/autostart.sh


    Code:
    ********************************************
    /etc/X11/xinit/xinitrc: Beginning session setup on Fri Feb  1 23:43:37 PST 2013...
     - sourcing /etc/X11/xinit/xinitrc.d/libcanberra-gtk-module.sh
    non-network local connections being added to access control list
     * starting gnome-keyring-daemon
    gnome-keyring-daemon: insufficient process capabilities, unsecure memory might get used
    sourcing /usr/local/config/x11/Xresources.icewm
    /etc/X11/xinit/xinitrc: Setup done, will execute: startlxde.
    ********************************************

  7. #7

    Default Re: openbox autostart configuration

    Quote Originally Posted by please_try_again View Post
    From what I can tell, it is executed when you start openbox alone, but not when you start LXDE. It probably used to work in the past ... But it's an LXDE issue, not openbox.

    I added an echo in my ~/.config/openbox/autostart.sh and started X (using startx, sorry) with openbox and lxde. See the log below:



    Code:
    ********************************************
    /etc/X11/xinit/xinitrc: Beginning session setup on Fri Feb  1 23:39:57 PST 2013...
     - sourcing /etc/X11/xinit/xinitrc.d/libcanberra-gtk-module.sh
    non-network local connections being added to access control list
     * starting gnome-keyring-daemon
    gnome-keyring-daemon: insufficient process capabilities, unsecure memory might get used
    sourcing /usr/local/config/x11/Xresources.icewm
    /etc/X11/xinit/xinitrc: Setup done, will execute: openbox-session.
    ********************************************
    
    running /home/openSUSE/agnelo/.config/openbox/autostart.sh


    Code:
    ********************************************
    /etc/X11/xinit/xinitrc: Beginning session setup on Fri Feb  1 23:43:37 PST 2013...
     - sourcing /etc/X11/xinit/xinitrc.d/libcanberra-gtk-module.sh
    non-network local connections being added to access control list
     * starting gnome-keyring-daemon
    gnome-keyring-daemon: insufficient process capabilities, unsecure memory might get used
    sourcing /usr/local/config/x11/Xresources.icewm
    /etc/X11/xinit/xinitrc: Setup done, will execute: startlxde.
    ********************************************
    i am using the openbox-session not the lxde session

  8. #8
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    10,864

    Default Re: openbox autostart configuration

    Quote Originally Posted by nishant_no2 View Post
    The LXDE installation came with openbox 3.5(from the OSS repo)
    i had created a copy of autrostart.sh and named it autostart as well but to no avail.(i used ubuntu with openbox 3.5 for about a week and mageia 2 earlier as well with autostart.sh and not autostart and had no issues then)
    i even copied the contents of my autostar
    t to /etc/xdg/openbox/autostart but that didn't work either
    Since LXDE is your DE, then this may be relevant:


    LXSession - LXDE.org

    LXDE.org Forum • View topic - applications autostart [SOLVED]

    Otherwise you may have to wait until an LXDE user chimes in...

  9. #9

    Default Re: openbox autostart configuration

    Quote Originally Posted by nishant_no2 View Post
    i am using the openbox-session not the lxde session
    Hmm, interesting! As you can see, it just worked for me. I haven't tried to log in from a DM though, but it should not be different.
    You might try to add an echo at the top of your autostart.sh and see if it appears in your ~/.xsession-errors (or whichever file you use to log X session messages). This is what I used:

    Code:
    echo running $0
    You can see what it printed in my previous post.

  10. #10
    Join Date
    May 2010
    Location
    Space Colony Lagrange Point 22° à, 77° Ƅ, 56° ɤ, 99° ɜ
    Posts
    3,305

    Default Re: openbox autostart configuration

    Quote Originally Posted by nishant_no2 View Post
    the autostart configuration (~/.config/openbox/autostart.sh) isn't being executed when i login.
    autostart.sh is owned by me and is executable.
    i had installed opensuse 12.2 x86_64 with LXDE from the DVD and i am using the openbox session.
    What did you write inside that autostart ?
    Can you share what you wrote inside "autostart" in paste.opensuse.org
    Can you check whether there are any syntax errors in the "startup" file?
    How do you know that it is not executed ?
    GNOME 3.10.1
    openSUSE 13.1 (Bottle) (x86_64) 64-bit
    Kernel Linux 3.11.6-4-desktop
    www.vazhavandan.blogspot.com

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

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