LXDE 面板将右侧信息应用程序移至右侧

LXDE 面板将右侧信息应用程序移至右侧

我不知道如何将信息应用程序(电池、日历、音量等)移至面板的右侧。它们意外地自动移动到面板的中心。有任何想法吗?下面是我的屏幕图片:

在此输入图像描述

答案1

定义面板布局的文件位于 ~/.config/lxpanel//panels 中。目录中的每个文件定义一个面板。启动时,将加载这些文件中定义的所有面板。默认配置文件如下所示。我刚刚粘贴了我想您需要编辑的部分。

>     # Global section: defines appearance and behavior of this panel.      
>     Global 
>     {
>     edge=bottom    # The edge this panel attaches to
>     allign=left    # alignment: left/center/right
>     margin=0       # margin: margin to the edge of the whole screen
>     widthtype=percent   # percent/pixel
>     width=100      # width of the panel: The unit used here is according to widthtype.
>     height=26      # height of the panel
>     transparent=0  # use (pseudo-)transparent background: on=1, off=0
>     tintcolor=#000000  # color blended with the backgroud when transparency is used.
>     alpha=0    # alpha value used to blend tintcolor with background.
>     setdocktype=1   # ask the window manager to treat the panel as a dock.
>     setpartialstrut=1  # ask the window manager to reserve the space for the panel and not to cover it with maximized windows
>     usefontcolor=1   # use customize colors for the text instead of that defined in system theme.
>     fontcolor=#ffffff   # color of text on the panel (Currently this is only supported by clock applet)
>     background=1    # use customize image to draw the background of the panel. (cannot be used with transparent)
>     backgroundfile=/usr/share/lxpanel/images/background.png  # The image file used. 
>     }

所以你需要编辑allign变量。

相关内容