All questions and problems regarding LXDE components including LXSession, LXAppearance, GPicView, Leafpad, LXTerminal, Xarchiver, LXNM to be discussed here.
For PCManFM questions, please ask in the dedicated forum below.
it works, but when I login my session (default) from LXDM, there is only metacity with nothing. how can I add "lxpanel" on start?
I tryed to put "lxpanel.desktop" on" ~/.config/autostart" but it doesn't work.
Someone can help me?
Thanks.
Last edited by lodger on Sat Jun 27, 2015 8:47 am, edited 2 times in total.
but now lxde-logout of lxpanel doesn't work good (when i press "logout" nothing happens).
because most of the things that are executed during login, don't get executed with your solution.
permission management in this case.
like dbus, keyring, polkit,...
like the name of the utility says, it logs you out of an lxsession.
however, you're not starting an lxsession at login.
lxsession-logout is not a script, it's binary, so there isn't much tweaking you can do with it.
but you can tell lxpanel to use something else to logout.
i'm sure you can find useful instructions on wiki.archlinux.org.
/* Handler for "clicked" signal on Logout button. */
static void logout_clicked(GtkButton * button, HandlerContext * handler_context)
{
if (handler_context->lxsession_pid != 0)
{
kill(handler_context->lxsession_pid, SIGTERM);
}
else
{
/* Assume we are under openbox */
g_spawn_command_line_async("openbox --exit", NULL);
}
{
/* Assume we are under metacity or marco */
g_spawn_command_line_async("killall -u $USER", NULL);
}
gtk_main_quit();
}