While watching some great talks in Nokia Developer Summit, Monaco I decided to blog about our new Network Manager which is made with great capabilities of KDE, Qt and Comar.

If you remember from my blog entry about Network Manager Plasmoid, Pardus uses Comar layer for all stuff that needs by a desktop user; networking, user operations, service operations, display management, disk management etc. It also integrated with PolicyKit; so you can define atomic privileges per user. Comar also provides great API that helps Qt’s “Code less, Create more.” thought ;)

l1060678

For example, to connect a profile that you have in your wireless profile list:

>> import comar
>> link = comar.Link()
>> link.Net.Link['wireless_tools'].setState('Monaco','up')

That’s all ! And if you need a privilege for this operation Comar will call PolicyKit-Kde4 for asking you a password ;) Comar uses D-Bus for communication and it is possible to make aysnc calls just by using async key and proper function to notify by current operation.

And this is the New Network Manager of Pardus !

nm-main

Don’t forget to watch the screencast in here !

If everything goes ok I will be at Akademy Gran Canaria and I hope we will show you a lot of impressive tools that we made ;)