@Leiche: I could manage to autostart gnome-power-manager (will be referred to as GPM!). I put it in /etc/xdg/lxsession/LXDE/autostart and it starts at login. But it does not do what it is supposed to do. I mean it does nothing. not even turning of the monitor. The icon is in the notification area, but it does nothing.
@Neal: Batti just shows the battery info. I need something to make the system go to sleep, or hibernate after a specified amount of idle time.
@BJF: Which part you mean? That thread is about how to run GPM which I did not have any problem with. Am I missing something?!
1) Yes, GPM is running but it does not work. Do you by any chance know why?
2) Still I would like to know the difference between "/etc/xdg/lxsession/LXDE/autostart" and "~/.config/openbox/sutostart.sh", I will appreciate it if you could tell me.
3) Since GPM is not working for the moment, I decided to give xfce4-power-manager a try. And when I tried to install it, it asked to fetch 380MB of dependencies. Is there anyway to install it with reasonable number of dependencies?