Skip to content

LXDE lxpanel taskbar config broken if first run of gui does not have a monitor attached #160

@bgirardot

Description

@bgirardot

This was all tested using:
2012-10-28-wheezy-raspbian.img
Linux raspberrypi 3.2.27+ #250 PREEMPT Thu Oct 18 19:03:02 BST 2012 armv6l

It seems that when you first use the LXDE GUI you need to have a monitor attached or the config files for the lxpanel taskbar get broken.

If I do a clean write to an SD card and connect up a monitor via HDMI and boot and then startx everything works fine, I get a lxpanel taskbar at the bottom of the screen.

However, if I write a clean image to an SD card, connect an Ethernet cable only and then log in via ssh using MobaXterm and issue the lxsession command I receive this error:

** (lxpanel:2356): WARNING **: Config files are not found.

and I get no lxpanel task bar at the bottom of my screen.

the directories:
~/.config/lxpanel/LXDE/

are created as normal, but the LXDE directory is not populated with the config files, which it would be normally with a monitor connected on first run of the LXDE gui.

Subsequently connecting a monitor via HDMI and typing startx I still do not get the taskbar at the bottom of my screen and do not get the config files copied to the config directory.

I can remove the ~/.config/lxpanel directory, and it will be recreated, but it will only be populated with the actual config files if I remove it and then connect a monitor to the HDMI port and then type startx.

Please let me know if I can provide any further information.

Edit: I should point out I can manually fix the problem of no taskbar by doing this:
cp -rp /etc/xdg/lxpanel/profile/LXDE/* ~/.config/lxpanel/LXDE/

and it is my understanding that LXDE should read the default config files when it does not find the config files in the local user's home directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions