You are not logged in.

#1 2015-10-28 11:17:35

Tomeklechu
Member
Registered: 2015-06-20
Posts: 18

[SOLVED] I3 nm-applet issue.

Hi folks,

I've been using arch with i3 for 2 months and it was all good. But I had to format and install new Arch.
Everything seem to be working well except network manager applet. Htop shows that nm-applet process is running after boot  up with

 exec --no-startup-id nm-applet

but still I can't access it, no icon on i3bar not even blank space for it.
when I manually try to execute nm-applet it spits me this info:

 (nm-applet:1477): nm-applet-WARNING **: Failed to register as an agent: (32) An agent with this ID is already registered for this user. 

I'd really appreciate if someone help me. On the old Arch+i3 i had no problems with nm-applet. I've been trying to solve this problem with uncle google but
obviously I've failed.
Regards.

Last edited by Tomeklechu (2015-10-28 22:53:06)

Offline

#2 2015-10-28 13:29:18

PhilippD
Member
Registered: 2015-02-06
Posts: 40

Re: [SOLVED] I3 nm-applet issue.

What happens if you type

 killall nm-applet ; nm-applet 

Offline

#3 2015-10-28 14:07:42

Tomeklechu
Member
Registered: 2015-06-20
Posts: 18

Re: [SOLVED] I3 nm-applet issue.

It kills all nm-applet processes. When i try to launch it i have blinking cursor cuz it doesn't start as Daemon. When i send Ctrl +  C code below.

 $ nm-applet
^Cnm-applet-Message: PID 0 (we are 886) sent signal 2, shutting down...

(nm-applet:886): GLib-CRITICAL **: Source ID 176 was not found when attempting to remove it
[shadow@shadow-the-root ~]$ 

Last edited by Tomeklechu (2015-10-28 14:07:54)

Offline

#4 2015-10-28 15:51:14

PhilippD
Member
Registered: 2015-02-06
Posts: 40

Re: [SOLVED] I3 nm-applet issue.

I also have i3 and nm-applet works without any problem.
The warning in your first post also happens to me when there is already an instance of nm-applet running.
The other one (:886) is also issued to my terminal after killing nm-applet, nothing to worry about.

Do you even have the package networkmanager installed? It's not a dependency of nm-applet.

Offline

#5 2015-10-28 16:11:34

Tomeklechu
Member
Registered: 2015-06-20
Posts: 18

Re: [SOLVED] I3 nm-applet issue.

Yes i have network manager installed and enabled along with gnome icons.

Offline

#6 2015-10-28 17:19:33

ajbibb
Member
Registered: 2012-02-12
Posts: 142

Re: [SOLVED] I3 nm-applet issue.

Have you checked to make sure you've got the system tray enabled in the bar section of your config file?  Something like this:

# show tray icons on the primary monitor
bar {
    tray_output primary
}

Last edited by ajbibb (2015-10-28 17:20:01)

Offline

#7 2015-10-28 19:59:39

Tomeklechu
Member
Registered: 2015-06-20
Posts: 18

Re: [SOLVED] I3 nm-applet issue.

Yes I have. Maybe there is some other reason here. I gotta wait for someone who knows a lot about i3 and its config.

# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
        status_command i3status
        tray_output primary
}

Offline

#8 2015-10-28 22:52:50

Tomeklechu
Member
Registered: 2015-06-20
Posts: 18

Re: [SOLVED] I3 nm-applet issue.

Right on, I removed this:

 tray_output primary 

and now applet is working.
Idk. why It prevented nm from showing down there but It's solved now.
Thanks to you all.

Offline

#9 2015-12-29 15:49:38

tom5760
Member
From: Philadelphia, PA, USA
Registered: 2006-02-05
Posts: 283
Website

Re: [SOLVED] I3 nm-applet issue.

I was having the same problem, and this helped!  Another way you could fix this is instead of removing that "tray_output primary" is to explicitly set a primary display before starting i3.

I added something like the following to my ~/.xinitrc:

...

xrandr --output LVDS1 --primary

...

exec i3

And now nm-applet works fine after a reboot!

Offline

Board footer

Powered by FluxBB