How to set custom (X, Y) coordinates for LXQt panel (Floating Panel)?

Hello everyone,

I want to place the LXQt panel anywhere on the screen freely. In the current panel settings, I can only set the position to Top, Bottom, Left, or Right. I want to be able to move it to any custom coordinates (X, Y) just like how it can be done in XFCE’s panel. Is there a way to achieve this, perhaps via configuration files?

I haven’t tested it, but the configuration is in the user folder.config/lxqt/panel.conf

What exactly should I modify in this file? I’ve opened it, but I don’t really understand these settings or how to change the coordinates from there. Could you guide me on which lines to edit?

I would have to test it; it might not even be in that one, but in a general file.

1 Like

It appears to be in that file, in the geometry panel section.

1 Like

This is my complete panel.conf file. As you can see, there is no [geometry] section here.

[General]
__userfile__=true
iconTheme=
panels=panel_{70464b5d-30bf-4666-b56c-810cb9dcc932}, panel_{a062f1e1-094d-4fc4-8e15-72fcff146fc9}

[backlight]
alignment=Right
type=backlight

[dockbarx]
IconSize=50
SetIconSize=true
alignment=Left
type=dockbarx

[fancymenu2]
alignment=Left
autoSel=true
autoSelDelay=50
categoriesAtRight=false
favorites\1\desktopFile=/usr/share/applications/pcmanfm-qt.desktop
favorites\2\desktopFile=/usr/share/applications/chromium.desktop
favorites\3\desktopFile=/var/lib/flatpak/app/com.heroicgameslauncher.hgl/x86_64/stable/694729a94f42e055a089b3a7604c131c496ded3f3b082b929c5c5613faacba26/export/share/applications/com.heroicgameslauncher.hgl.desktop
favorites\4\desktopFile=/home/ali/.local/share/applications/org.telegram.desktop._f9986ef3ea07a29b2753555c0634d8f8.desktop
favorites\size=4
icon=/usr/share/endeavouros/endeavouros-icon.png
ownIcon=true
type=fancymenu

[kbindicator]
alignment=Right
keeper_type=global
layout_flag_pattern=
show_caps_lock=false
show_layout=true
show_num_lock=false
show_scroll_lock=false
type=kbindicator

[panel_%7B70464b5d-30bf-4666-b56c-810cb9dcc932%7D]
alignment=-1
animation-duration=0
background-color=@Variant(\0\0\0\x43\0\xff\xff\0\0\0\0\0\0\0\0)
background-image=
desktop=0
font-color=@Variant(\0\0\0\x43\0\xff\xff\0\0\0\0\0\0\0\0)
hidable=false
hide-on-overlap=false
iconSize=30
lineCount=1
lockPanel=false
opacity=100
panelSize=37
plugins=fancymenu2, spacer3, dockbarx
position=Bottom
reserve-space=true
show-delay=0
visible-margin=true
width=62
width-percent=true

[panel_%7Ba062f1e1-094d-4fc4-8e15-72fcff146fc9%7D]
alignment=1
animation-duration=0
background-color=@Variant(\0\0\0\x43\0\xff\xff\0\0\0\0\0\0\0\0)
background-image=
desktop=0
font-color=@Variant(\0\0\0\x43\0\xff\xff\0\0\0\0\0\0\0\0)
hidable=false
hide-on-overlap=false
iconSize=21
lineCount=1
lockPanel=false
opacity=100
panelSize=37
plugins=spacer, kbindicator, statusnotifier2, backlight, tray2, volume2, worldclock2, spacer2
position=Bottom
reserve-space=true
show-delay=0
visible-margin=true
width=39
width-percent=true

[spacer]
alignment=Left
expandable=true
spaceType=invisible
type=spacer

[spacer2]
alignment=Left
spaceType=invisible
type=spacer

[spacer3]
alignment=Left
expandable=false
size=6
spaceType=invisible
type=spacer

[statusnotifier2]
alignment=Left
type=statusnotifier

[tray2]
alignment=Right
type=tray

[volume2]
alignment=Right
type=volume

[worldclock2]
alignment=Right
autoRotate=true
customFormat="'<b>'HH:mm:ss'</b><br/><font size=\"-2\">'ddd, d MMM yyyy'<br/>'TT'</font>'"
dateFormatType=custom
dateLongNames=false
datePadDay=false
datePosition=below
dateShowDoW=false
dateShowYear=false
defaultTimeZone=
formatType=short-timeonly
showDate=false
showTimezone=false
showTooltip=false
showWeekNumber=true
timeAMPM=false
timePadHour=false
timeShowSeconds=false
timeZoneWheel=true
timeZones\size=0
timezoneFormatType=iana
timezonePosition=below
type=worldclock
useAdvancedManualFormat=false

https://www.mediafire.com/file/hzkrxyfelsi9w3b/panel.conf/file

Could you please point out exactly where I should add the custom coordinates (X, Y) to make the panel move freely?

You are right that it doesn’t seem to let you do it, it is possible that the lxqt developers will give you more information about whether it can be done or not. I read that it could be done like this, but there really is no such option within the file.

1 Like

LXQt aims to be light, and thus provides basic features but adding more advanced usually has side effect of needing more code (ie. more weight).

My LXQt desktop was made to somewhat resemble my Xubuntu/Xfce config on this install; where in Xfce I did use up to 3 panels on the edge of a display (a small panel right side with only a clock but much larger than the panel in the middle or left of that display edge), I was unable to do this the same way in LXQt.

I created much of what I’m using now in much older LXQt versions (2018-2019). Whilst I have adjusted my panels since then, I’ve not seen it possible with the default LXQt panel. I’ve also simplified my Xfce panels so they better match what I achieved in LXQt (I actually came to prefer some of what I did in LXQt better, so Xfce was adapted to align with LXQt), but this box is a multi-desktop install & I want to be able to use either as seamlessly as I can.

You’ll need to use another apps (a dock) I suspect to achieve all of what you maybe after.

FYI: What is available is version specific; so providing your Lubuntu release can be useful/critical for accurate advice (I’m using LXQt 2.2 here).

Thanks for the info! I am actually using LXQt 2.2, and it seems this specific feature is still not supported.