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

R3.0: Minimal netvm system tray icon missing #1299

Closed
andrewdavidwong opened this Issue Oct 8, 2015 · 9 comments

Comments

Projects
None yet
3 participants
@andrewdavidwong
Member

andrewdavidwong commented Oct 8, 2015

If you follow the instructions here for using fedora-21-minimal as a netvm template, you will get a netvm icon (NetworkManager?) in the dom0 system tray in R2, but doing the same thing in R3.0 results in no netvm icon.

NetworkManager and network-manager-applet are both installed. Another missing package, perhaps?

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Oct 8, 2015

Member

Did you installed update from testing repository (that fixing menu shortcuts for minimal template)? This may be the same issue.

Member

marmarek commented Oct 8, 2015

Did you installed update from testing repository (that fixing menu shortcuts for minimal template)? This may be the same issue.

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Oct 8, 2015

Member

No, this template has no testing packages.

Member

andrewdavidwong commented Oct 8, 2015

No, this template has no testing packages.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Oct 8, 2015

Member

Try simply installing dbus-python. This is what that fix does.

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Member

marmarek commented Oct 8, 2015

Try simply installing dbus-python. This is what that fix does.

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Oct 9, 2015

Member

Yes, that fixes it. However, it also causes the icon to show up for the firewallvm.

(My solution is just to base firewallvm on plain fedora-21-minimal instead, since I have no need for any packages in the firewallvm.)

Member

andrewdavidwong commented Oct 9, 2015

Yes, that fixes it. However, it also causes the icon to show up for the firewallvm.

(My solution is just to base firewallvm on plain fedora-21-minimal instead, since I have no need for any packages in the firewallvm.)

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Oct 9, 2015

Member

On Thu, Oct 08, 2015 at 07:16:03PM -0700, Axon wrote:

Yes, that fixes it. However, it also causes the icon to show up for the firewallvm.

Maybe you have enabled network-manager also in firewallvm? Check
services tab in VM settings.

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Member

marmarek commented Oct 9, 2015

On Thu, Oct 08, 2015 at 07:16:03PM -0700, Axon wrote:

Yes, that fixes it. However, it also causes the icon to show up for the firewallvm.

Maybe you have enabled network-manager also in firewallvm? Check
services tab in VM settings.

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Oct 9, 2015

Member

Nope. (It's just the unmodified default sys-firewall.)

Member

andrewdavidwong commented Oct 9, 2015

Nope. (It's just the unmodified default sys-firewall.)

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Oct 10, 2015

Member

Short answer: the missing package is gnome-settings-daemon, probably not something you want to install in minimal template.

Details: currently upstream nm-applet is visible even if no NetworkManager is running. This is useless in Qubes, so we have some script which hides the icon. It is done using gsettings - as the official way to hide the icon. This doesn't work without gnome-settings-daemon.
Ideally we would not start nm-applet at all, but since sometimes it is useful to have it not only in NetVM (for example to configure VPN), we haven't simple way to do it flexible enough.
You can disable nm-applet using other means. For example by creating ~/.config/autostart/nm-applet.desktop:

[Desktop Entry]
NoDisplay=true

There are probably GUI tools for that.

Anyway since the main issue (missing nm-applet icon) is already fixed, I'm closing this ticket now.

Member

marmarek commented Oct 10, 2015

Short answer: the missing package is gnome-settings-daemon, probably not something you want to install in minimal template.

Details: currently upstream nm-applet is visible even if no NetworkManager is running. This is useless in Qubes, so we have some script which hides the icon. It is done using gsettings - as the official way to hide the icon. This doesn't work without gnome-settings-daemon.
Ideally we would not start nm-applet at all, but since sometimes it is useful to have it not only in NetVM (for example to configure VPN), we haven't simple way to do it flexible enough.
You can disable nm-applet using other means. For example by creating ~/.config/autostart/nm-applet.desktop:

[Desktop Entry]
NoDisplay=true

There are probably GUI tools for that.

Anyway since the main issue (missing nm-applet icon) is already fixed, I'm closing this ticket now.

@marmarek marmarek closed this Oct 10, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Oct 10, 2015

Member

@Rudd-O found out that installing dconf alone fixes the problem. Will add to dependencies.

Member

marmarek commented Oct 10, 2015

@Rudd-O found out that installing dconf alone fixes the problem. Will add to dependencies.

@Rudd-O

This comment has been minimized.

Show comment
Hide comment
@Rudd-O

Rudd-O Oct 10, 2015

No need for gnome settings daemon. Dconf alone works.

Rudd-O commented Oct 10, 2015

No need for gnome settings daemon. Dconf alone works.

marmarek added a commit to marmarek/old-qubes-core-agent-linux that referenced this issue Oct 11, 2015

marmarek added a commit to marmarek/old-qubes-core-agent-linux that referenced this issue Oct 11, 2015

Add missing R: dconf to hide nm-applet when not used
Without dconf, gsettings uses "memory" backend which isn't saved
anywhere and isn't shared across applications. This makes gsettings
pretty useless.

Fixes QubesOS/qubes-issues#1299

marmarek added a commit to marmarek/old-qubes-core-agent-linux that referenced this issue Oct 11, 2015

marmarek added a commit to marmarek/old-qubes-core-agent-linux that referenced this issue Oct 11, 2015

Add missing R: dconf to hide nm-applet when not used
Without dconf, gsettings uses "memory" backend which isn't saved
anywhere and isn't shared across applications. This makes gsettings
pretty useless.

Fixes QubesOS/qubes-issues#1299

(cherry picked from commit afb70cf)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment