You are not logged in.
Whenever I execute
dbus-send --system --print-reply --dest='org.freedesktop.ConsoleKit' /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restartor
dbus-send --system --print-reply --dest='org.freedesktop.ConsoleKit' /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stopthe configuration file rc.lua gets reloaded. The problem with this is that I have set some applications to automatically load in the config file so if I close all programs before switching off or rebooting my PC, they get relaunched. Is there a way to stop this reloading? Thanks.
Last edited by C5OK5Y (2012-08-19 16:34:53)
Offline
I believe Awesome communicates with processes via dbus, so every time you execute those strings--which affect session registration--Awesome believes you've reloaded the session (because essentially, you have). Unless you use different working environments/WMs for different specific tasks, it's much better to launch those apps automatically using ~/.xinitrc.
Offline
OK so I moved my autorun script out of the rc.lua and rewrote it into bash. As the file .xprofile gets read by LXDM (I use it) and .profile gets read by LXDM and the bash login shell, I source my script file from both files and launch graphical applications from .xprofile and command line applications (i.e. mpd) from .profile. Problem solved.
Offline