I´m sure there are some of you folks out there who make use of the xfce desktop environment.
So perhaps someone of you has encountered the same phenomenon I´m about to mention.
I´m using Linux Lite 6.2 which makes use of (a modified version of) the xfce DE. By default it comes with the xfce-panel. The version of the panel LL uses is 4.16.3-1.
Every now and then I notice that some icons are missing from the panel. Those icons should be visible at all times when a certain programme/process is started.
Here´s an example:
I start nixnote2 and the respective nixnote-icon is shown in the panel. That´s alright so far. But suddenly - seemingly out of nowhere - the icon vanishes although the nixnote process is still running.
The same can theoretically happen to any other icon, like the Linux Lite Terminal-icon.
However:
when I restart the panel process with xfce4-panel -r all icons are there again. Well, although this seems not to be anything major it still annoys me to a certain extent.
Curiously enough there are days when all works well, without any hiccups but today I needed to restart the panel already twice…
Has anyone of you encoutered anything similiar to that And if so, could you fix the issue
Many thanks for your help in advance and many greetings
Rosika
P.S.:
BTW: there are no log entries indicating that something would not be right. I looked for that with lnav.
Reading the archlinux page I got the impression that the problem discussed there was a bit different:
And I noticed a lot of the icons in the applications menu are missing
It seems the user has problems getting the icons started at all.
Of course it´s possible I may have misinterpreted the statements.
With me it´s rather this: icons are displayed in the panel but suddenly they vanish (but not always).
XFCE comes with the default Adwaita and HighContrast icons
Yes, that´s also the case with me. I think that shouldn´t be the cause of the problem…
I also consulted ChatGPT to see what it has to say.
One of its suggestions was:
Reset the xfce-panel settings:
Sometimes, the panel settings may get corrupted, which could result in missing icons. You can try resetting the xfce-panel settings to their default values. To do this, you can run the following command in the terminal:
This will quit the xfce-panel, remove the panel’s configuration files, and restart the panel with default settings.
Note that this will reset your panel settings, so you may need to reconfigure your panel layout and settings after running this command.
I´m not sure whether this would help at all as I don´t see any reason why the panel settings would´ve gotten corrupted in the first place…
Whenever I use Xfce I upgrade to xfce 4.18.1 here is how. Pop this repo from Xubuntu in update to populate the repo then . Reboot then right click your panel go to about and you should be using 4.18 you should not have any more problems. Also as a rule of thumb I always install panel profiles sudo apt install xfce4-panel-profiles. You can then backup your panels. Here is the repo for upgrading to xfce 418.1 sudo add-apt-repository ppa:xubuntu-dev/staging sudo apt update sudo apt upgrade
env LANG=en_US.UTF-8 apt-cache show xfce4-panel-profiles
Package: xfce4-panel-profiles
Architecture: all
Version: 1.0.13-0ubuntu2
Priority: optional
Section: universe/xfce
Origin: Ubuntu
[...]
Enhances: xfce4-panel
[...]
Homepage: https://git.xfce.org/apps/xfce4-panel-profiles/about/
Description-en: layout manager for the Xfce panel
Xfce Panel Profiles (xfce4-panel-profiles) is a simple application to
manage Xfce panel layouts. This tool makes it possible to backup,
restore, import, and export these panel layouts.
[...]
Task: xubuntu-desktop
That looks good indeed.
Just an additional question:
Why do I need to backup, restore, import, export panel layouts?
I mean: once the panel layout is successfully set up everything is taken care of, right?
Thanks so much for your help, Mark.
@ all:
I also received an answer from stevef, who is a moderator in the Linux Lite forums.
So what @clatterfordslim suggests is definitively the way to go.
Still I want to give to you the response I got from the LL forum (for the sake of completeness):
I’ve experienced this on occasionally.
I think it is this xfce bug which should be fixed in in xfce4-panel 4.16.4 and 4.17.0
Another workaround suggested is to just hover the mouse pointer over the launcher area.
I never remembered to try that - normally just use Alt Tab to find the missing application and the panel eventually self fixes.
In case you need to reinstall or go to another Xfce desktop, you can use the backup which is stored inside your .local/share/xfce4-panel-profiles to restore the panel look you had before.
I also do this in Linux Mint 21.1 which is based on 22.04.
All my Linuxes except Debian have xfce 4.18, and I have never noticed a missing panel item.
That said I cant really see the point of a panel item just to say that there is a window on the screen. I know there is a window on the screen… I can see it.
Perhaps one of you hi-tech graphics users can enlighten me as to what I have been missing out on?
I see. Well, that´s certainly a wise thing to do. Thanks for the clarification.
I guess installing xfce4-panel-profiles is worth the while then.
Great. So you opted for xfce instead of cinnamon then.
I was also considering Linux Mint (the xfce edition) but wasn´t so sure about the flatpaks it comes with.
So I finally opted for Linux Lite. I guess both distros are great.
Yes, I guess that´s the way it should be as the bug seems to have been fixed from xfce4-panel 4.16.4 onwards.
Well, in my case it was nixnote2 which was still running.
All nixnote-related windows were already closed and the main window as well. Normally the respective icon would still have been visible in the panel reminding me to close the running nixnote instance before shutting down my system.
In that particular case it was my memory that said to me: wait, shouldn´ there still be nixnote running? Otherwise I would´ve forgotten to close it altogether.
So - to a degree - I think it makes sense to be able to rely on a “well-oiled” panel.
The Flatpaks is only user choice of whether or not to install. I’m currently doing a video series of making Xfce your own. I’m using Linux Mint Xfce because as it comes fully packed out with bloat, that in my video series I strip it back. Still using Linux Mint’s updater and their inbuilt apps, but their artwork has been stripped out, along with their icons, themes, wallpapers. Linux Lite and Linux Mint both come down at 2.6 or so GB and that is just ludicrous in my eyes. In my video series will eventually be making my own custom ISO (International-Standardization-Organisation) file with Cubic. I have my own dark theme with my name on, it’s GTK2 and it just works. I use Sardi-Ghost-Flexible icon theme from ArcoLinux. Part One and Two of my videos will be going up onto YouTube tomorrow.
You can keep hold of your saved panel and use it in any Xfce DE. You have to make sure to install panel-profiles first though. If you have the apps you use installed, it remembers on the panel where they are etc.
Rosika, I dont understand.
I have always naively assumed that if when I start a process it opens a window, then if I close the window I kill the process. You are telling me that is not always the case and you give the nixnote example.
I do understand that if you minimize the window, the process still runs, and the icon remains
And I know that there can be processes started from the command line, which never open a window and therefore do not have an icon.
But your case mystifies me.
I tried nixnote in MX. If I kill tne window with ‘X’ the icon stays and nixnote continues running. If I use File->Close the icon disappears and nixnote is not running.
That is quite different to most apps, eg Gimp, where either kill or close will terminate the app and remove the icon. I learned something today.
Nixnote looks interesting and useful.
Regards
Neville
I’m making it for myself through Cubic, won’t be distributing it. Just so I can reinstall it without having to go through all the hoops of getting rid of all the bloat it comes with. Libreoffice for instance causes the installation of Mint 21.1 Xfce to take 10 minutes to install. All of the unnecessary themes over 2GB worth. There is no need for all the bloat. I have stripped it out, but still keeping it Linux Mint, just without their default themes, my own theme only. Libreoffice should be a choice the user makes, not there out of the box.
Yes, I think it depends on the settings of nixnote2.
I just took a look at it and I saw that “minimize in taskbar” (rough translation) is checked on the appearance-tab.
This setting seems to result in the following behaviour:
When closing the window with the “x” in the upper right corner the window is minimized instad of the process being shut down.
Of course I can untick this setting, but by default it comes as being ticked.
So the icon in the panel would remind me of the stll running nixnote-process…
Yes, that´scorrect. It´s the same with me.
Indeed, it is is - at least for me.
I keep a lot of notes in it…
…from interesting links (still to read) to Hungarian vocabulary and grammar and other stuff .
The other approach to avoiding bloat isto start with a minimal (eg net install) distro and only add what you need . Gentoo is like that, but you can do it with any distro.
OK, I misunderstood, you are not making an iso for distribution.