New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nm-applet systray needlessly automatically started in non-networked VMs usability issue #1827

Closed
adrelanos opened this Issue Mar 10, 2016 · 4 comments

Comments

Projects
None yet
2 participants
@adrelanos
Member

adrelanos commented Mar 10, 2016

My work-gpg VM that has its NetVM set to none automatically starts nm-applet. (Found in ps aux.) It gets visible in systray. The tooltip says NetworkManager is not running....

It's confusing. Usability issue.

https://github.com/QubesOS/qubes-core-agent-linux/blob/master/autostart-dropins/nm-applet.desktop

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 10, 2016

Member

nm-applet is automatically hidden if network-manager isn't running: https://github.com/QubesOS/qubes-core-agent-linux/blob/master/network/show-hide-nm-applet.sh
Which template? Do you have this script referenced in /etc/xdg/autostart/00-qubes-show-hide-nm-applet.desktop? What happens when you call it manually?

Member

marmarek commented Mar 10, 2016

nm-applet is automatically hidden if network-manager isn't running: https://github.com/QubesOS/qubes-core-agent-linux/blob/master/network/show-hide-nm-applet.sh
Which template? Do you have this script referenced in /etc/xdg/autostart/00-qubes-show-hide-nm-applet.desktop? What happens when you call it manually?

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos Mar 10, 2016

Member

Which template?

Debian template.

Do you have this script referenced in /etc/xdg/autostart/00-qubes-show-hide-nm-applet.desktop?

Yes.

What happens when you call it manually?

sh -x /usr/lib/qubes/show-hide-nm-applet.sh
+ type nm-applet
+ nm_enabled=false
+ [ -f /var/run/qubes-service/network-manager ]
+ gsettings set org.gnome.nm-applet show-applet false

(process:1911): dconf-WARNING **: failed to commit changes to dconf: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dfile_2derror_2dquark.Code1: Cannot open dconf database: Error reading file '/home/user/.config/dconf/user': Is a directory
Member

adrelanos commented Mar 10, 2016

Which template?

Debian template.

Do you have this script referenced in /etc/xdg/autostart/00-qubes-show-hide-nm-applet.desktop?

Yes.

What happens when you call it manually?

sh -x /usr/lib/qubes/show-hide-nm-applet.sh
+ type nm-applet
+ nm_enabled=false
+ [ -f /var/run/qubes-service/network-manager ]
+ gsettings set org.gnome.nm-applet show-applet false

(process:1911): dconf-WARNING **: failed to commit changes to dconf: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dfile_2derror_2dquark.Code1: Cannot open dconf database: Error reading file '/home/user/.config/dconf/user': Is a directory
@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 10, 2016

Member

(process:1911): dconf-WARNING **: failed to commit changes to dconf: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dfile_2derror_2dquark.Code1: Cannot open dconf database: Error reading file '/home/user/.config/dconf/user': Is a directory

Interesting. In my (Debian) VM it is a file. Any idea what created a directory there?

Member

marmarek commented Mar 10, 2016

(process:1911): dconf-WARNING **: failed to commit changes to dconf: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dfile_2derror_2dquark.Code1: Cannot open dconf database: Error reading file '/home/user/.config/dconf/user': Is a directory

Interesting. In my (Debian) VM it is a file. Any idea what created a directory there?

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos Mar 10, 2016

Member
Member

adrelanos commented Mar 10, 2016

@marmarek marmarek closed this Mar 11, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment