You are not logged in.

#1 2013-12-20 00:45:09

yohan
Member
Registered: 2013-12-12
Posts: 4

[SOLVED] Openbox autostart not starting on boot

The autostart file will not boot on first start up I am trying to get it to launch "feh --bg-scale <~/Pictures/o1S4tbS.jpg> &" and "tint2 &".

I have made sure that there is & at the end of every line, and copied the autostart from /etc/xdg/openbox/autostart. I believe I am using openbox-sesion, I launch it from kdm,
and I have tried launching it from a 'console' login but it will not start with openbox or openbox-session it just logs me out every time without telling me an error or at least not an error that I can see.

Thank you for any help!

Last edited by yohan (2013-12-20 05:33:42)

Offline

#2 2013-12-20 01:02:05

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] Openbox autostart not starting on boot

yohan, welcome to Arch. Please post your entire openbox autostart file (~/.config/openbox/autostart). Use [code ] tags.

Also see https://wiki.archlinux.org/index.php/Openbox#autostart and https://wiki.archlinux.org/index.php/Kdm

When you say you have tried starting from a console login, exactly what command are you using?

Last edited by 2ManyDogs (2013-12-20 01:04:19)

Offline

#3 2013-12-20 01:46:33

yohan
Member
Registered: 2013-12-12
Posts: 4

Re: [SOLVED] Openbox autostart not starting on boot

2ManyDogs wrote:

yohan, welcome to Arch. Please post your entire openbox autostart file (~/.config/openbox/autostart). Use [code ] tags.

Also see https://wiki.archlinux.org/index.php/Openbox#autostart and https://wiki.archlinux.org/index.php/Kdm

When you say you have tried starting from a console login, exactly what command are you using?

Thank you 2ManyDogs!

My openbox autostart file

 
#
# These things are run when an Openbox X Session is started.
# You may place a similar script in $HOME/.config/openbox/autostart
# to run user-specific things.
#

# If you want to use GNOME config tools...
#
#if test -x /usr/lib/openbox/gnome-settings-daemon >/dev/null; then
#  /usr/lib/openbox/gnome-settings-daemon &
#elif which gnome-settings-daemon >/dev/null 2>&1; then
#  gnome-settings-daemon &
#fi

# If you want to use XFCE config tools...
#
#xfce-mcs-manager &

feh --bg-scale <~/Pictures/o1S4tbS.jpg> &

tint2 &

For the console login I was using

 exec openbox-session 

like it says in the wiki and it would just log me out I also tried

 exec openbox 

to see if it might work but it did the same thing and just logged me out.

I didn't think of going to the kdm wiki before but I went I and I was looking at the SessionDirs and Sessions but do not fully understand what I am supposed to do with that.

Offline

#4 2013-12-20 02:05:11

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Openbox autostart not starting on boot

The '<' and '>' signs are redirectors in shell scripts: they are included in the wiki to indicate where to insert your content, but are not to be included in the actual script...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2013-12-20 02:12:58

yohan
Member
Registered: 2013-12-12
Posts: 4

Re: [SOLVED] Openbox autostart not starting on boot

jasonwryan wrote:

The '<' and '>' signs are redirectors in shell scripts: they are included in the wiki to indicate where to insert your content, but are not to be included in the actual script...

Whoops.. guess I should pay attention to what I copy paste lol.
Fixed autostart file.

 
#
# These things are run when an Openbox X Session is started.
# You may place a similar script in $HOME/.config/openbox/autostart
# to run user-specific things.
#

# If you want to use GNOME config tools...
#
#if test -x /usr/lib/openbox/gnome-settings-daemon >/dev/null; then
#  /usr/lib/openbox/gnome-settings-daemon &
#elif which gnome-settings-daemon >/dev/null 2>&1; then
#  gnome-settings-daemon &
#fi

# If you want to use XFCE config tools...
#
#xfce-mcs-manager &

feh --bg-scale ~/Pictures/o1S4tbS.jpg &

tint2 &

Offline

#6 2013-12-20 02:19:07

yohan
Member
Registered: 2013-12-12
Posts: 4

Re: [SOLVED] Openbox autostart not starting on boot

Wow should have really tried to see if that fixed it before posting. Removing the < and > is all that was needed to fix it.

Thank you!

Offline

#7 2013-12-20 02:27:10

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Openbox autostart not starting on boot

No problem. Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB