Thread: Autostart programs
hi all,
had switch browsers opera firefox , can't ff start @ login automatically...
have looked ~/.cache/session said here http://www.ubuntuforums.org/showthre...hlight=startup couldn't find sessions folder.
made ~/.config/autostart directory on own didn't have desired effect, lubuntu automatically added opera.desktop config file directory...
tried unmarking in desktopsettings tab gets remarked when close window.
how can fix this?
input!
lubuntu openbox believe. openbox not use "~/.config/autostart". uses
"~/.config/openbox/autostart.sh"
or sometimes
"~/.config/openbox/autostart"
autostart file bash. need put
applicationname &
in it. here example:
code:# shell script run before openbox launches. # environment variables set here passed openbox session. # set background color #bg="000000" #if hsetroot >/dev/null 2>&1; # bg=hsetroot #else # if esetroot >/dev/null 2>&1; # bg=esetroot # else # if xsetroot >/dev/null 2>&1; # bg=xsetroot # fi # fi #fi #test -z $bg || $bg -solid "#303030" # d-bus if dbus-launch >/dev/null 2>&1 && test -z "$dbus_session_bus_address"; eval `dbus-launch --sh-syntax --exit-with-session` fi # make gtk apps , behave how set in gnome config tools #if test -x /usr/libexec/gnome-settings-daemon >/dev/null; # /usr/libexec/gnome-settings-daemon & #elif gnome-settings-daemon >/dev/null 2>&1; # gnome-settings-daemon & # make gtk apps , behave how set in xfce config tools #elif xfce-mcs-manager >/dev/null 2>&1; # xfce-mcs-manager n & #fi # preload stuff kde apps #if start_kdeinit >/dev/null 2>&1; # ld_bind_now=true start_kdeinit --new-startup +kcminit_startup & #fi # run xdg autostart things. default don't run desktop-specific # see xdg-autostart --help more info #desktop_env="openbox" #if /usr/lib/openbox/xdg-autostart >/dev/null 2>&1; # /usr/lib/openbox/xdg-autostart $desktop_env #fi nitrogen --restore & #qtpanel & #tint2 & xfce4-panel & pytyle & #cairo-dock -cis 0 & #sleep 10; #xcompmgr -cc & #xset -dpms s off & numlockx & #avant-window-navigator & sleep 10 && wbar & keepassx -lock & kupfer --no-splash & #sleep 5; thunar --daemon & #~/documents/scripts/matekeyring.sh & ~/documents/scripts/startupopen.sh & ~/documents/scripts/conky.sh &
edit: "~/.config/openbox/autostart" file not directory.
  		  		  	Forum    	The Ubuntu Forum Community    	Ubuntu Official Flavours Support    	New to Ubuntu    		  	[SOLVED] Autostart programs     	
 Ubuntu
 
  
Comments
Post a Comment