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

network panel: INVALID #6

Open
samuk190 opened this issue Oct 9, 2020 · 9 comments
Open

network panel: INVALID #6

samuk190 opened this issue Oct 9, 2020 · 9 comments

Comments

@samuk190
Copy link

samuk190 commented Oct 9, 2020

network panel shows invalid. Xubuntu 20.04

@xtonousou
Copy link
Owner

Could you provide us some screenshots?

network-panel.sh depends on ship you can download it, install it by appending it in your PATH environmental variable.

If you have issues with the dependency, please let me know.

@samuk190
Copy link
Author

samuk190 commented Oct 9, 2020

Could you provide us some screenshots?

network-panel.sh depends on ship you can download it, install it by appending it in your PATH environmental variable.

If you have issues with the dependency, please let me know.

hey thanks for answering me, well that is a little complicated, why don't get the data from where xfce network plugin ( which comes by default in xfce4) atleast don't need install anything extra and have the same stats as the ship dependency.
Anyways I'll try soon.
Also do you know where I can get stats from dualshock3/4 battery? I want create a script to show dualshock battery and merge here

@xtonousou
Copy link
Owner

First of all, ship is a bash script without any extra dependencies and can run on almost every linux distro, it's nice to have it in xfce4-genmon-scripts root directory.

As for the gamepad panel, is nice as an idea. You can either grab some stats from usb or bluetooth. bluez utilities are handy here. Also check this link for more information.

Unfortunately, I don't own any gamepad (yet, maybe) so I cannot provide any code for this. You could try implement this as a feature, fork the repo and then submit a pull request.

@samuk190
Copy link
Author

First of all, ship is a bash script without any extra dependencies and can run on almost every linux distro, it's nice to have it in xfce4-genmon-scripts root directory.

As for the gamepad panel, is nice as an idea. You can either grab some stats from usb or bluetooth. bluez utilities are handy here. Also check this link for more information.

Unfortunately, I don't own any gamepad (yet, maybe) so I cannot provide any code for this. You could try implement this as a feature, fork the repo and then submit a pull request.

with help of some other devs I discovered how get battery percentage:
upower -e to discover devices.
upower -i /org/freedesktop/UPower/devices/gaming_input_sony_controller_battery_00o06of5obbo49o42
This works very well.
The approach with upower I guess it can be more compatible with future linux?

But Also this is much easier as results the battery percentage:
cat /sys/class/power_supply/sony_controller_battery_<device_id>/capacity

cat /sys/class/power_supply (lists all controllers)

just need do something like a for to list all connected controllers and show their respective battery. Can you help doing the interface and the loop to get all connected controllers? I will be the tester

Aboutxfce4-genmon-scripts root directory. where is that directory? I will paste the bash script into it and see if works

@xtonousou
Copy link
Owner

xtonousou commented Oct 11, 2020

For the dualshock support, please refer here
It is ready to be tested as you asked @samuk190

@xtonousou
Copy link
Owner

@samuk190

About xfce4-genmon-scripts root directory. where is that directory? I will paste the bash script into it and see if works

xfce4-genmon-script root directory is the directory created after the git clone

@samuk190
Copy link
Author

samuk190 commented Oct 11, 2020

oh my bad. so I did that, I put ship folder into it, and still network invalid, I tried change permsisions, none. Also
spotify and spotify-panel does not work and freeze my entire UI so now I need restart, task manager freezing after that. (using spotify latest from snap) and gpu works showing driver version but temp and other stuff doesnt show correctly, I edited the .sh script to show the temperature atleast, see the pic:
https://i.imgur.com/HnOt913.png
my guess is that nvidia smi updated and the command to show temperature has changed the display of info, because in the script it is getting info from nvidia smi and cutting the text to show the info
if you need I can make separate issues about them,

@xtonousou
Copy link
Owner

I removed the submodule ship as it adds more complexity to the code and it's a lot harder to maintain the xfce plugins. Please check again for issues on network-panel.

Thank you.

@jakariyaa
Copy link

I removed the submodule ship as it adds more complexity to the code and it's a lot harder to maintain the xfce plugins. Please check again for issues on network-panel.

It should work now without ship right?

It is not working on Linux Mint 21.2 and showing Invalid

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

No branches or pull requests

3 participants