On Wed 17/04/2024 at 19:41, David Christensen <dpchr...@holgerdanske.com> wrote:
> -------- Forwarded Message --------
> Subject: Re: Debian 11 Xfce panel Network Manager applet has disappeared
> Date: Wed, 17 Apr 2024 11:38:49 -0700
> From: David Christensen <dpchr...@holgerdanske.com>
> To: Gareth Evans <donots...@fastmail.fm>
>
> On 4/17/24 03:47, Gareth Evans wrote:
>> On Wed 17/04/2024 at 09:18, David Christensen <dpchr...@holgerdanske.com> 
>> wrote:
>>> On 4/16/24 08:56, Gareth Evans wrote:
>>>> On 16 Apr 2024, at 00:18, David Christensen <dpchr...@holgerdanske.com> 
>>>> wrote:
>>>>> On 4/15/24 09:21, Gareth Evans wrote:
>>>>>>> On Sun 14/04/2024 at 13:29, David Christensen wrote:
>>>>>>> ...
>>>>>>> I have used the Xfce panel Network Manager applet for many years.
>>>>>>> Tonight, I noticed that it has disappeared (!).
>>>>>>> ...
>>>>> 2024-04-15 16:08:23 dpchrist@laalaa ~
>>>>> $ ps aux | grep nm-applet
>>>>> dpchrist    1518  0.1  0.2 426500 35380 ?        Sl   16:06   0:00 
>>>>> nm-applet
>>>>> dpchrist    1940  0.0  0.0   3240   644 pts/0    S+   16:15   0:00 grep 
>>>>> nm-applet
>>>>>
>>>>> 2024-04-15 16:15:12 dpchrist@laalaa ~
>>>>> $ nm-applet
>>>>>
>>>>> 2024-04-15 16:15:31 dpchrist@laalaa ~
>>>>> $ ps aux | grep nm-applet
>>>>> dpchrist    1518  0.1  0.2 426500 35380 ?        Sl   16:06   0:00 
>>>>> nm-applet
>>>>> dpchrist    1952  0.0  0.0   3240   644 pts/0    S+   16:15   0:00 grep 
>>>>> nm-applet
>>>>
>>>> That seems to show it's running from the outset, just not being displayed 
>>>> on the panel.
>>>>
>>>> Does rebooting (or logging out and in again) bring it back?
>>>
>>>
>>> No.
>> 
>> OK.  You may have checked this already, but in case not, if I install XFCE 
>> and go to
>> 
>> Settings > Session and Startup > Application Autostart
>> 
>> there is an entry in the list called
>> 
>> "Network (Manage your network connections)"
>
>
> It is checked.
>
>
>> which shows a tooltip of "command: nm-applet"
>
>
> Command: nm-applet
>
>
>> Might this somehow have become unset?
>> 
>> I'm not sure if it's possible for GUI config helpers to become detached from 
>> actual settings - this seems to describe the relevant locations:
>> 
>> https://unix.stackexchange.com/questions/669372/xfce4-session-and-startup-where-are-autostart-items-saved
>
>
> 2024-04-17 11:21:06 dpchrist@laalaa ~
> $ grep nm-applet ~/.config/autostart
> grep: /home/dpchrist/.config/autostart: No such file or directory
>
> 2024-04-17 11:33:11 dpchrist@laalaa ~
> $ find .config -name autostart
>
> 2024-04-17 11:33:22 dpchrist@laalaa ~
> $
>
>
> 2024-04-17 11:34:14 dpchrist@laalaa ~
> $ grep -r nm-applet /etc/xdg/autostart
> /etc/xdg/autostart/nm-applet.desktop:Exec=nm-applet
> /etc/xdg/autostart/nm-applet.desktop:X-GNOME-Bugzilla-Component=nm-applet
>
>
> My WAG is that nm-applet is failing to start, but I have been unable to 
> find if and where any error message is reported.

There is apparently a long history of nm-applet/XFCE panel-related issues (and 
not many great answers), as evidenced by such as

https://bbs.archlinux.org/viewtopic.php?id=161998

https://forum.xfce.org/viewtopic.php?id=6105

https://superuser.com/questions/900490/networkmanager-icon-on-notification-area-is-not-present

If you get ps output like this directly after a reboot:

>>>>> $ ps aux | grep nm-applet
>>>>> dpchrist    1518  0.1  0.2 426500 35380 ?        Sl   16:06   0:00 
>>>>> nm-applet

then I don't think the issue is with the starting/running of nm-applet itself, 
but rather some issue with the notification plugin, which I'm not sure how to 
begin troubleshooting.  I reluctantly abandoned XFCE partly due to panel 
instability some time ago.

The advice in the final link to rm -rf  ~/.config/xfce* might be a bit extreme, 
but I might try renaming it to force a rebuild on next login, and possibly 
reinstall task-xfce-desktop (or selected packages)

Would be interesting to hear from anyone with XFCE panel troubleshooting 
experience.

Best wishes,
Gareth

Reply via email to