Skip to content
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

Requests - Just A Few Small Requests for GUI #4

Closed
ghost opened this issue May 19, 2014 · 81 comments
Closed

Requests - Just A Few Small Requests for GUI #4

ghost opened this issue May 19, 2014 · 81 comments

Comments

@ghost
Copy link

ghost commented May 19, 2014

Hi,

First let me say this is a really nice GUI, nice work, and I really hope you're going to be at this for years to come! :)

I have a few requests...

These are my specs;

Slackware 14.1 x86_64
Openbox 3.5.2
tint2

I start cmst from ~/.config/openbox/autostart

sleep 3s && cmst -m &

This is working really great, cmst goes straight to the tray of tint2 minimized.

Now the problem, when I click on the tray icon it always opens up MAXIMIZED in size filling up my entire screen.

Can you please make the gui open in a small default size when opening it back up, and also make the gui so the end-user can size it to the size they want, so it will maintain that size when opening it back up.

Then if you will please consider under the 'Details' tab, under 'Service', when clicking the drop down, for all the wifi connections just list only the ssid there, personally here I think it's easier for the end-user to find networks based on the ssid, and then when someone picks a wifi ssid, then all this information is listed below. The last time I checked the mac gets listed in the bottom with all the details, so it seems a bit redundant having the mac listed in three different places.

wifi_9988782_managed_psk

To be honest even as geeks, do we really need the MAC listed under 'Status' - 'Services' - 'Connection' and the 'Details' drop down menu? It seems a bit overkill for the average user to list all this, no? Isn't just listing the ssid and encryption type enough information? So for all the MAC numbers under the 'Connection', who really needs this information? Just some food for thought, unless this all just comes from connman and there's no way for you to control this output. But again, when an end-user picks the wifi under the 'Details', and clicks on the drop down, then as I mentioned before, under a 'Connection' section you create, then they get all this information, and only in this location. I personally think just the ssid and encryption type being listed under the 'Status' - 'Services' is enough information.

Also I think it's a good idea to remove the ChangeLog from the GUI, it's seems to be common to just keep this in a /doc file, plus the ChangeLog gui fills up my entire screen running from top to bottom, and whatever is being displayed on the bottom is cut off, so you can't read it.

And this is my really big request, hehe, can this PLEASE be made to work with xfce4-notifyd? Which I believe is just a GUI for notify-send for OSD notfications. :)

Thank you very much for your time and consideration for these requests, keep up the great work! :)

@andrew-bibb
Copy link
Owner

moulei,

I'm glad you are using the program and it is working for you. To your comments:

  1. Maximized is interesting. The main control box is a dialog and should not open full screen, especially with a common WM such as Openbox. The currently defined "normal" size is 702x546, and it should open that way. I'll check the settings in the GUI, if I had to guess I've got a line somewhere (or multiple somewheres) that says maximized instead of normal.

  2. Remembering user settings I can do. While answering this I noticed I did not implement the GUI visual cue in the lower right corner to indicate you can grab the corner and resize the dialog. You can, it is just the visual cue that is missing. I'll put that in as well

  3. The text in 'Details' under 'Service' is me being lazy. That is the ID returned by connman and I just used it as is. It is possible to take that ID and then lookup the SSID associated with it.

  4. I see the point about redundancy, but I do want the full ID (MAC) listed at least once. Probably makes the most sense on the first tab. Reason I want it shown at least once is that if you are using the command line interface, connmanctl, you need that information to connect. Of course if you are using the GUI you are probably not using the command line interface, but I'd still prefer to keep the information shown at least once.

  5. The change log is actually a text file in the text directory, if you would prefer to read it there is is called changelog.txt. That txt file contains the rich text formatting codes, and it is actually compiled into the program. I am aware of the potential for the text running off the bottom of the dialog, knew we were close but was not sure we were there yet. I'm using that same construct in another program and there I'm definitely off the screen. I need to implement scroll bars or paging into the dialog.

  6. I'm not personally familiar with xfcd4-notifyd, but I'll take a peek. I'd obvioulsy prefer to code for one notify daemon, or one standard if such a thing exists. What sort of information do you want output to the notify daemon?

Just so you know, we are starting our very short spring/summer right about now, so it is most likely the simple items will be knocked off first (maximized window, save settings). The things that require more time, such as the notify daemon, and changing the presentation of the data will most likely happen towards Fall.

@ghost
Copy link
Author

ghost commented May 20, 2014

  1. Maximized ... ok

  2. User settings ... ok

3). Ahh come on don't be lazy, I'm cheering you on! LOL

4). Yes lots of redundancy, you say you want the full mac listed once, I'm all for that, it's just to me looking at the GUI the 'Details' looks exactly like where it belongs, hence the name 'Details', so I'm not sure why this can't be just the one place? Anywhere else IMHO just looks out of place.

Looking at this screen shot I found online it shows the complete mac for the eth0;

Device Address:

https://www.dropbox.com/sh/4mjz11k2anb45zw/ks_U0qt6F5#lh:null-page2.png

5). Ah yes some scrollbars, now why didn't I think of that? LOL...

6). If I'm not mistaken xfcd4-notifyd doesn't do anything fancy here, it's just a UI to notify-send is all... I can tell you right now every app that has notification support seems to work with it. HandBrake, Transmission, SABNzbd, etc...

Do you know Yad? It's a fork from Zenity, and I use it with a bash script the developer created to make a GUI frontend for the command line of OpenVPN, and I have a simple little bash command I use in two scripts for when the VPN Is connected or disconnected like the below example using notify-send that xfcd4-notifyd uses and gives me my nice OSD. :)

#!/bin/bash
DISPLAY=:0.0 sudo -u foo /usr/bin/notify-send -i /home/foo/.icons/AwOken/clear/128x128/apps/openvpn.png "OpenVPN Disconnected"

Something I just realized I'm also having a problem with is turning the wifi on an off, it's the only technology I play with under Technologies. For where the ON OFF is located it would be nice to have buttons coded here you click and it just works. At the moment I click and click and click and sometimes nothing happens, so buttons would be really nice.

thanks :)

@andrew-bibb
Copy link
Owner

I think I've got the maximized bug worked out. Can you download the changed files, compile, try it out and let me know. I'm running the i3 window manager and it kind of ignores size hints for dialogs and does its own thing, which is why it looked (and still looks) fine on my side.

I also added a "Less" checkbox to the services window to toggle the long name on and off. Is this closer to what you think the display should be? If it is I'm thinking of having that setting saved with the sizes.

I thought the ON/OFF lag was just on my machine, so thank you for verifying that. That may be a connman or dbus issue, QT should send the request immediately. I'll put some debug code in to see where the lag is occuring. If it is connamn, or more than likely dbus, I may disable the line after the first click and show a popup to the effect of "hold your horses, we're trying to toggle power"

@ghost
Copy link
Author

ghost commented May 22, 2014

Hi,

Sounds great, by the way I did all this connman stuff as a trial and I don't have any of it installed at the moment, I reinstalled my clonezilla backup of my box before I started playing with all this and put that backup back.

So in Slack it doesnt use QT5 at the moment.

Slackware 14.1 uses qt-4.8.5, do you know if you can have qt4 & qt5 installed at the same time, it won't cause any issues?

From what I've read you can have them both installed and I found this qtchooser, here's Ubuntu's man page on it;

http://manpages.ubuntu.com/manpages/saucy/man1/qtchooser.1.html

So I'll use this qtchooser and keep them both installed.

I really wish your app could work with qt4, would make life simpler for me, LOL...

Thanks

@andrew-bibb
Copy link
Owner

Down porting I'm afraid would not be simple. QT introduced a new class to parse command line arguments in 5.2 and I use that new class extensively. It would be a lot of (tedious) work to deal with all the command line arguments and options porting to any version before 5.2.

I may have been a bit quick to cast aspersions on dbus and connman for the lag problem. Thinking about it overnight and it may actually be at my end in waiting to process the dbus return. Anyway I'll put in the debug markers and try to pin it down.

I was never completely happy with the toggle power on/off there because it is not typical. That is the only field where the user can interact with the contents. I looked at different ways and kept coming back to click the on/off field as being the most natural so I decided to accept the atypical behavior. I'm considering now adding a toggle button for power that activates, similar to the Move Before and Move After buttons, when a service is selected.

@ghost
Copy link
Author

ghost commented May 23, 2014

I guess 4 & 5 can coexist from what I can tell so I compiled 5 again over and I'm going to put it back in and have at this again, so I'll let you know about what you've done so far.

thanks

@ghost
Copy link
Author

ghost commented May 23, 2014

YEAH the window stays to the size you make it...

But I found another bug so I'll make a report for that so you can keep track of them...

thanks

@ghost
Copy link
Author

ghost commented May 23, 2014

Oops I yeahed to soon, LOL...

cmst maintains position and options you've made, but if I log out of X then startx over and log back in the size and options I have enabled are gone...

The size is changing back to a default small size, and the one option I've played with is 'Less' when I check it and log out and back in, it's unchecked...

The size and options need to be maintained on a restart.

By the way you have a TYPO on the 'Help' tab you spelled 'Whats This' instead of making it' What's This'...

One other thing I forgot to mention the tray icon of 16x16 is to small, I think the average sizes being used is more like 24x24 Even for the Global Properties making the icons a little bigger would look nicer.

Andrew, I hope you appreciate my 2 cents worth? LOL... To be honest here Nuvola is a bit on the old side of icons, going back 10 years ago, hehe... :)

If you're not a graphic designer, hopefully in time you can find someone to volunter and make something nice and more modern up to date, worthy of your fine application! :)

Well qt5 doesn't use qtconfig and it's going to support gtk3 either.

Right now I'm having to start it as; cmst -style gtk

But it should work with export QT_STYLE_OVERRIDE=gtk in my .bashrc but it's not...

thanks

@andrew-bibb
Copy link
Owner

Haven't yet put the settings to save all the sizes or the less box check state. Was going to start that next, but the code is a bit more involved. We'll see how far I make it this evening.

Thanks for the typo, I like easy ones to fix.

Icon size - easy enough to increase. I don't use a whole lot on my setup, but when I do they all match in height so possibly the i3bar scales them to the bar size so I don't notice.

For the icons: I mainly hang out in the Arch Linux side of things, and in that forum where I announced the program it I put out a call to any graphic type person who was looking for eternal fame and glory that they were welcome to provide some, I think I only use a total of 8 different ones. Didn't hear any respones, but the offer is still open if you know of anybody. I use Nuvola on all my projects because it has a decent license and a huge icon set. No other reason than that.

There is a start up switch that is supposed to use system icons instead of the built in ones. Somebody asked for it, I put it up, but never heard back if it worked or not. If you start with -i or --icon-theme it should use your builtin icon theme. I don't have a system theme so really can't check (I do like my minimal systems), but I'd be curious to know if it does work. If it does work and you don't like the choices it used let me know as I really just picked them based on text descriptions.

@ghost
Copy link
Author

ghost commented May 23, 2014

Ok settings to save...

Typo ok...

Icon size, yes needs to be little bigger 22x22 or 24x24

Icons for design, well if you just use a set for now, check out AwOken;

http://alecive.deviantart.com/art/AwOken-163570862

At least AwOken is a bit more modern up to date, I use Nuvola 10 years ago, they're old, and you have nice work here, it deserves something modern up to date, current with the times. :)

Startup switch ahh ok I'll try it with that.

By the way is there a man page for this thing? I don't recall seeing one when I built it.

Here's all I'm doing in a Slackware build script to compile it;

qmake-qt5
make
make INSTALL_ROOT=$PKG install

and this is my contents of the package;

FILE LIST:
./
install/
install/doinst.sh
install/slack-desc
usr/
usr/doc/
usr/doc/cmst-05.23.14/
usr/doc/cmst-05.23.14/cmst.SlackBuild
usr/doc/cmst-05.23.14/README
usr/bin/
usr/bin/cmst

You only mentioned doing qmake but this doesn't create the /man path and add in the man page for it.

What compile flag would be needed to do this, or for now it just has to be moved manually?

By the way for other Openbox users I found out by placing export QT_STYLE_OVERRIDE=gtk
in ~/.config/openbox/environment it worked to get cmst to use gtk2 themes, not sure why the export variable wouldn't work in my .bashrc, where I usually place such things.

http://openbox.org/wiki/Help:Autostart

So just wanted to share that with you in case you get other Openbox users stuck. :)

@andrew-bibb
Copy link
Owner

I fixed the typo in the help tab in the files uploaded when I fixed #6.

I actually put my first cut at a manpage up on github earlier this week. It should be in the text directory, called man_cmst. Still very much a work in progress and if you want to use it it has to be (for the moment) moved manually. I think I need to modify the .pro file to have qmake add the proper lines into the make file so that it is installed. Never done one before so some research is in order.

I'll take a look see at the AwOken icons you linked to.

@ghost
Copy link
Author

ghost commented May 24, 2014

Hi Andrew,

For the man shouldn't that be renamed from man_cmst to cmst.1?

For now I'm going to rename it in the src to cmst.1 and mv and gzip it to /usr/man/man1 :)

@andrew-bibb
Copy link
Owner

Most certainly once it is ready to go.

@ghost
Copy link
Author

ghost commented May 24, 2014

WOW fast reply, I edited my post above, unless you just saw.. :)

@ghost
Copy link
Author

ghost commented May 24, 2014

So starting it as;

cmst -i -m &

The tray icon should use an icon theme I'm using? Also would the two icons under the Status tab for Global Properties also change?

I change my icon sets with lxappearance.

thanks Andrew

@andrew-bibb
Copy link
Owner

The offline mode icon (green or red golf ball) does not change because I couldn't find a system one that made sense. For the others if the system icon cannot be found the program will fallback to the Nuvola ones. The tray icon should change assuming there is a matching system theme icon for that action. These are the system icon substitutions I used.

// bookmark --> emblem-favorite
// connect_established --> network-transmit-receive
// connect_creating -->network-idle
// connect_no --> network-offline
// ledgreen --> no substitution
// ledred --> no substitution
// cancel --> network-error
// help --> system-help

Again, It is supposed to work that way, but I've not been able to test it. Do any of the icons change? System help is the ? for "What's This" in the lower left of the dialog. If any changed I'd expect that one to.

@ghost
Copy link
Author

ghost commented May 24, 2014

The ON/OFF isn't working right now, not sure if you disabled it, and you're working on something for it?

Have a look at the screen shot below, this is what I meant for buttons for the ON/OFF, just something small and flat looking so it doesn't distract from the gui and looks good, of course it changes to match themes, but it stays flat looking for any theme...

http://i.imgur.com/a2O3Oar.png

Oh, sorry I forgot to reply about the "Less" checkbox, I guess some people might like this, but again the MAC address is being shown under 'Details'; Device Address, again I think this is the only place it needs to be... :)

I still think better to not have a Changelog button, that thing is going to be BIG over time, LOL...
Just keep ChangeLog in the /docs like most apps have. But if you just got to have it, need to change it to ChangeLog, one word.

If I start it as cmst -i nothing changes when I pick a new iconset in lxappearance.

I tried these iconsets from lxappearance with no changes;

AnyColorYouLike
AwOken
Elementary
Faenza
Gnome
High Contrast

I just hacked on the code with QT Desinger and I added in AwOken icons... :)

The offline mode icon (green or red golf ball) changes for me, also the tray icon changes, have a look at the screen shots below using AwOken.

http://i.imgur.com/0Q255lo.png
http://i.imgur.com/oYiHs0x.png
http://i.imgur.com/ZO2ul5J.png

Here's the icons if the license is ok and you want to use them;

https://www.dropbox.com/s/1igzpnl8fbfuawy/images.tar.gz

@andrew-bibb
Copy link
Owner

I haven't touched the on/off yet. Next up on my hit parade.

Bummer on the -i not working, now I don't know if is my code (probably) or if neither of us has a system icon theme installed.

I was going to ask which version of the AwOken icons you wanted, now I know. Looked for a license last night and didn't see one listed on the web site so figured I'd have to download and see. I'm pretty flexible, just need something that lets me use and distribute it (without forcing my code to become GPL, I like my MIT license). I've no problem changing the icon set. If you want to help things along list for me the ones you'd like to see and where.

I see where you are going with the button idea. I think I can do it with a custom item delegate, but it will take me a bit to hack through it. I like it, but it is not going to happen real soon.

Settings should now be working and I've uploaded the code to github.

We may have to agree to disagree on the change log button. One of my pet peeves is getting a program update in my office and then haveing to sort through all the packing material, or even worse go to a web site, to find out what has been changed. When I've got the program up on my screen I just want to click something to see what is new. Assuming I'm like most people (maybe not a great assumption) you really only want to see what is different from the last time you used the program, and that will always be at the top of the change log. Is change log really changelog (one word)? English changes so fast, particularly with technical terms, that I can't keep up (we need a change log for English!). If it really is one word I'll change it.

The entry in the pulldown on the Details tab is the ID returned by connman, and with "Less" checked it is the only place we show it. I agree it is based on the MAC, but it is separate. The text that shows in the pulldown entry is what you have to use if you want to use the connmanctl command line interface. As an aside, in /var/lib/connman there is a directory named exactly as the text in the pulldown. These directories are created and named by connman and contain the information (including passphrases) necessary to manage the network connections.

@andrew-bibb
Copy link
Owner

I think I may have solved the lag problem when togging power. New code is uploaded if you want to try it out.

@ghost
Copy link
Author

ghost commented May 24, 2014

Well the ON/OFF doesn't do anything now when I try to click, before if I remember correctly it seemed to highlight before I clicked it and would go on or off, now I click and nothing is happening.

In ~/.config/openbox/environment I have this so I can use gtk2;

export QT_STYLE_OVERRIDE=gtk

I'll comment it out and test to see if the QT theme works for the ON/OFF and not s GTK2 theme issue, and let you know.

I'm downloading iconsets and placing them in ~/.icons and LXAppearance sees them and when I pick an iconset all my applications change and use these icons so I know this works on my end.

Retain Settings, is this suppose to remain checked when you restart cmst? Because when I log out of X back into X it's unchecked.

ChangeLog, ok you're the Boss it's your app, LOL... btw in QT Designer I changed the name to &ChangeLog. Most docs I've always seens it written as one word, either Changelog, or ChangeLog...

One other thing I did in QT Designer was remove all the Tooltips, this seems a bit overkill since you have a 'What's This' explanation for them. I'm not so sure having tooltips is needed, always getting popups in your face. Also most people using connman and cmst are going to be geeks I'm assuming and aren't going to need tooltips, it's all pretty self explanatory anyways.

Keep up the great work!

By the way, some thought here, if you think you'll need more options down the road you might want to consider making a preferences tab to place them in rather then on the gui.

Hide Tray Icon
Retain Settings
All Devices off

With these three, it's starting to get a little busy looking...

@andrew-bibb
Copy link
Owner

Retain settings is supposed to keep the check box and restore the GUI to where it was when you closed the window, and in typing this I may have just found the answer. Did you change the GUI as you wanted, then minimize to tray and then shutdown? That sequence may have bypassed the save code (triggered on the main window close event). If that is the case, or if you have any other information can you open up a separate issue for it. If that was the order of events the fix is simple, but until I implement the fix the workaround would be to actually exit the program after you get it to look the way you want and then restart.

ChangeLog one word it is.

I may need to spend some quality time looking at the theme and style options in QT. I've never really paid all that much attention to them.

Tooltips I went back and forth on. I think you are right on this interface that they just clutter up the place. I'll probably just remove them, or see next paragraph....

Totally agree on the busy looking with all the controls. I originally added the third one below the other two and it was horrendous. It looked marginally better in the grid form. Do you think we should do a complete tab for preferences or a pushbutton that opens up a dialog? The only checkbox that really should be at the top of the first tab is the "All Devices Off" one. According to the connman documentation that can be used to quickly put your computer into "airplane mode" where all transmitters are powered down.

@ghost
Copy link
Author

ghost commented May 26, 2014

Retain settings seems to be working now, I grabbed the latest from git not sure that helped or what...

ChangeLog ok...

Using GTK2 themes, the on/off not working, I made a new issue for that.

Tooltips, thank goodness it's crazy with all the popups... hehe :)

Well the last network app Ive been using is Wicd and for the preferences in that, it pops open it's own window, I don't remember, but I thought the NetworkManger just has a lot of tabs. Either way you need a new preferences window or tab.

But since you have all these tabs already I guess another one won't hurt, hehe...

Status   Details    Wireless    Counters   Preferences   Help

@ghost
Copy link
Author

ghost commented May 26, 2014

Here ya go I hacked it around and made a preferences tab;

http://i.imgur.com/m8aJDBd.png
http://i.imgur.com/hP0D9Qw.png

By the way where is the Retain Settings being saved? Because I'll uninstall cmst and then make some changes to the code to play with it, then install it over and it's still check marked...

@andrew-bibb
Copy link
Owner

Preferences tab it is. It is nice having someone else to help provide input to these decisions.

The settings are in ${HOME}/.config/monkey business enterprises/cmst.conf It is a standard ini text file. When playing around with it I find it easiest to just remove the entire directory.

All the things I'm working on now you need to get from the git repo. I've not packaged any as a new release. I'm thinking a new release once the icons are sorted out and we're positive settings are functional. Speaking of icons, do you have a list of which ones you want to use?

@andrew-bibb
Copy link
Owner

Just uploaded to github 14.05.26-2 which includes the preferences tab and a new checkbox to toggle the display of tooltips on. Default is tooltips off, and I figured that if I completely removed them somebody else would want them in.

My guess as to why the settings were not being saved appears to be correct (did lots of rebooting to check). This version should fix that issue as well.

The system logging is still off as in 14.05.26-1.

@ghost
Copy link
Author

ghost commented May 26, 2014

You should change it to ~/.config/cmst :) No Monkey Bussiness LOL... :)

No the system settings were being saved before...

Getting back to icons, to be honest, wicd as an example and the NetworkManager will use the iconsets you choose. I think I mentioned it before, but in LXAppearance if I pick an iconset wicd does use it, so this does work properly on my box with icons. So I would have cmst set up so people can pick and choose their own iconset if they don't want to use the default you make cmst with.

On the side note of fonts, I noticed cmst will use the fonts I have on my system but they didn't look good, and I don't recall seeing many apps that change the look of the fonts, I know wicd doesn't.

I went back playing and changed cmst to Dejavu Sans bold and condensed and it looked really nice. I would personally hard code in the fonts, because I'm afraid some fonts people choose will not look right in cmst.

What do you mean system logging is off, I thought the logging is controlled by connman?

@andrew-bibb
Copy link
Owner

CMST is currently not writing anything to the systemlog to allow you to debug. As soon as you figure that out I'm going to reactivate it.

You don't like monkey business? Just kidding, I can and probably will change it. I've got about half a dozen analysis and design programs I've written for my company, and anything not engineering related I put under the money business directory and moniker to keep it separate on my computer.

Actually I found the system settings were not saved if you checked the box, minimized, then exited. They were only being saved if you actually exited with the window showing. Anyway now when you minimize I force a save of the current settings.

I though for icons we were going to hardwire in the AwOken set. Do you want to hold on that for now?

@ghost
Copy link
Author

ghost commented May 26, 2014

cmst was writing to the logs before?

MonkeyBusiness hehe...

Ahh ok on system settings...

Oh yes for icons of course you need to pick a set you want to code in, so AwOken by default do seem nice, but the end-user should also be able to load their own iconset and have it change too is what I meant...

@andrew-bibb
Copy link
Owner

We were (are) writing on major errors only, so hopefully you never saw one. I temporarily turned it off to help you debug.

Understand on the icons.

A-

@ghost
Copy link
Author

ghost commented May 26, 2014

Ok you replied back the logging was a bug from cmst...

Ok on the icons, can't wait for a new modern look, hehe... :)

Regarding the fonts I mentioned eariler hard coding them in, I forgot that wicd allows for font changes, but for some reason the same fonts I'm using Aller don't look as good in cmst, it looks like some of the top parts of letters is ever so slightly gettting cut off, you really have to look very closely to notice this.

@ghost
Copy link
Author

ghost commented Jun 12, 2014

Hey you slacking off on me? Five days and no commits... LOL :)

@andrew-bibb
Copy link
Owner

The four cords of firewood that got delivered starting last Friday have been occupying most of my attention lately. Still got about two left to move and stack. Around here even in summer we are dealing with winter!

Right now my local copy is in a bit of disarray. I'm currently working on phase 2 of the notifications. Phase 1 was actually getting the data out of the dbus signals. Phase 2 is parsing that data and showing it in balloon popups from the system tray icon. Phase 3 will be sending the same parsed data to the notify daemon. In preferences I'll have check boxes to allow the user to send to one or the other, or neither. The phase 2 popups are working, but I tripped on selecting the wired or wireless icon (which actually will only be able to be displayed in the phase 3 notify daemon). If not for that I was going to upload last night and have you check out the progress. Probably be a day or two before my local copy is in a state where I can sync back to github.

@ghost
Copy link
Author

ghost commented Jun 13, 2014

Ahh busy being a Lumberjack... hehe :)

Wooo notifications...

check boxes to allow the user to send to one or the other?

What is one or the other?

Can't wait, and keep warm! :)

@andrew-bibb
Copy link
Owner

Either a popup run by the system tray icon, or a popup run by the notify daemon, you won't be able to have both at the same time. The first is for people don't actually have a notify daemon running but might want to see popups, the second is for people who do have the daemon running and want to use that to show notifications. With neither checked no notifications will be shown.

@ghost
Copy link
Author

ghost commented Jun 14, 2014

Ahh ok...

@andrew-bibb
Copy link
Owner

Just uploaded with the first cut of popups working from the system tray. They need to be enabled from the preferences tab, by default they are disabled. One of the limitations of this method is that icons are limited to the one's that are built into the class.

At this point just mainly interested if you think I'm on the right track.

Stopped raining a half hour ago so back to the firewood.

@ghost
Copy link
Author

ghost commented Jun 15, 2014

Ahhh getting there, now go jump some wood! LOL

bugs ---> #13

@andrew-bibb
Copy link
Owner

Nice looking dialog in your last post over in #13. So that is what you can do with theaming? I never knew.

@andrew-bibb
Copy link
Owner

Ahhh - did an upgrade this morning and my wireless card is now non-functional. First thought it was hacking on CMST, then discovered connmanctl would not work, then went back to a 4 week old version and that would not work. Finally did verify the card is working if I boot from an older linux version on a separate partition, so looked in the journal and it is absolutely flooded with failed probe requests from the kernel.

I'm so frustrated right now. Probably going to pull the card, so I may be relying on your input for wireless connections and any issues with switching connections. Whole day down the drain.

@ghost
Copy link
Author

ghost commented Jun 24, 2014

Sorry to hear on your WiFI, no worries my cards are working here! :)

Yes xfce4-notifyd allows you to theme the notifications... :)

@andrew-bibb
Copy link
Owner

Making progress on reconstructing the slots. Finally figured out the function signature so I get the data, now I just have to figure out how to demarshal it. Have made good progress on the individual technology and service object slots. Figured out how to ID them and both were implemented this evening. Anyway I'll keep plugging.

DIdn't pull the card, figured I blow another couple of hours trying to get it working. Very frustrating, it is there and I can see it, but according to "ip link" it won't pickup a carrier. I'm beginning to think maybe not the kernel upgrade and maybe the card is just fried.

edit: Man was I tired. No reason to pull the card, I've already ascertained it still works with an older kernel. No wonder I was not getting anywhere with it last night.

@ghost
Copy link
Author

ghost commented Jun 25, 2014

:)

@andrew-bibb
Copy link
Owner

Finally managed to demarshal the dbus message from SevicesChanged. Whew, that was fun. Pretty much have everything back together again, and was hoping to upload this evening but I've got one minor issue (name in the service box blips off at random times). Not entirely sure if it if from trying to activate the half dead wireless card or not, but I'm too beat to look at it any more tonight.

My oldest daughter is back in country after 2 years, starting tomorrow, so I'm probably not going to be hanging out here much for the next week.

@ghost
Copy link
Author

ghost commented Jun 26, 2014

Go have fun, we'll cry some more later! LOL...

@andrew-bibb
Copy link
Owner

Can still plug away on this a little bit. Did another system upgrade this morning which updated the kernel again, and my wifi started working. So of course I toggled power on and off like a mad man to test what I've been working on and hosed my wifi connection again. No matter what I try it won't connect, either with CMST or with connmanctl.

@progandy
Copy link

When I toggle power for my wifi card (either hw switch, rfkill or connman), it sometimes breaks.
A symptom is this:

$ cat /sys/class/net/wlp2s0/carrier          :(
cat: /sys/class/net/wlp2s0/carrier: Invalid argument

After some crazy block/unblock switching with the hardware switch and/or rfkill the interface will fix itself in most cases.

@andrew-bibb
Copy link
Owner

Something has changed, Mr Green in thread 20 is getting a similar,but yet not the same problem. On his system neither connman nor any other network utility would work until he toggled rfkill. I've tried CMST and the built in connmanctl interface and no luck. The service shows up (sometimes), but can't connect to it and when you try it disappears.

One thing I forgot, in the middle of my upgrade yesterday (the download package stage) we had a 2 hour power failure. When the power came back I finished the upgrade, and then got right onto the wifi service. Of course then I hosed it by playing, but it definetely was working at one point. I want to try unplugging the router overnight to see what happens. No amount of rfkill on and off or anything else I try will work. On my guest partition with an older kernel the newest version of CMST works just fine. I can build it over there and then use it to toggle power on and off all day long with no problem.

I've been looking around the internet and at the Arch forums and maybe it is just me, but there seems to be a lot of wifi problems all of a sudden with recent kernel upgrades. Maybe it is the same level and I never paid attention, but they are out there now.

Moulei: Mr Green, Progandy and I are all using Arch with means are packages are pretty current. I'm on Linux 3.15.2 right now. Your call of course, but if your system is working I'd try to avoid doing a kernel upgrade if you can arrange that.

@ghost
Copy link
Author

ghost commented Jul 1, 2014

Hi Andrew,

Not sure I follow, you thinking 3.15.2 has WiFi issues?

What exactly are you guys doing and I can test it here in Slack?

I'm on 3.15.1, but I wanted to compile 3.15.2, let me know...

@ghost
Copy link
Author

ghost commented Jul 1, 2014

I was having issues with my wifi after recent kernel updates but had found that in my case it was rfkill that was required to unblock it. Check systemctl status to make sure you do not have conflicts with rfkill or services related that are either not running or giving errors. Do not always rely on journalctl ...

@andrew-bibb
Copy link
Owner

Thanks for the pointers on systemctl in lieu of journalctl. Up to now I've only been looking through the journal.

Moulei: I noticed the problem first after a kernel upgrade, but I don't actually know if that caused it or something else did. Was just giving a warning on the chance it was. The first upgrade that could possibly have caused (assuming it is kernel related) it was to 3.15.1 that hit the Arch repos on 6/17.

@ghost
Copy link
Author

ghost commented Jul 2, 2014

Ok on the kernel...

When clicking wifi on and off crashes too and the wifi and p2p buttons grey out...

Also tray icon many times still shows disconnected when connected.

@andrew-bibb
Copy link
Owner

You got me, what exactly are p2p buttons?

How many on/off clicks on wifi before the crash? I'm wondering if you picked up the same thing I've got on my main machine. I just, within the last half hour, built the most recent version of CMST here on github on my guest/testing partition (linux 3.13.8 and connman 1.22) and there I can click wifi on and off repeatedly with no problem. I don't even think of trying that on my main partition, it is getting frustrating.

@ghost
Copy link
Author

ghost commented Jul 6, 2014

#24

@andrew-bibb
Copy link
Owner

WHooo WHoo back in business! Just completed my weekly system upgrade (new Linux kernel 3.15.5) and wireless works again.

@ghost
Copy link
Author

ghost commented Jul 13, 2014

Last couple of upgrades wireless has been flaky, opened up cmst and moved
wireless up the list, reconnected and was good to go.... YAY!

On 13 July 2014 14:35, andrew-bibb notifications@github.com wrote:

WHooo WHoo back in business! Just completed my weekly system upgrade (new
Linux kernel 3.15.5) and wireless works again.


Reply to this email directly or view it on GitHub
#4 (comment).

@ghost
Copy link
Author

ghost commented Jul 14, 2014

We're still replying to this thread? LOL...

@andrew-bibb
Copy link
Owner

You're right of course, we've sort of let this thread become a sort of bulletin board.

I think it is useful that we have a place like that, putting announcements in the front page readme is just me talking - how boring is that. For now I'll close this thread and think of what we can do. Maybe just a generic discussion thread for issues related to Connman and networking. Personally I found the feedback on the WiFi problems to be most helpful, but really had nothing to do with CMST.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants