Skip to main content
Topic: lxqt panel tray doesn't show any icons (Read 831 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

lxqt panel tray doesn't show any icons

Hello, using artix lxqt s6. I tried jdownloader, qbittorrent (appimge) and protonvpn, when i minimize them they are still running but none of them shows something in tray. Tray2 is shown in panel configuration and is seen by jdownloader, since if i remove it from panel elements the voice "hide in system tray" from the menu, that is shown when closing the application, is faded and cannot be selected.

The other icons which don't depend on tray are corrrectly shown (removable devices, volume control).

this is the panel.conf file:

Code: [Select]
[General]
__userfile__=true
iconTheme=breeze-dark
panels=panel1

[desktopswitch]
type=desktopswitch

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

[mainmenu]
alignment=Left
filterClear=true
icon=/usr/share/icons/artix/logo.svg
ownIcon=true
showText=false
type=mainmenu

[mount]
alignment=Right
type=mount

[panel1]
alignment=0
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=80
panelSize=32
plugins=mainmenu, quicklaunch, taskbar, kbindicator, tray2, mount, volume2, worldclock2, showdesktop3
position=Bottom
reserve-space=true
show-delay=0
visible-margin=true
width=100
width-percent=true

[quicklaunch]
alignment=Left
apps\1\desktop=/usr/share/applications/pcmanfm-qt.desktop
apps\2\desktop=/usr/share/applications/qterminal.desktop
apps\3\desktop=/usr/share/applications/firefox.desktop
apps\size=3
type=quicklaunch

[showdesktop]
alignment=Right
type=showdesktop

[showdesktop3]
alignment=Left
type=showdesktop

[statusnotifier]
alignment=Right
type=statusnotifier

[taskbar]
alignment=Left
autoRotate=true
buttonHeight=32
buttonStyle=IconText
buttonWidth=256
closeOnMiddleClick=true
cycleOnWheelScroll=true
groupingEnabled=false
iconByClass=true
raiseOnCurrentDesktop=false
showDesktopNum=0
showGroupOnHover=true
showOnlyCurrentDesktopTasks=false
showOnlyCurrentScreenTasks=false
showOnlyMinimizedTasks=false
showOnlyOneDesktopTasks=false
type=taskbar
ungroupedNextToExisting=false
wheelDeltaThreshold=300
wheelEventsAction=2

[tray2]
alignment=Right
type=tray

[volume]
device=0
type=volume

[volume2]
alignment=Right
type=volume

[worldclock]
type=worldclock

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

Re: lxqt panel tray doesn't show any icons

Reply #1
Could be in your config between statsnotifier2 and tray, swap the 2 around to tray. lxqt has a weird ordering system for the widgets that i don't understand very well, seems to be done this way to allow duplicates on multiple panels.

Hoping you use a window manager that doesn't try to manage the tray by default also.

I'd delete the whole config from scratch if there's nothing important to it.

Re: lxqt panel tray doesn't show any icons

Reply #2
Could be in your config between statsnotifier2 and tray, swap the 2 around to tray. lxqt has a weird ordering system for the widgets that i don't understand very well, seems to be done this way to allow duplicates on multiple panels.

Hoping you use a window manager that doesn't try to manage the tray by default also.

I'd delete the whole config from scratch if there's nothing important to it.

tried to delete the lxqt folder in .config and reboot without make any modifications to settings but no success. I use the default openbox window manager.

Re: lxqt panel tray doesn't show any icons

Reply #3
What is 'Tray2' ?

I just installed a very minimal lxqt (I've been meaning to do this for while anyway)
Code: [Select]
pacman -Syu lxqt-panel pcmanfm-qt lxqt-session

Started lxqt with startx /usr/bin/startlxqt
Started qbittorrent
And the qbittorrent icon correctly appeared in the tray.

Re: lxqt panel tray doesn't show any icons

Reply #4
What is 'Tray2' ?

I just installed a very minimal lxqt (I've been meaning to do this for while anyway)
Code: [Select]
pacman -Syu lxqt-panel pcmanfm-qt lxqt-session

Started lxqt with startx /usr/bin/startlxqt
Started qbittorrent
And the qbittorrent icon correctly appeared in the tray.

I tested qbittorent and YTdownloader appimages from a live system image (20230814 lxqt s6), checked that they will show an icon in system tray but they shows nothing for me unfortunately.

Re: lxqt panel tray doesn't show any icons

Reply #5
At a guess something else is running which is interfering with the systray in lxqt-panel.

You didn't address my question. What is "tray2" ? Maybe you don't know which is fine but seems it a likely candidate for what could be interfering.

If you are using openbox as the lxqt window manager be aware that the file ~/.config/openbox/autostart could be starting programs you don't want when using lxqt. I'm not sure about that but it's possible.

Otherwise look at what starts from
~/.config/autostart
/etc/xdg/autostart

And depending on how you start X
~/.xinitrc
or
~/.xprofile

htop or similar might be useful to see what processes are running under your username on a freshly started lxqt session

Re: lxqt panel tray doesn't show any icons

Reply #6
@gripped that's the naming system of lxqt, if you add widgets they get strapped with a number at the end even if you remove a prior duplicate. why it does that by default with some i have no idea, but i personally have no issues related to the tray.
OP said he deleted the configs from scratch already, cause yes ~/.config/lxqt covers the panel stuff.

Re: lxqt panel tray doesn't show any icons

Reply #7
@gripped that's the naming system of lxqt, if you add widgets they get strapped with a number at the end even if you remove a prior duplicate. why it does that by default with some i have no idea, but i personally have no issues related to the tray.
OP said he deleted the configs from scratch already.
Fair enough. Always learning.

But removing lxqt configs won't affect any autostarts. Which may or may not be the problem?


Re: lxqt panel tray doesn't show any icons

Reply #9
At a guess something else is running which is interfering with the systray in lxqt-panel.

You didn't address my question. What is "tray2" ? Maybe you don't know which is fine but seems it a likely candidate for what could be interfering.

If you are using openbox as the lxqt window manager be aware that the file ~/.config/openbox/autostart could be starting programs you don't want when using lxqt. I'm not sure about that but it's possible.

Otherwise look at what starts from
~/.config/autostart
/etc/xdg/autostart

And depending on how you start X
~/.xinitrc
or
~/.xprofile

htop or similar might be useful to see what processes are running under your username on a freshly started lxqt session

content of .config/autostart
Code: [Select]
cmst-autostart.desktop  connman-gtk.desktop  lxpolkit.desktop  lxqt-compton.desktop
content of /etc/xdg/autostart
Code: [Select]
at-spi-dbus-bus.desktop          lxqt-notifications.desktop    lxqt-runner.desktop                                 pulseaudio.desktop
geoclue-demo-agent.desktop       lxqt-panel.desktop            lxqt-xscreensaver-autostart.desktop                 xdg-user-dirs.desktop
lxqt-desktop.desktop             lxqt-policykit-agent.desktop  nm-applet.desktop
lxqt-globalkeyshortcuts.desktop  lxqt-powermanagement.desktop  org.gnome.SettingsDaemon.DiskUtilityNotify.desktop
output of ps -efw after exiting and re-entering in a session showing only processes with my username:
Code: [Select]
UID        PID  PPID  C STIME TTY          TIME CMD
chuckii  15578 15574  3 18:43 ?        00:00:00 lxqt-session
chuckii  15591     1  0 18:43 ?        00:00:00 dbus-launch --sh-syntax --exit-with-session
chuckii  15592     1  0 18:43 ?        00:00:00 /usr/bin/dbus-daemon --syslog --fork --print-pid 5 --print-address 7 --session
chuckii  15595     1  0 18:43 ?        00:00:00 /usr/lib/xdg-desktop-portal
chuckii  15603     1  0 18:43 ?        00:00:00 /usr/lib/xdg-document-portal
chuckii  15608     1  0 18:43 ?        00:00:00 /usr/lib/xdg-permission-store
chuckii  15623     1  2 18:43 ?        00:00:00 /usr/lib/xdg-desktop-portal-lxqt
chuckii  15632 15578  1 18:43 ?        00:00:00 /usr/bin/openbox
chuckii  15643 15578  0 18:43 ?        00:00:00 /usr/lib/geoclue-2.0/demos/agent
chuckii  15647 15578  7 18:43 ?        00:00:00 /usr/bin/pcmanfm-qt --desktop --profile=lxqt
chuckii  15649 15578  3 18:43 ?        00:00:00 /usr/bin/lxqt-globalkeysd
chuckii  15650 15578  2 18:43 ?        00:00:00 /usr/bin/lxqt-notificationd
chuckii  15651 15578  9 18:43 ?        00:00:00 /usr/bin/lxqt-panel
chuckii  15652 15578  2 18:43 ?        00:00:00 /usr/bin/lxqt-policykit-agent
chuckii  15653 15578  4 18:43 ?        00:00:00 /usr/bin/lxqt-runner
chuckii  15655 15578  5 18:43 ?        00:00:00 /usr/bin/nm-applet
chuckii  15672 15578  4 18:43 ?        00:00:00 /usr/bin/pulseaudio --start --log-target=syslog
chuckii  15690     1  0 18:43 ?        00:00:00 /usr/lib/gvfsd
chuckii  15696     1  0 18:43 ?        00:00:00 /usr/lib/gvfsd-fuse /run/user/1000/gvfs -f
chuckii  15711     1  0 18:43 ?        00:00:00 /usr/lib/at-spi-bus-launcher
chuckii  15719 15711  0 18:43 ?        00:00:00 /bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 12 --address=unix:path=/run/user/1000/at-spi/bus_0
chuckii  15753     1  0 18:43 ?        00:00:00 /usr/lib/at-spi2-registryd --use-gnome-session
chuckii  15760 15690  0 18:43 ?        00:00:00 /usr/lib/gvfsd-trash --spawner :1.15 /org/gtk/gvfs/exec_spaw/0
chuckii  15768 15672  0 18:43 ?        00:00:00 /usr/lib/pulse/gsettings-helper
chuckii  15776     1  0 18:43 ?        00:00:00 /usr/lib/gvfs-udisks2-volume-monitor
chuckii  15785     1  0 18:43 ?        00:00:00 /usr/lib/gvfs-mtp-volume-monitor
chuckii  15824 15578  5 18:43 ?        00:00:00 /usr/bin/lxqt-powermanagement
chuckii  15847 15578 22 18:44 ?        00:00:00 /usr/bin/qterminal
chuckii  15851 15847  0 18:44 pts/0    00:00:00 /bin/bash
chuckii  15868 15851 99 18:44 pts/0    00:00:00 ps -efw
however i have no autostart folder in ~/.config/openbox, nor ~/.xinitrc and ~/.xprofile.

Re: lxqt panel tray doesn't show any icons

Reply #10
You can test with a new user, with a clean minimal setup.

artist


Re: lxqt panel tray doesn't show any icons

Reply #12
I tested from a live environment and does the same thing.
That changes things.
Quote
I tested qbittorent and YTdownloader appimages from a live system image (20230814 lxqt s6), checked that they will show an icon in system tray but they shows nothing for me unfortunately.
I read that before as "Works on on the live CD".  "Doesn't work on my installed system."

Edit:
All I can say at the moment is I confirm what you are saying.
In a VM artix-lxqt-runit-20230814-x86_64.iso had no systray icon for qbittorrent.
Creating a new user test and logging in with that user showed the same issue.
Then I tried using the weekly iso artix-lxqt-s6-20240330-x86_64.iso but that had multiple issues on the VM so I can't recommend that atm. It may work better on bare metal though.

If I get time later I'll try reinstalling 20230814 and see if I can figure out what the issue is?


Re: lxqt panel tray doesn't show any icons

Reply #13
I tested from a live environment and does the same thing.
That changes things.
Quote
I tested qbittorent and YTdownloader appimages from a live system image (20230814 lxqt s6), checked that they will show an icon in system tray but they shows nothing for me unfortunately.
I read that before as "Works on on the live CD".  "Doesn't work on my installed system."

Edit:
All I can say at the moment is I confirm what you are saying.
In a VM artix-lxqt-runit-20230814-x86_64.iso had no systray icon for qbittorrent.
Creating a new user test and logging in with that user showed the same issue.
Then I tried using the weekly iso artix-lxqt-s6-20240330-x86_64.iso but that had multiple issues on the VM so I can't recommend that atm. It may work better on bare metal though.

If I get time later I'll try reinstalling 20230814 and see if I can figure out what the issue is?



However thanks for the help to everybody.

The issue is nonexistent in the live iso with xfce desktop. I tried the weekly lxqt ISO and does the same thing instead.

Re: lxqt panel tray doesn't show any icons

Reply #14
Understood. Continuous learning is key. Removing LXQt configs shouldn't impact any autostarts directly. However, whether it's the root of the issue or not remains uncertain.