You are not logged in.
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
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
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
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...
Offline
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
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
No problem. Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Offline