On 4/17/24 19:41, Gareth Evans wrote:
On Wed 17/04/2024 at 19:41, David Christensen <dpchr...@holgerdanske.com> wrote:
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 (!).
...

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


I tried:

1. Remove Notification applet, restart, add Notification applet, no Network Manager, restart -- no Network Manager.

2.  Look at /etc/NetworkManager/NetworkManager.conf

        2024-04-18 02:40:49 dpchrist@laalaa ~
        $ cat /etc/NetworkManager/NetworkManager.conf
        [main]
        plugins=ifupdown,keyfile

        [ifupdown]
        managed=false

    Change it to:

        2024-04-18 02:43:35 root@laalaa ~
        # cat /etc/NetworkManager/NetworkManager.conf
        [main]
        plugins=ifupdown,keyfile

        [ifupdown]
        managed=true

    Restart -- no Network Manager.

    Verify /etc//NetworkManager/NetworkManager.conf:

        2024-04-18 02:45:05 dpchrist@laalaa ~
        $ cat /etc/NetworkManager/NetworkManager.conf
        [main]
        plugins=ifupdown,keyfile

        [ifupdown]
        managed=true


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


2024-04-18 02:45:10 dpchrist@laalaa ~
$ ps aux | grep nm-applet
dpchrist    1526  0.1  0.2 426484 35256 ?        Sl   02:44   0:00 nm-applet
dpchrist 1869 0.0 0.0 3240 712 pts/0 S+ 02:47 0:00 grep 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)


Move aside the ~/.config/xfce4 directory:


2024-04-18 02:50:20 dpchrist@laalaa ~
$ ls -ld .config/xfce4/
drwxr-xr-x 8 dpchrist dpchrist 4096 Apr 18 00:45 .config/xfce4/

2024-04-18 02:50:23 dpchrist@laalaa ~
$ mv .config/xfce4/ .config/xfce4-20240418-180045


Restart -- screen with wallpaper alone.


Right-click on desktop -> Applications -> Settings -> Panel brings up the Panel Preferences application. The Items tab shows my previous settings. Fumbling around, I am unable to get that panel to display (?). If I create a new panel, I am unable to get it to display (?).


Open a Terminal and look if Xfce created a new configuration directory:

2024-04-18 02:57:31 dpchrist@laalaa ~
$ ls -ld .config/xfce4*
drwxr-xr-x 7 dpchrist dpchrist 4096 Apr 18 02:57 .config/xfce4
drwxr-xr-x 8 dpchrist dpchrist 4096 Apr 18 00:45 .config/xfce4-20240418-180045


Yes, it did.  Compare the old directory to the new directory:

2024-04-18 02:58:11 dpchrist@laalaa ~
$ diff -rq .config/xfce4-20240418-180045/ .config/xfce4
diff: .config/xfce4-20240418-180045/desktop/icons.screen.latest.rc: No such file or directory
Only in .config/xfce4-20240418-180045/desktop: icons.screen0-1008x725.rc
Only in .config/xfce4-20240418-180045/desktop: icons.screen0-1424x857.rc
Only in .config/xfce4-20240418-180045/desktop: icons.screen0-1664x1007.rc
Only in .config/xfce4-20240418-180045/desktop: icons.screen0-1904x1037.rc
Only in .config/xfce4-20240418-180045/desktop: icons.screen0-1904x1064.rc
Only in .config/xfce4-20240418-180045/desktop: icons.screen0-2928x1037.rc
Files .config/xfce4-20240418-180045/desktop/icons.screen0-3824x1037.rc and .config/xfce4/desktop/icons.screen0-3824x1037.rc differ
Only in .config/xfce4-20240418-180045/: help.rc
Only in .config/xfce4-20240418-180045/panel: launcher-15
Only in .config/xfce4/panel: launcher-17
Only in .config/xfce4/panel: launcher-18
Only in .config/xfce4/panel: launcher-19
Only in .config/xfce4/panel: launcher-20
Only in .config/xfce4-20240418-180045/panel: launcher-24
Only in .config/xfce4-20240418-180045/panel: launcher-28
Only in .config/xfce4-20240418-180045/panel: launcher-7
Only in .config/xfce4-20240418-180045/: src
Files .config/xfce4-20240418-180045/terminal/accels.scm and .config/xfce4/terminal/accels.scm differ
Only in .config/xfce4-20240418-180045/terminal: terminalrc
Only in .config/xfce4-20240418-180045/: xfce4-screenshooter
Only in .config/xfce4-20240418-180045/: xfce4-taskmanager.rc
Files .config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml/displays.xml and .config/xfce4/xfconf/xfce-perchannel-xml/displays.xml differ Only in .config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml: keyboards.xml
Only in .config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml: parole.xml
Only in .config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml: pointers.xml Only in .config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml: ristretto.xml Files .config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml/thunar.xml and .config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml differ Only in .config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml: xfce4-appfinder.xml Files .config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml/xfce4-desktop.xml and .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml differ Only in .config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml: xfce4-notifyd.xml Files .config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml/xfce4-panel.xml and .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml differ Files .config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml and .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml differ Files .config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml/xfce4-session.xml and .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml differ Only in .config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml: xfce4-settings-manager.xml Files .config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml/xfwm4.xml and .config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml differ Only in .config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml: xsettings.xml


Move the old directory back:

2024-04-18 02:59:28 dpchrist@laalaa ~
$ mv .config/xfce4 .config/xfce4-20240418-0257

2024-04-18 02:59:54 dpchrist@laalaa ~
$ mv .config/xfce4-20240418-180045/ .config/xfce4


Restart -- back to Xfce panel with no Network Manager.



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


Agreed.


David

Reply via email to