I just upgraded my 64 bit Lubuntu to 13.10 on my netbook today. After the upgrade, I simply can't autostart the xfce4 power manager. I tried to add from the desktop session settings, I tried to copy the power manager.desktop file to ~/.config/autostart folder.

Everything looks fine. Then I logout, log back in and the darn power manager just won't start automatically. It only starts when I double click the icon, or if I start it from the terminal.


8 Answers 8


Check ~/.config/lxsession/Lubuntu/desktop.conf.

Look for laptop_mode and see that it's set to 'yes':


This worked for me at least. Mine was set to 'no' so I would have to start xfce4-power-manager manually. By changing the value to 'yes' it now starts at login automatically without any further configuration.

  • 1
    Just wanted to say that this worked for me in 13.10.
    – GateKiller
    Dec 14, 2013 at 8:57


  1. Open Preferences → Default applications for LXSession.
  2. Go to the autostart tab.
  3. Change the option "Disable autostarted applications" from config-only to no.

Or similarly:

  1. Edit ~/.config/lxsession/Lubuntu/desktop.conf
  2. Change the following line under [Session]
  3. Change


    to this instead:

  • Very nice! Is there any documentation? I didn't come across any for "Default applications for LXSession".
    – user25656
    Oct 19, 2013 at 8:13
  • Also see lists.ubuntu.com/archives/lubuntu-users/2013-September/…
    – user25656
    Oct 19, 2013 at 11:36
  • Yes, it's more safe to use UX instead of editing files manually! And to understand what's happening behind the scene in parallel! Mar 27, 2014 at 11:36

there's sth. wrong in the autostart-entry of the power-manager. That makes it only work in XFCE (e.g. Xubuntu), but not LXDE/Lubuntu

in a Terminal type

sudo nano /etc/xdg/autostart/xfce4-power-manager.desktop

Go to the line saying:


and comment it out


exit the editor with Ctrl-O (save) and Ctrl-X (exit)

In your next session power manager should start automatically

  • 6 years later (Lubuntu 20), there's a line instead that reads NotShowIn=GNOME;KDE;Unity;MATE;LXQt;. LXQt is the Lubuntu desktop. Simply remove it from the list. Feb 17, 2021 at 8:13

Sometimes, for some applications it can be useful to instead of starting them directly, to use a script which delays the starting of the program.

Create a file like this;

sleep 10

And save it as powermanagerautostart.sh somewhere safe, I use a folder called /home/shane/scripts.

Then instead of adding xfce-power-manager to desktop session settings, add

bash /home/username/scripts/powermanagerautostart.sh

This may fix your problem.

  • I tried it, I made that script, I executed it, it works. After that I realized, that I can't add a script like that to desktop session settings in an LXDE environment, like in gnome. So I made a .desktop file /,that launches the script/, in the ~/.config/autostart folder. Than I double clicked the .desktop file, an it brought up the xfce4 power manager. But after I logged out, and logged back in, it still does NOT work automatically :(
    – user203766
    Oct 17, 2013 at 22:21
  1. create a file .starter in your home dir and make it executable
  2. in that file write command: cairo-dock, save and close
  3. edit file: sudo leafpad /etc/xdg/lxsession/Lubuntu/autostart
  4. add this new line: @/home/user/.starter #user is you
  5. save and close
  6. reboot and it shall now run automaticaly

p.s. sorry I am talking about autostarting cairo, but same procedure should work for you, you only have to know the starting command. same way I start dropbox, conky, compton in lubuntu 13.10


I edited ~/.config/lxsession/Lubuntu/desktop.conf and changed the following line under [Session] from :


to this instead:


Worked for me on my netbook as suggested by MrQuade.


In lubuntu not working xfce4 power manager:

  1. uninstall xfce4 power manager (optional)
  2. install gnome-power-manager
  3. Desktop session setting enable (Demonio de configuración de Gnome)(Gnome settings daemon)
  4. Dconf editor org/gnome/settings-daemon/plugins/power (modify at will)

the problem I found is that when you activate the gnome daemon status bar could not put it on transparent

Fix it with dconf / org / gnome / desktop / bakground (off draw-background)

sorry for my English


xfce4-power-manager not started, applet not visible

Delete > Desktop configuration file:


Settings Manager / Session and Startup / Startup Applications

Item disabled:

Energy Management (power Management Xfce environment)

New item enabled with new command:

Mame:          Xfce Power Manager (For example-Your name)
Description:   Power manager startup
Command:       xfce4-power-manager --no-daemon


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.