View previous topic :: View next topic |
Author |
Message |
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Wed Dec 17, 2014 11:51 am Post subject: |
|
|
UberLord wrote: | Status messages are displayed, you need to ensure it's been emerged with notify support and you have a notification display daemon running. | Seems impossible to me to find a fulfilment for virtual/notification-daemon without dbus.
But as a workaround I can easily have the wpa-gui flashing its notifications (without such notify stuff and dbus): http://i.imgur.com/Ejv0ZWy.png |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Wed Dec 17, 2014 2:36 pm Post subject: |
|
|
UberLord wrote: | dhcpcd-qt is written in Qt and used QSystemTrayIcon which can notify by itself or optionally link to the KDE notification framework
So use dhcpcd-qt and you're golden. | Did you mean to use dhcpcd-qt without libnotify? I've tried that, but not getting any notifications like I am getting from wpa_gui. Only the icon changing.
Tried with openbox + lxpanel. |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Wed Dec 17, 2014 3:24 pm Post subject: |
|
|
UberLord wrote: | Yes.
For the life of me I can't remember how to take screen grabs to show you how mine looks though. | For screenshots I am using Quote: | $ sleep 10 && import -window root /tmp/screenshot$(date +%F,%T).png |
UberLord wrote: | Like the wpa_gui bubble though, just different text. | That's what I expected, but I don't get them. wpa_gui does, dhcpcd-qt doesn't.
Is there any other dependencies I might be missing? |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Mon Mar 30, 2015 8:19 am Post subject: |
|
|
Coming back to this question ...
UberLord wrote: | dhcpcd-qt is written in Qt and used QSystemTrayIcon which can notify by itself or optionally link to the KDE notification framework
So use dhcpcd-qt and you're golden. |
It's still not working with dhcpcd-qt. How could I debug the QSystemTrayIcon stuff? |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Mon Mar 30, 2015 12:12 pm Post subject: |
|
|
It is not too urgent for me, no reason to spoil your holidays. |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3509
|
Posted: Wed Aug 12, 2015 2:31 pm Post subject: |
|
|
Please help my with my face-palm.
I'm attempting to bring up a new laptop using dhcpcd to control the networking. So far it seems OK, except it's sitting here standalone, which really means that it properly detected that ethernet isn't plugged in. There is an open wireless network available, but I would expect to need to do something to connect to that.
I've built the gtk (not gtk3) version of dhcpcd-ui, and when I try to start it, nothing happens. I get:
Code: | ** Message: Connecting ...
** Message: Status changed to opened
** Message: Connected to dhcpcd-6.9.0
** Message: Status changed to disconnected
** Message: eth0: Link is down
** Message: wlan0: Not associated |
The prompt does not return - it's still executing. I would expect all of this behavior, including the messages, but I also would have hoped that either some GUI would pop up or something would appear in the icewm systray.
I'm sure this is something really simple I've missed - below the level of the wiki. Can anyone provide a clue-stick? BTW, wpa_supplicant is installed, wheel and I are enabled, etc.
: _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Wed Aug 12, 2015 2:35 pm Post subject: |
|
|
I don't use IceWM, but I would expect an icon to appear in the system tray.
Generally you don't see an icon if dhcpcd-gtk cannot find an icon to load ..... I don't know why this should be the case for IceWM.
I don't actually use the ebuild myself .... maybe I should update my portage and try the ebuild out.
EDIT: But if there was no icon to be found, dhcpcd-ui should produce a message on the console as well. _________________ Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3509
|
Posted: Wed Aug 12, 2015 2:54 pm Post subject: |
|
|
UberLord wrote: | I don't use IceWM, but I would expect an icon to appear in the system tray.
Generally you don't see an icon if dhcpcd-gtk cannot find an icon to load ..... I don't know why this should be the case for IceWM.
I don't actually use the ebuild myself .... maybe I should update my portage and try the ebuild out.
EDIT: But if there was no icon to be found, dhcpcd-ui should produce a message on the console as well. |
What icon is it looking for? I would have expected a console message too, though perhaps there was an ignored message from the ebuild.
I went with gtk for simplicity, but it would be easy enough to use qt4. Would that have an easier time, or is it still looking for some icon? How do you expect icons to have been supplied? _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3509
|
Posted: Wed Aug 12, 2015 3:52 pm Post subject: |
|
|
I've gotten further. I'm not at home, so this thing isn't plugged in for eth0. I hadn't properly configured wpa_supplicant, which is why dhcpcd-ui failed to show. Once I fixed that, it did.
However at this point I can't bring up the wireless using dhcpcd-ui - it doesn't show an available interfaces. However I can start wpa_gui and bring wireless up wih that. I can run, though it may not be the way I eventually want to be doing this. I hope your being busy is fun, or at least fruitful. _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
mir3x Guru
Joined: 02 Jun 2012 Posts: 455
|
Posted: Fri Oct 20, 2017 8:51 am Post subject: |
|
|
I quickly ported dhcpcd to qt5 as exercise.
But how to use it ?
I tried normal gtk version from portage.
It says -
Code: | ** Message: Connecting ...
** Message: Status changed to down
** (dhcpcd-gtk:19015): CRITICAL **: dhcpcd_open: No such file or directory
|
Similar I get in my qt version:
Code: | Connecting ...
Status changed to down
dhcpcd_open: Invalid argument
dhcpcd_open: No such file or directory
|
Another question, that kde notification should be replaced by qtdbus ?
[Moderator edit: added [code] tags to preserve output layout. -Hu] _________________ Sent from Windows |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Fri Oct 20, 2017 9:19 am Post subject: |
|
|
mir3x wrote: | I quickly ported dhcpcd to qt5 as exercise. | Will you please provide us your qt5 coding?
mir3x wrote: | But how to use it ? | See the screenshots on https://wiki.gentoo.org/wiki/Dhcpcd-ui#Usage?
Select ssid from the list shown here and enter PSK only if needed.
mir3x wrote: | I tried normal gtk version from portage.
It says -
** Message: Connecting ...
** Message: Status changed to down
** (dhcpcd-gtk:19015): CRITICAL **: dhcpcd_open: No such file or directory
Similar I get in my qt version:
Connecting ...
Status changed to down
dhcpcd_open: Invalid argument
dhcpcd_open: No such file or directory
Another question, that kde notification should be replaced by qtdbus ? |
Please avoid dbus. In qt4 (I am still using that version) it works without dbus or other *kit cruft. |
|
Back to top |
|
|
mir3x Guru
Joined: 02 Jun 2012 Posts: 455
|
Posted: Fri Oct 20, 2017 9:45 am Post subject: |
|
|
https://github.com/mir3x/dhcpcd-ui
I updated only dhcpcd-qt.pro
and some *.cpp files.
Anyway should work 4 u.
For me its the same error, maybe I need relogin.
EDIT: still doesn;t work with gtk or qt.
I used 0.7.5-r1 version. _________________ Sent from Windows |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
mir3x Guru
Joined: 02 Jun 2012 Posts: 455
|
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Fri Oct 20, 2017 11:01 am Post subject: |
|
|
Ah, that's better
Those changes look straight forward. I just need to get a QT4 and QT5 envionments so I can verify it works on both, but I don't see any problems.
It's not a dead project, but it's a very slow project as it works well enough.
Ideally I should find time to work on dhcpcd-curses and start dhcpcd-efl, but I doubt that will happen soon.
If anyone can help out with that, it would be awesome _________________ Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
|