怎样解决Network Manager消失的问题

来源:互联网 发布:linux驱动开发详解pdf 编辑:程序博客网 时间:2024/05/17 04:40

我个人遇到该问题,已经解决,现翻译部分以备份!


问题:

   今天早晨,当我打开笔记本试着链接到学校的无线网络时,我发现network manager 图标从任务栏上消失了。网络还能正常运行,但就是图标不知道什么原因消失了。

解决方案1:

如果是面板上移除了通知栏(右键选择了remove from panel),只需要添加就可以(右键面板选择“Add to Panel”,然后查找“Notification Area”,选择添加),这样网络图标就会重新出现,就可以重新选择无线连接。

注意:该方法不是一个永久的解决方案。



Problem

This morning, I booted up my laptop and tried to connect to the school's wireless when I noticed that the icon for Network Manager was missing from the toolbar. I checked to see that Network Manager was running and it was, the icon had just disappeared for some reason.

Solution 1

If you remove the notification area on the panel (right click the three vertical dots and click "Remove From Panel") and then re-add it ( right click the panel, click "Add to Panel" and search for "Notification Area", then click it) the Network Manager icon will reappear, thus allowing you to connect to wireless networks.

Note:- The above solution may not be the permenent solution

Solution 2

One user got this problem in a fresh install of 9.10!

So I was checking "Startup Applications" (System > Preferences) and I realized that the entry for indicator applet has the following:

sh -c "sleep 60 && python /usr/share/gnome-panel/add-indicator-applet.py"

Just after it comes the entry for Network Manager. Now I'm not sure if they're executed in the order in which they're listed and I highly doubt that also but assuming that they're executed in the same order then the Network Manager would start after the Indicator Applet and that may have something to do with the fact that it's icon is missing from the indicator applet.

So I changed the line above to the following:

sh -c "sleep 90 && python /usr/share/gnome-panel/add-indicator-applet.py"

Now the network manager's icon is there always. If the problem re-appears I'll update that fact here. But for now this change seems to have solved the issue!

Solution 3

I reinstall the network manager and found that nm-applet didn't show up in the notification area.

So, this is what I did and it worked for me.

1. Go to /usr/share/app-install/desktop and find Network Manager
2. Right click.. Properties.. copy the command line
3. Go to System.. Preferences.. Startup Applications and look for Network Manager
4. Click Edit and paste the command then save
5. Log out, log in

Command should be something like this

nm-applet --sm-disable

原创粉丝点击