m(I looked in every location listed trying to find the "panel" file. It wasn't until I opened the Panel Settings/Panel Preferences that it appeared. I tested it out just to be sure.)

(3 intermediate revisions by 2 users not shown)

Line 1:

Line 1:

{{Infobox component

{{Infobox component

−

| name=

+

|name = LXPanel

−

|image= LXPanel menu.png

+

|image = LXPanel menu.png

−

|image description=

+

|image description =

−

|developer= LXDE Team

+

|developer = LXDE Team

−

|version= {{LXPanel version}}

+

|version = {{VersionAndDate | lxpanel |y|}}

−

|date= 23 October, 2014

+

|date = {{VersionAndDate | lxpanel ||y}}

−

|birth=

+

|genre = Desktop Panel

−

|genre= Desktop Panel

+

|license = GNU General Public License

−

|license= GNU General Public License

+

|website = [http://lxde.org/ lxde.org]

−

|website= [http://lxde.org/ lxde.org]

+

}}

−

|}}

'''LXPanel''' is the standard panel of LXDE. The desktop panel can generate a menu for installed applications automatically from *.desktop files. It can be configured from a GUI preferences dialog, so there is no need to edit config files. The component provides a "Run" dialog with autocompletion. As of version 0.7.0, LXPanel has gained theming support via custom <code>gtkrc</code> file.

'''LXPanel''' is the standard panel of LXDE. The desktop panel can generate a menu for installed applications automatically from *.desktop files. It can be configured from a GUI preferences dialog, so there is no need to edit config files. The component provides a "Run" dialog with autocompletion. As of version 0.7.0, LXPanel has gained theming support via custom <code>gtkrc</code> file.

Line 23:

Line 22:

* Under LXDE, we use a different profile name - LXDE. So it's in ~/.config/lxpanel/LXDE. In this way, if you changed the config of the panel under LXDE, it won't interfere other desktop environments.

* Under LXDE, we use a different profile name - LXDE. So it's in ~/.config/lxpanel/LXDE. In this way, if you changed the config of the panel under LXDE, it won't interfere other desktop environments.

* On a fresh install of LXDE, the "panels" directory may be empty. Entering the Panel Settings/Panel Preferences for the first time will result in the creation of the "panel" file for the default panel.

Latest revision as of 02:53, 18 April 2019

LXPanel is the standard panel of LXDE. The desktop panel can generate a menu for installed applications automatically from *.desktop files. It can be configured from a GUI preferences dialog, so there is no need to edit config files. The component provides a "Run" dialog with autocompletion. As of version 0.7.0, LXPanel has gained theming support via custom gtkrc file.

Important notes

Warning: Although lxpanel is originally derived from fbpanel, they are now almost totally different both in internal implementation and configuration. So, don't use fbpanel config files here or things will break.

Basic configuration of LXPanel can be done with the GUI preference configuration dialog. Just right click on the panels, and you can access the config dialog. Please use the GUI instead of directly editing the config files if you don't have very special needs.

The format of config files has changed since version 3.5 to support multiple panel layout. Don't mix older config files with newer versions.

The config file format was not documented before version 3.7 because it was not yet stabilized. Now, it's documented here.

File Locations

The config files of LXPanel are stored in ~/.config/lxpanel/<Profile Name>.

Under LXDE, we use a different profile name - LXDE. So it's in ~/.config/lxpanel/LXDE. In this way, if you changed the config of the panel under LXDE, it won't interfere other desktop environments.

On a fresh install of LXDE, the "panels" directory may be empty. Entering the Panel Settings/Panel Preferences for the first time will result in the creation of the "panel" file for the default panel.

Main Config File

The main config file is named "config", and its format is like this:

[Command]
FileManager=pcmanfm %s
Terminal=xterm -e
LogoutCommand=

FileManager

file manager used when an applet in lxpanel need to open a folder (only before version 0.7.0, since 0.7.0 it uses XDG preferences).

Terminal

terminal emulator used when an applet needs to popup a terminal window (only before version 0.7.0, since 0.7.0 it uses LibFM config).

Logout

program invoked when "Logout" is chosen in the lxpanel menu. Generally, this can be "killall <something>". Under LXDE, you can use "lxde-logout" to logout the session. Warning : prior to lxpanel version 0.5.10 it seems that it was "LogoutCommand" instead of "Logout".

Panels

Files defining the layout of panels are in ~/.config/lxpanel/<Profile>/panels. Each file in the directory defines a panel. On startup, all panels defined in those files are loaded.
The default config file looks like this:

It will kill lxpanel, delete the current menu cache and start the panel again. Tested with 0.3.99/0.3.999.

Testing LXPanel

Here you can find the special Information for LXPanel. If you want to use the menu plugin within LXPanel, you need to compile applications menu-cache and lxmenu-data too. First compile menu-cache, then lxmenu-data and at last LXPanel. For general information on testing read the Testing pages.

Icons only

It is possible to change the panel appearance to a very minimalist style, similar to tint2, displaying only icons rather than tabs. To do this, open panel settings (e.g. right clicking on the "desktops" part of the panel) and:

choose Panel Applets tab

from the list, choose "Task Bar (Window List)"

click edit

to get just the icons against the background of the panel, select both "Icons only" and "Flat buttons"

"Show tooltips" and "Show windows from all workspaces" options are also available on the Panel Applets tab.

To adjust icon size as well as panel widthand height, see the Geometry tab in settings. The thickness of the bar and the size of the icons are set separately.