SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-09-24 10:10:36

choco
New Member
Registered: 2013-09-24
Posts: 2

Openbox wont start correctly with default config

I spent 2 hours today (at my new company sad ) to figure out how to regain access to a graphical desktop, after starting the computer (like every day since a week).
Yesterday I wrote some code and installed android toolkit (eclipse), nothing that would have broke the config. Cant remember anything else sad
Well... when I type my username + password, openbox starts, but nothing happens: no mouse, no shortcuts, nothing but the grey background. Like if it was waiting for smthg.
I've added to the slim config the "openbox" choice, and when i choose that one (with F1 or F2), it works even if the autostart has not been executed, so I have to launch tint2 and so manually.

How can i fix that?
How did it happen?
Which logs should I look at?

Thanks!


From OS X to Crunchbang, youhou! I like very much the last one for its speed and simplicity.

Offline

Help fund CrunchBang, donate to the project!

#2 2013-09-24 14:59:16

spiritchaser
#! Member
From: Temple Suspended in Void
Registered: 2013-05-14
Posts: 99

Re: Openbox wont start correctly with default config

so yeah, i have no idea, but can you post your autostart script, the one in  ~/.config/openbox/autostart ?


Falun Dafa is good, truth, comapssion, tolerance is good. Stop the Persecution of Falun Gong in China.

Offline

#3 2013-09-25 07:37:56

choco
New Member
Registered: 2013-09-24
Posts: 2

Re: Openbox wont start correctly with default config

This is my ~/.config/openbox/autostart

## 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 &

# Screen config
#xrandr --output DVI-0 --auto --primary --output VGA-0 --auto --left-of DVI-0 &

Now I start with openbox (instead of openbox-session) and manually launch autostart.


From OS X to Crunchbang, youhou! I like very much the last one for its speed and simplicity.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo