Git Product home page Git Product logo

nutty's People

Contributors

albanobattistella avatar babluboy avatar comradekingu avatar elxreno avatar fitojb avatar hakimzenata avatar josprachi avatar kinnard avatar kusanaginoturugi avatar micahilbery avatar milotype avatar nathanbnm avatar nicobren avatar nurlan-aliyev avatar osoitz avatar rhacs avatar ryonakano avatar salamj avatar santossi avatar sc0o0p avatar sezginibis avatar softinterlingua avatar sveinki avatar tim77 avatar waldist avatar weblate avatar welaq avatar whodizhod avatar yakushabb avatar yarons avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nutty's Issues

Appstream tests fail

AppCenter ran a bunch of tests on your appstream file. These are the results.

Warnings:

Most of these are fixed during the building process, but you should ensure they
are fixed in your code for future releases.

  • "id" field should be "com.github.babluboy.nutty"

For more information, see:

Build Information

Affects Architecture: amd64
Affects Distribution: juno
Built with the following references:

  • refs/tags/1.1.0

Won't detect the right network interface

Hello good sir/mam. I'm getting these error while using your fine program and i am now raising this issue in hopes for a fix or at least a workaround. Thank you sir/mam.

[INFO 20:12:41.272341] Application.vala:153: Nutty version: 0.9
[INFO 20:12:41.272435] Application.vala:155: Kernel version: 4.13.11-1-ARCH
[WARNING 20:12:41.389741] [GLib] Invalid file descriptor.
[WARNING 20:12:41.398711] nutty.vala:1248: Error encountered in execution of sync command [/sbin/ifconfig -a enp0s31f]: enp0s31f: error fetching interface information: Device not found
[WARNING 20:12:42.025237] nutty.vala:230: Failed to load icons/theme: Failed to open file '/usr/share/icons/hicolor/16x16/status/nutty-device-available.svg': No such file or directory
[WARNING 20:12:43.914925] nutty.vala:1248: Error encountered in execution of sync command [/sbin/ifconfig -a enp0s31f]: enp0s31f: error fetching interface information: Device not found

flatpak address is not working

Hi, I'd like to install this for fedora, but the flatpak address at the website is not working, and I can't find nutty listed on flathub. I tried the open suse 64bit rpm but it requires libnotify-tools, a package not available on fedora (which might be libnotify or libnotify-devel).
If there is not flatpak/snap package then I can always use the source code I guess. Any ideas on dependency packages for fedora?

Many thanks

auto select device requested

Please make an option to autoselect the current device like gnome system monitor does.
The code to do this should be available.
If one wants to manually select, sure.. let them.

Wrong list, when sorting by Host IP

When sorting the devices page by Host IPs it is sorted in the following order:

  1. 192.168.1.1
  2. 192.168.1.10
  3. 192.168.1.100
  4. 192.168.1.11
  5. 192.168.1.2

but it should be sorted in a more natural way

  1. 192.168.1.1
  2. 192.168.1.2
  3. 192.168.1.10
  4. 192.168.1.11
  5. 192.168.1.100

Blueprint

Blueprint for Nutty

You need a real time display. I want to see the speed (up and down) and the total of usage (up and down optional). I had asked you to put it in the wingpanel, but you said that it would limit the sw to one operating system. However, glipper and caffeine are able to show icons in the wingpanel and other os’s too. But maybe only an icon is available for the space provided.

Solution:
• Make a frameless window app that is always on top and is a similar size to the wingpanel in height and expands to show the amount of data preferred for display. This app communicates with Nutty.
• One can move the frameless window anywhere and it will be persistent
• One can double click on the frameless window to bring up Nutty.
• Right click on the frameless window will give preference and close options.
• Preference Dialog will have check boxes will have display options for:
• up speed
• down speed
• total (up down)
• up mb
• down mb
• total updown mb
• total day
• total week
• total month
• speed untis (kbs/Kbs/mbs)
• usage will switch to gigabites automatically when over 10 gb
▪ One can set the color and font size transparency of font
▪ Window expands to accommodate information
▪ One can set the transparency of frameless window.
▪ Phase 1 is single row, phase 2 is multi row
• Nutty will have a menu item to launch this and to add it to autostart (synapse has this option).
• Auto select for the data device so it always works (find the code for gnome system monitor)

In summary, this will be similar to a meter app in android. The frameless window can be placed over the wingpanel of any OS and it will work and is fully customizable. It is best to view the different net usage meter apps available on android and also the stock app. The UI and information has already been worked out by many people in these apps. Just copy it.

After Forget Device command the device comes back again

Network devices listing.

I have a device which used to have a static IP address, but it now it uses DHCP instead. Now that device gets listed twice, once with the old static IP address (which no device now has) and once with the dynamic IP address (which is correct). Both entries show as online in the Status column.

So I used the Forget Device command, but when I refresh, it comes back again!

Is there a config file somewhere that I can edit to remove the old entry?

Thanks,

David.

xgettext not installed and noob question.

i am getting an error telling me xgettext is not installed and i am a bit confused as to what "meson build --prefix=/usr" means. mostly the "--prefix=/usr" Is this a line i must edit to my own computer or is this simply telling the code/computer to install into the "usr" folder.

this is the error im getting

po/meson.build:1:5: ERROR: Can not do gettext because xgettext is not installed.

thanks in advance.

Animations too slow

When switching the views in the application, the animation is just too slow. This is inconsistent with the behaviour of other elementary apps where switching between views is pretty much instant.

Bad looking icon.

The icon is bad looking and does not fit elementary's style. Try to make a new one. i can make you one too.

Title bar is too big

The top bar height looks so big. Seems it has a bigger font size and doesn't fit in current elementary UI.

Screenshot from 2019-04-22 03 41 27

Screen Resolution

I'm using a 1366*768 screen. And when I open the Nutty for the first time I can't agree the disclaimer beacuse the button is at the bottom side of the screen so I cant click. And no, the I resized the windows for the minimum but it wasn't enogh.

"My Info": wrong data

I have an (inactive) Intel-ethernet-interface and an active Ralink-wireless-interface

$ lspci | grep Network
00:19.0 Ethernet controller: Intel Corporation 82579V Gigabit Network Connection (rev 04)
03:00.0 Network controller: Ralink corp. RT2790 Wireless 802.11n 1T/2R PCIe
  • When I select the "My Info"-tab and select the "Wired (eno1)" it shows the correct data, except that also the "MAC address" is "NOT AVAILABLE".
  • When I select the "Wireless (wlp3s0)" the "Interface Hardware" still shows "Intel Corporation 82579V Gigabit Network Connection (rev 04)", "MAC Address": "NOT AVAILABLE" and "IP Address": "Not Available", but the other data seems to be correct.

Nutty not installed

No nutty installed, no application created in menu, unable to locate executable to run from command line.

rscattone@XXX-XXX-XXX ~ $ which vnstat
/usr/bin/vnstat
rscattone@XXX-XXX-XXX ~ $ which nethogs
/usr/sbin/nethogs
rscattone@XXX-XXX-XXX ~ $ which nutty
rscattone@XXX-XXX-XXX ~ $ locate nutty
rscattone@XXX-XXX-XXX ~ $ locate Nutty

rscattone@XXX-XXX-XXX ~ $ cat /etc/linuxmint/info
RELEASE=18.3
CODENAME=sylvia
EDITION="MATE 64-bit"
DESCRIPTION="Linux Mint 18.3 Sylvia"
DESKTOP=MATE
TOOLKIT=GTK
NEW_FEATURES_URL=http://www.linuxmint.com/rel_sylvia_mate_whatsnew.php
RELEASE_NOTES_URL=http://www.linuxmint.com/rel_sylvia_mate.php
USER_GUIDE_URL=help:linuxmint
GRUB_TITLE=Linux Mint 18.3 MATE 64-bit

Docker Image

Do you think it is possible to create a docker image for development also docker image for running the application.

I used Linux Mint

Flatpak for nutty

Hi, I really appreciate your work , is a good application
but i don't use elementary OS
could you make a flatpak for nutty?
in this way, users can install the application in any linux distribution

please.
thank you.

Show the latest IP assigned to a device - historical IPs can be a context menu item

Devices are listed as Last Seen = Today and then again as Last Seen = n days ago.

Also, I have edited the Device Name and Device Manufacturer fields for some devices, but when they are listed twice, the Last Seen = Today entry shows Not Available instead of my edited text. The duplicate item with Last Seen = n days ago shows the edited fields correctly.

Improperly truncating ethernet port name

KDEneon USer edition, updated. Just installed latest version of Nutty. I get no data from my ethernet port connection because it appears Nutty is only allowing 8 characters in the device name whereas my ethernet port has a 9 character name:

[WARNING 18:09:37.040949] nutty.vala:1248: Error encountered in execution of sync command [/sbin/ifconfig -a enp0s31f]: enp0s31f: error fetching interface information: Device not found

stuart@office:~$ ifconfig
[snip]
enp0s31f6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
[snip]

Fedora RPM package

Not issue, just info:

📦 Nutty RPM package in testing repos. After few days it will be available in main Fedora repos.

How to install:

sudo dnf install nutty

Run:

com.github.babluboy.nutty

Thank you. 🙏

Some hosts not showing in Device tab

image

In this example 192.168.10.10 and 192.168.10.57 show in the xml output but not in the device list (see attached). For these two IPs there is no vendor shown against the MAC in the xml. If vendor name is not available it should not prevent the device from showing in the Devices tab.

Also the host where nutty is running (cassie) shows MAC and Manufacturer unavailable in the Devices tab. The corresponding xml entry says <status state="up" reason="localhost-response" reason_ttl="0"/> but no MAC info. I've noticed in the past that nmap doesn't print the MAC of the host it is running on, I guess this is the reason. (In my scripts I've had to resort to picking apart the output from ifconfig -a or ip add show to get the localhost's MAC).

nutty_nmap_device_scan_results.xml.gz

Screenshots should show just your app.

I've unfortunately had to reject your recent submission to publish Nutty in AppCenter because of the screenshot in use.

Screenshots should show just your application, not your whole desktop.

Nutty does not work

Seems to have worked my first day, but not other days.
Please test over several days on usb tether by android phone.

No devices are listed

On my network are various devices which are also discoverable with "nmap -sP 192.168.178.0/24" or a simple "arp" but nutty says "No data found for wlp3s0".
I'm running the latest version (0.9) form elementaryOS Appcenter.

Make uninstall

Thanks for your nice work

Please consider adding make uninstall

thanks

Ubunti package brocken dependency

https://babluboy.github.io/nutty/ ubuntu package has a broken dependency

sudo apt-get install com.github.babluboy.nutty
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
com.github.babluboy.nutty : Depends: libgranite5 (>= 0.2.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

installing libgranite-common does not seem to help fix this

Debian Install Issue

Thank you for what looks like a wonderful utility. I would very much like to use it. I've exhausted my technical ability to so so, though. I've tried the apt install route, with out success, I've tried a snap package without success, and I've tried flatpak until I learned that does not work. Anyway, what I'm trying to say is that I've tried hard and with diligence before writing you.

I've decided to try from scratch. When I try to add your repository using synaptics package manager, this is what I get:
The repository 'http://ppa.launchpad.net/bablu-boy/nutty/ubuntu focal Release' does not have a Release file.

After a lot of googling, the suggestion was to write the owner and ask for help if you get this, so that is what I'm doing :-)

I'm sure you're very busy, so I hope this is easy to solve, and that it would help others too. I copy below details about my system. I'll be happy to provide any other info that would help.

Regards,
Schalk


Linux Debian 5.5.0-050500-generic #202001262030 SMP Mon Jan 27 01:33:36 UTC 2020 x86_64 GNU/Linux


Here is what I get on the command line if I try to add the repository:

 sudo add-apt-repository ppa:bablu-boy/nutty
Stable PPA for Nutty - A Network Utility
More info: https://launchpad.net/~bablu-boy/+archive/ubuntu/nutty
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keybox '/tmp/tmpnip_g_n_/pubring.gpg' created
gpg: /tmp/tmpnip_g_n_/trustdb.gpg: trustdb created
gpg: key C3234B3819D52D77: public key "Launchpad PPA for Siddhartha Das" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no valid OpenPGP data found.
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/usr/lib/python3.7/threading.py", line 870, in run
self._target(*self._args, **self.kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 688, in addkey

func
func(**kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 386, in add_key
return apsk.add_ppa_signing_key()
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 273, in add_ppa_signing_key
cleanup(tmp_keyring_dir)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 234, in cleanup
shutil.rmtree(tmp_keyring_dir)
File "/usr/lib/python3.7/shutil.py", line 494, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/lib/python3.7/shutil.py", line 452, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/usr/lib/python3.7/shutil.py", line 450, in _rmtree_safe_fd
os.unlink(entry.name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'S.gpg-agent.extra'

Change to follow RDNN

Update the artifacts and executable to com.github.babluboy.nutty to follow RDNN standards.

Theme the header

IMHO, theming the header to make it green, same as the icon would give the app a feel of uniformity

Support for accessible font sizes

If you go into Elementary settings to enable larger text (Universal Access -> Display -> Text Size -> Larger), which people with limited vision or higher resolution monitors need, Nutty looks less than ideal:

image

As you can see, the placeholder for the searchbox is truncated.

Increased font sizes are a documented feature of ElementaryOS and used by quite a few people who have limited vision, or for other reasons, need larger font rendering. It would be nice if Nutty accommodated that more fluidly.

Does not build

/home/bksubhuti/nutty/src/nutty.vala:488.42-494.19: error: Too many arguments for specified format
CMakeFiles/nutty.dir/build.make:72: recipe for target 'nutty_valac.stamp' failed
make[2]: *** [nutty_valac.stamp] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/nutty.dir/all' failed
make[1]: *** [CMakeFiles/nutty.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Edit Option on Device Listing

Add features on the Device listing for:
1- Remove a listed device
2- Update details about a device like Manufacture Name, Device Name, etc

Refined usage statistic

Not all ISPs start billing on the first of month. Would be helpful to see a custom date range to monitor network usage for that period.

> > It should work in the background, so you can close down the nutty application. Basically a scheduled job executes in the background after a fixed interval and searches for any new device which has not been discovered and registered in the nutty database of devices.

It should work in the background, so you can close down the nutty application. Basically a scheduled job executes in the background after a fixed interval and searches for any new device which has not been discovered and registered in the nutty database of devices.
Another way to test this is to forget a device in nutty and then see if you get a notification when that device is spotted on the network on the scheduled background job.
There were some changes in Juno on notifications and the way they are handled, so I was wondering if it is working on other distros.

I "forgot" a device and closed the application window. I've not had any notifications so far.

I'm on Pop!_OS 19.04 (based on Ubuntu 19.04) which uses GNOME 3.32.

Thanks - I will check if the notification works on elementary. Will raise a different issue to track this

Originally posted by @babluboy in #46 (comment)

Only IPv4 adress is shown

In the "My Info" tab only the IPv4 address is shown while IPv6 is also available for this computer.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.