You are not logged in.
I think recently I installed another desktop environment to boot into. Since then I deleted it. But now when I boot into #!, if I don't press F1 to boot into my proper Openbox enviroment, I boot into what looks like a broken DE I used to have installed. How can I get rid of this so that when I start up Crunchbang it loads properly?
Is it something in my autostart file I have to delete?
## Openbox autostart.sh
## ====================
## When you login to your CrunchBang Openbox session, this autostart script
## will be executed to set-up your environment and launch any applications
## you want to run at startup.
##
## Note*: some programs, such as 'nm-applet' are run via XDG autostart.
## Run '/usr/lib/openbox/openbox-xdg-autostart --list' to list any
## XDG autostarted programs.
##
## More information about this can be found at:
## http://openbox.org/wiki/Help:Autostart
##
## If you do something cool with your autostart script and you think others
## could benefit from your hack, please consider sharing it at:
## http://crunchbang.org/forums/
##
## Have fun & happy CrunchBangin'! :)
## GNOME PolicyKit and Keyring
eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh,gpg) &
## Set root window colour
hsetroot -solid "#2E3436" &
## Group start:
## 1. nitrogen - restores wallpaper
## 2. compositor - start
## 3. sleep - give compositor time to start
## 4. tint2 panel
(\
nitrogen --restore && \
cb-compositor --start && \
sleep 2s && \
tint2 \
) &
## Volume control for systray
(sleep 2s && pnmixer) &
## Volume keys daemon
xfce4-volumed &
## Enable power management
xfce4-power-manager &
## Start Thunar Daemon
thunar --daemon &
## Detect and configure touchpad. See 'man synclient' for more info.
if egrep -iq 'touchpad' /proc/bus/input/devices; then
synclient VertEdgeScroll=1 &
synclient TapButton1=1 &
fi
## Start xscreensaver
xscreensaver -no-splash &
## Start Clipboard manager
(sleep 3s && clipit) &
## Set keyboard settings - 250 ms delay and 25 cps (characters per second) repeat rate.
## Adjust the values according to your preferances.
xset r rate 250 25 &
## Turn on/off system beep
xset b off &
## The following command runs hacks and fixes for #! LiveCD sessions.
## Safe to delete after installation.
cb-cowpowers &
## cb-welcome - post-installation script, will not run in a live session and
## only runs once. Safe to remove.
(sleep 10s && cb-welcome --firstrun) &
## cb-fortune - have Waldorf say a little adage
#(sleep 120s && cb-fortune) &
## Run the conky
conky -q &
Thanks!!
Last edited by rmcellig (2014-11-18 17:18:42)
Cheers Randy
www.mcran.com - my web site
www.chuo.fm - My radio show Sundays noon-2pm EST or 89.1 fM
Offline
It's nothing in the autostart file; that is Openbox's start-up config.
I'm not on my #! machine at the moment so can't remember exactly, but you may just need to look at /etc/slim.conf for a line that starts sessions : the first entry there is the default login, so openbox-session should appear first.
Offline
ok. I'll try that and post back. Thanks!!!!
Cheers Randy
www.mcran.com - my web site
www.chuo.fm - My radio show Sundays noon-2pm EST or 89.1 fM
Offline
Is this the section you mean? I see the openbox session is not commented but I'm always booting into something else.
# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
#sessions default,startxfce4,openbox,ion3,icewm,wmaker,blackbox,awesome
sessions openbox-session
Cheers Randy
www.mcran.com - my web site
www.chuo.fm - My radio show Sundays noon-2pm EST or 89.1 fM
Offline
Hi there Randy,
Is it like a turquoise desktop, ugly as sin? I ran into this when I was trying to add openbox to a netinstall. There seems to be some basic desktop integrated into X that it goes to if it can't find anything else. If you type "openbox-session" to start it, do you get any errors?
Offline
What do you get with
sudo update-alternatives --config x-session-manager
BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator
Offline
randy@cb11dv6:~$ sudo update-alternatives --config x-session-manager
[sudo] password for randy:
There are 3 choices for the alternative x-session-manager (providing /usr/bin/x-session-manager).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/bin/startxfce4 50 auto mode
1 /usr/bin/openbox-session 40 manual mode
2 /usr/bin/startxfce4 50 manual mode
3 /usr/bin/xfce4-session 40 manual mode
Press enter to keep the current choice[*], or type selection number
Cheers Randy
www.mcran.com - my web site
www.chuo.fm - My radio show Sundays noon-2pm EST or 89.1 fM
Offline
So I changed it to this:
Selection Path Priority Status
------------------------------------------------------------
0 /usr/bin/startxfce4 50 auto mode
* 1 /usr/bin/openbox-session 40 manual mode
2 /usr/bin/startxfce4 50 manual mode
3 /usr/bin/xfce4-session 40 manual mode
Press enter to keep the current choice[*], or type selection number: 1
randy@cb11dv6:~$
randy@cb11dv6:~$
Do I just restart my machine now? In the future if this happens again, is there a config file I can go into to change this or is this the proper way to do it?
Cheers Randy
www.mcran.com - my web site
www.chuo.fm - My radio show Sundays noon-2pm EST or 89.1 fM
Offline
Just restarted my computer. All is well now. Thanks!!!
Cheers Randy
www.mcran.com - my web site
www.chuo.fm - My radio show Sundays noon-2pm EST or 89.1 fM
Offline
Shouldn't be any need to do a full restart, just log out/in
"update-alternatives" is the way to do it, if it isn't working with slim.conf. (I think it is also available in the default menu: Settings->Edit default applications)
For all the options see
update-alternatives --all
BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator
Offline
Wow! I just learned something new. Never checked out default applications before. Thanks damo!
Cheers Randy
www.mcran.com - my web site
www.chuo.fm - My radio show Sundays noon-2pm EST or 89.1 fM
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat