Connman network manager GTK frontend

filip

As promised in the installer topic, I've pushed the connman-gtk to git, including debian packaging and a small patch allowing main window to be toggled by clicking the tray icon.



For details and more screenshots see: https://gitlab.com/Cofi/connman-gtk

Build instructions:

1. Clone & cd:
git clone https://gitlab.com/Cofi/connman-gtk.git && cd connman-gtk

2. Install build deps:
mk-build-deps --install ./debian/control      # if "mk-build-deps" is missing install "devscripts" package first

3. Build and install:
dpkg-buildpackage -j$(nproc)
cd ../ && sudo apt install ./connman-gtk_1.1.1-2_amd64.deb

Enjoy & god-forbid there be any issues, let me know!  :)


ozitraveller

Awesome filip!

Like it!

Looks better than connman-ui

PackRat

Looks good.

One item though, don't mean to nit-pick but on your git page you have:

QuoteDependencies

  intltool
  GLib
GTK >= 3.10

Shouldn't connman be on the list, this isn't a stand alone application is it?
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

PackRat

#3
Successfully compiled it on Void Linux.

Nice work.

I'll have to run connman for a while; much smaller memory footprint than NetworkManager or wicd.

Also seems to require root privleges to connect/roam with wireless. Will that be the case on Debian as well?
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

filip

#4
Quote from: ozitraveller on April 19, 2017, 03:42:30 AM
Awesome filip!

Like it!

Looks better than connman-ui

Thanks!

Indeed, it's awesome really. Looks good, stays out of the way and it's usable when needed.  :)

Btw, I haven't mentioned it here, I'm not the actual author.
I just packaged and patched it to enable window toggling from tray icon.

Quote from: PackRat on April 19, 2017, 12:19:47 PM
Looks good.

One item though, don't mean to nit-pick but on your git page you have:

QuoteDependencies

  intltool
  GLib
GTK >= 3.10

Shouldn't connman be on the list, this isn't a stand alone application is it?

Well, it should be, though it implies itself since it's a front-end for it ( not a stand alone )...
Anyhow, it's fixed now.  :)

Quote from: PackRat on April 19, 2017, 12:59:16 PM
Successfully compiled it on Void Linux.

Nice work.

I'll have to run connman for a while; much smaller memory footprint than NetworkManager or wicd.

Also seems to require root privleges to connect/roam with wireless. Will that be the case on Debian as well?

I'm using it for atleast 6 months and honestly have no idea it's even there. The damn thing JustWorks™.  :D

As to WiFI & root, I wouldn't know since I don't have a WiFi to test ( desktops on LAN all around ).
Though ( on Debian atleast ) I am finding it odd that the "connmanctl" command is installed in /usr/sbin ( thus requiring root privileges )...  ::)
For example, on Arch it goes to /usr/bin...

With that said, you may try to symlink it to /usr/bin:
sudo ln -s /usr/sbin/connmanctl /usr/bin/connmanctl
I'm not sure that the front-end will even look for it there ( both connman and GUI might need rebuilding for this to work ).

And, after symlinking do verify that it actually works without root:
connmanctl scan wifi; connmanctl services

and then try to connect to one of WiFi's listed with:
connmanctl connect wifi_xxxxxxxxxx

Also, see: https://forum.voidlinux.eu/t/connman-needs-root/231/6

PackRat

Thanks for that Void forum link; that fix works.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

PackRat

QuoteWell, it should be, though it implies itself since it's a front-end for it ( not a stand alone )...

That's true. I've spent too many years proof reading technical and leagal documents.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo